Class CUDADevice

java.lang.Object
com.ibm.gpu.CUDADevice

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

    Modifier and Type
    Method
    Description
    int
    Returns the device ID of this CUDA device.
    int
    Returns the minimum size of a double array that will be sorted using this CUDA device if enabled.
    int
    Returns the minimum size of a float array that will be sorted using this CUDA device if enabled.
    int
    Returns the minimum size of an int array that will be sorted using this CUDA device if enabled.
    int
    Returns the minimum size of a long array that will be sorted using this CUDA device if enabled.

    Methods declared in class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • 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