public class CUcomputemode extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CU_COMPUTEMODE_DEFAULT
Default compute mode (Multiple contexts allowed per device)
|
static int |
CU_COMPUTEMODE_EXCLUSIVE
Deprecated.
Removed in CUDA 8.0.27
|
static int |
CU_COMPUTEMODE_EXCLUSIVE_PROCESS
Compute-exclusive-process mode (Only one context used by a
single process can be present on this device at a time)
|
static int |
CU_COMPUTEMODE_PROHIBITED
Compute-prohibited mode (No contexts can be created on
this device at this time)
|
Modifier and Type | Method and Description |
---|---|
static String |
stringFor(int n)
Returns the String identifying the given CUcomputemode
|
public static final int CU_COMPUTEMODE_DEFAULT
public static final int CU_COMPUTEMODE_EXCLUSIVE
public static final int CU_COMPUTEMODE_PROHIBITED
public static final int CU_COMPUTEMODE_EXCLUSIVE_PROCESS
public static String stringFor(int n)
n
- The CUcomputemodeCopyright © 2020. All rights reserved.