oclDevices | R Documentation |
oclDevices
retrieves a list of OpenCL devices for the given platform.
oclDevices(platform = oclPlatforms()[[1]],
type = c("all", "cpu", "gpu", "accelerator", "default"))
platform |
OpenCL platform (see |
type |
Desired device type, character vector of length one. Valid
values are |
List of devices. May be empty.
Simon Urbanek
oclPlatforms
p <- oclPlatforms()
if (length(p))
print(oclDevices(p[[1]], "all"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.