oclPlatforms: Retrieve available OpenCL platforms.

View source: R/ocl.R

oclPlatformsR Documentation

Retrieve available OpenCL platforms.

Description

oclPlatforms retrieves all available OpenCL platforms.

Usage

oclPlatforms()

Value

List of available OpenCL platforms. If using OpenCL with Installable Client Driver (ICD) support, the result can be an empty list if no vendor ICD can be found. A warning is also issued in that case.

Author(s)

Simon Urbanek

See Also

oclDevices

Examples

print(oclPlatforms())

s-u/OpenCL documentation built on March 15, 2024, 6:44 a.m.