Module openj9.gpu
Package com.ibm.gpu

Class CUDADevice


  • public final class CUDADevice
    extends Object
    Representation of a real, connected CUDA device.
    • Method Detail

      • getDeviceID

        public int getDeviceID()
        Returns the device ID of this CUDA device.
        Returns:
        the device ID of the device
      • getDoubleThreshold

        public int getDoubleThreshold()
        Returns the minimum size of a double array that will be sorted using this CUDA device if enabled.
        Returns:
        the minimum size of a double array that will be sorted using this CUDA device
      • getFloatThreshold

        public int getFloatThreshold()
        Returns the minimum size of a float array that will be sorted using this CUDA device if enabled.
        Returns:
        the minimum size of a float array that will be sorted using this CUDA device
      • getIntThreshold

        public int getIntThreshold()
        Returns the minimum size of an int array that will be sorted using this CUDA device if enabled.
        Returns:
        the minimum size of an int array that will be sorted using this CUDA device
      • getLongThreshold

        public int getLongThreshold()
        Returns the minimum size of a long array that will be sorted using this CUDA device if enabled.
        Returns:
        the minimum size of a long array that will be sorted using this CUDA device