java.lang.Object
com.ibm.gpu.CUDADevice
Representation of a real, connected CUDA device.
-
Method Summary
Modifier and TypeMethodDescriptionint
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.
-
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
-