public static enum MemoryStrategies.MemoryMode extends Enum<MemoryStrategies.MemoryMode>
| Enum Constant and Description |
|---|
PAGEABLE_ARRAY
Pageable memory in form of a Pointer.to(array)
|
PAGEABLE_DIRECT_BUFFER
Pageable memory in form of a Pointer.to(directBuffer)
|
PINNED
Pinned host memory, allocated with cudaHostAlloc
|
| Modifier and Type | Method and Description |
|---|---|
static MemoryStrategies.MemoryMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemoryStrategies.MemoryMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemoryStrategies.MemoryMode PINNED
public static final MemoryStrategies.MemoryMode PAGEABLE_ARRAY
public static final MemoryStrategies.MemoryMode PAGEABLE_DIRECT_BUFFER
public static MemoryStrategies.MemoryMode[] values()
for (MemoryStrategies.MemoryMode c : MemoryStrategies.MemoryMode.values()) System.out.println(c);
public static MemoryStrategies.MemoryMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2015. All Rights Reserved.