public class cudaMemoryAdvise extends Object
Modifier and Type | Field and Description |
---|---|
static int |
cudaMemAdviseSetAccessedBy
Data will be accessed by the specified device, so prevent page faults as much as possible
|
static int |
cudaMemAdviseSetPreferredLocation
Set the preferred location for the data as the specified device
|
static int |
cudaMemAdviseSetReadMostly
Data will mostly be read and only occassionally be written to
|
static int |
cudaMemAdviseUnsetAccessedBy
Let the Unified Memory subsystem decide on the page faulting policy for the specified device
|
static int |
cudaMemAdviseUnsetPreferredLocation
Clear the preferred location for the data
|
static int |
cudaMemAdviseUnsetReadMostly
Undo the effect of ::cudaMemAdviseSetReadMostly
|
Modifier and Type | Method and Description |
---|---|
static String |
stringFor(int k)
Returns the String identifying the given cudaMemoryAdvise
|
public static final int cudaMemAdviseSetReadMostly
public static final int cudaMemAdviseUnsetReadMostly
public static final int cudaMemAdviseSetPreferredLocation
public static final int cudaMemAdviseUnsetPreferredLocation
public static final int cudaMemAdviseSetAccessedBy
public static final int cudaMemAdviseUnsetAccessedBy
public static String stringFor(int k)
k
- The cudaMemoryAdviseCopyright © 2020. All rights reserved.