org.jocl.utils
Class PlatformInfos

java.lang.Object
  extended by org.jocl.utils.PlatformInfos

public class PlatformInfos
extends java.lang.Object

Utility methods for obtaining information about cl_platform_id objects


Method Summary
static java.lang.String getExtensions(org.jocl.cl_platform_id platform)
          A space-separated list of extension names
static java.lang.String getName(org.jocl.cl_platform_id platform)
          Platform name string
static java.lang.String getProfile(org.jocl.cl_platform_id platform)
          The profile name supported by the implementation
static java.lang.String getVendor(org.jocl.cl_platform_id platform)
          Platform vendor string
static java.lang.String getVersion(org.jocl.cl_platform_id platform)
          OpenCL version string
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public static java.lang.String getName(org.jocl.cl_platform_id platform)
Platform name string

Parameters:
platform - The platform
Returns:
The value

getVendor

public static java.lang.String getVendor(org.jocl.cl_platform_id platform)
Platform vendor string

Parameters:
platform - The platform
Returns:
The value

getVersion

public static java.lang.String getVersion(org.jocl.cl_platform_id platform)
OpenCL version string

Parameters:
platform - The platform
Returns:
The value

getProfile

public static java.lang.String getProfile(org.jocl.cl_platform_id platform)
The profile name supported by the implementation

Parameters:
platform - The platform
Returns:
The value

getExtensions

public static java.lang.String getExtensions(org.jocl.cl_platform_id platform)
A space-separated list of extension names

Parameters:
platform - The platform
Returns:
The value