|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjcuda.runtime.cudaComputeMode
public class cudaComputeMode
CUDA device compute modes.
Most comments are taken from the CUDA reference manual.
cudaDeviceProp.computeMode| Field Summary | |
|---|---|
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 |
cudaComputeModeProhibited
Compute-prohibited mode (No threads can use JCuda.cudaSetDevice(int) with this device) |
| Method Summary | |
|---|---|
static java.lang.String |
stringFor(int n)
Returns the String identifying the given cudaComputeMode |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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)
| Method Detail |
|---|
public static java.lang.String stringFor(int n)
n - The cudaComputeMode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||