OpenCLLink`
OpenCLLink`

OpenCLInformation

OpenCLInformation[]

gives all information about OpenCL platforms and devices on the system.

OpenCLInformation[platform]

gives information on OpenCL platform and about its devices.

OpenCLInformation[platform,prop]

gives information on OpenCL platform property.

OpenCLInformation[platform,device]

gives information on OpenCL device with specified platform.

OpenCLInformation[platform,device,prop]

gives information on OpenCL device property.

Details

  • The OpenCLLink application must be loaded using Needs["OpenCLLink`"].
  • See "OpenCLLink Setup" if OpenCLInformation returns with an error.

Examples

Basic Examples  (1)

First, load the OpenCLLink application:

This returns information on the first OpenCL platform:

This returns the extensions of the first OpenCL platform:

This returns information on the first OpenCL platform and device:

This returns the type of the first OpenCL platform and device: