Class OpenCLPlatform

java.lang.Object
de.mirkosertic.bytecoder.core.backend.opencl.OpenCLPlatform
All Implemented Interfaces:
Platform

public class OpenCLPlatform extends Object implements Platform
  • Field Details

  • Constructor Details

  • Method Details

    • getPlatformProperties

      public PlatformProperties getPlatformProperties()
      Specified by:
      getPlatformProperties in interface Platform
    • getDeviceProperties

      public DeviceProperties getDeviceProperties()
      Specified by:
      getDeviceProperties in interface Platform
    • createContext

      public Context createContext()
      Specified by:
      createContext in interface Platform
    • findBestDevice

      private OpenCLPlatform.Device findBestDevice(List<OpenCLPlatform.Platform> platforms, OpenCLOptions clOptions)
    • getSystemPropertyAsInt

      private Optional<Integer> getSystemPropertyAsInt(String name)
    • getString

      private static String getString(org.jocl.cl_platform_id platform, int paramName)
    • getString

      private static String getString(org.jocl.cl_device_id device, int paramName)
    • getSize

      private static long getSize(org.jocl.cl_device_id device, int paramName)
    • getSizes

      private static long[] getSizes(org.jocl.cl_device_id device, int paramName, int numValues)
    • getLong

      private static long getLong(org.jocl.cl_device_id device, int paramName)
    • getLongs

      private static long[] getLongs(org.jocl.cl_device_id device, int paramName, int numValues)
    • getInt

      private static int getInt(org.jocl.cl_device_id device, int paramName)
    • getInts

      private static int[] getInts(org.jocl.cl_device_id device, int paramName, int numValues)