Description Usage Arguments Value Author(s) Examples
Some OpenCL obejcts have information tokens associated with them. For
example the device obejct has a name, vendor, list of extensions etc.
oclInfo
returns a list of such properties for the given object.
1 2 3 4 5 6 7 |
item |
object to retrieve information properties from |
List of properties. The properties vary by object type. Some common
properties are "name"
, "vendor"
, "version"
,
"profile"
and "exts"
.
Simon Urbanek
1 2 3 4 5 6 | p <- oclPlatforms()
if (length(p)) {
print(oclInfo(p[[1]]))
d <- oclDevices(p[[1]])
if (length(d)) print(oclInfo(d))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.