Skip to Content

oclInfo {OpenCL}

Retrieve information about an OpenCL object.
Package: 
OpenCL
Version: 
0.1-3

Description

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.

Usage

oclInfo(item)
 
## S3 method for class 'clDeviceID':
oclInfo((item))

## S3 method for class 'clPlatformID':
oclInfo((item))

## S3 method for class 'list':
oclInfo((item))

Arguments

item
object to retrieve information properties from

Values

List of properties. The properties vary by object type. Some common properties are "name", "vendor", "version", "profile" and "exts".

Examples

p <- oclPlatforms()
if (length(p)) {
  print(oclInfo(p[[1]]))
  d <- oclDevices(p[[1]])
  if (length(d)) print(oclInfo(d))
}

Author(s)

Simon Urbanek

Documentation reproduced from package OpenCL, version 0.1-3. License: BSD