public class CUmem_advise extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CU_MEM_ADVISE_SET_ACCESSED_BY
Data will be accessed by the specified device, so prevent page
faults as much as possible
|
static int |
CU_MEM_ADVISE_SET_PREFERRED_LOCATION
Set the preferred location for the data as the specified device
|
static int |
CU_MEM_ADVISE_SET_READ_MOSTLY
Data will mostly be read and only occassionally be written to
|
static int |
CU_MEM_ADVISE_UNSET_ACCESSED_BY
Let the Unified Memory subsystem decide on the page faulting
policy for the specified device
|
static int |
CU_MEM_ADVISE_UNSET_PREFERRED_LOCATION
Clear the preferred location for the data
|
static int |
CU_MEM_ADVISE_UNSET_READ_MOSTLY
Undo the effect of ::CU_MEM_ADVISE_SET_READ_MOSTLY
|
Modifier and Type | Method and Description |
---|---|
static String |
stringFor(int n)
Returns the String identifying the given CUmem_advise
|
public static final int CU_MEM_ADVISE_SET_READ_MOSTLY
public static final int CU_MEM_ADVISE_UNSET_READ_MOSTLY
public static final int CU_MEM_ADVISE_SET_PREFERRED_LOCATION
public static final int CU_MEM_ADVISE_UNSET_PREFERRED_LOCATION
public static final int CU_MEM_ADVISE_SET_ACCESSED_BY
public static final int CU_MEM_ADVISE_UNSET_ACCESSED_BY
public static String stringFor(int n)
n
- The CUmem_adviseCopyright © 2020. All rights reserved.