- java.lang.Object
-
- com.ibm.gpu.CUDADevice
-
public final class CUDADevice extends Object
Representation of a real, connected CUDA device.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDeviceID()
Returns the device ID of this CUDA device.int
getDoubleThreshold()
Returns the minimum size of a double array that will be sorted using this CUDA device if enabled.int
getFloatThreshold()
Returns the minimum size of a float array that will be sorted using this CUDA device if enabled.int
getIntThreshold()
Returns the minimum size of an int array that will be sorted using this CUDA device if enabled.int
getLongThreshold()
Returns the minimum size of a long array that will be sorted using this CUDA device if enabled.
-
-
-
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
-
-