Interface CyCLPlatform


public interface CyCLPlatform
Interface to the OpenCL platforms available on this computer.
  • Method Summary

    Modifier and Type
    Method
    Description
    long[]
    getDevices(int type)
    Return the devices that are part of this plaform by type
    Return the name of this platform
    Return information about the platform as a String
    getPlatformInfoStringUTF8(int param_name)
    Return information about the platform as a UTF8 encoded String
  • Method Details

    • getName

      String getName()
      Return the name of this platform
      Returns:
      platform name
    • getDevices

      long[] getDevices(int type)
      Return the devices that are part of this plaform by type
      Parameters:
      type - the device type to filter the list by
      Returns:
      an array of devices (as internal memory pointers)
    • getPlatformInfoStringASCII

      String getPlatformInfoStringASCII(int param_name)
      Return information about the platform as a String
      Parameters:
      param_name - the parameter to retrieve
      Returns:
      the retrieved value
    • getPlatformInfoStringUTF8

      String getPlatformInfoStringUTF8(int param_name)
      Return information about the platform as a UTF8 encoded String
      Parameters:
      param_name - the parameter to retrieve
      Returns:
      the retrieved value