public class cudaComputeMode extends Object
cudaDeviceProp.computeMode
Modifier and Type | Field and Description |
---|---|
static int |
cudaComputeModeDefault
Default compute mode (Multiple threads can use
JCuda.cudaSetDevice(int) with this device) |
static int |
cudaComputeModeExclusive
Compute-exclusive mode (Only one thread will be able to use
JCuda.cudaSetDevice(int) with this device) |
static int |
cudaComputeModeExclusiveProcess
Compute-exclusive-process mode (Many threads in one process will be able to use ::cudaSetDevice() with this device)
|
static int |
cudaComputeModeProhibited
Compute-prohibited mode (No threads can use
JCuda.cudaSetDevice(int) with this device) |
Modifier and Type | Method and Description |
---|---|
static String |
stringFor(int n)
Returns the String identifying the given cudaComputeMode
|
public static final int cudaComputeModeDefault
JCuda.cudaSetDevice(int)
with this device)public static final int cudaComputeModeExclusive
JCuda.cudaSetDevice(int)
with this device)public static final int cudaComputeModeProhibited
JCuda.cudaSetDevice(int)
with this device)public static final int cudaComputeModeExclusiveProcess
public static String stringFor(int n)
n
- The cudaComputeModeCopyright © 2020. All rights reserved.