public enum MemcpyDirection extends Enum<MemcpyDirection>
Enum Constant and Description |
---|
DEVICE_TO_DEVICE |
DEVICE_TO_HOST |
HOST_TO_DEVICE |
HOST_TO_HOST |
Modifier and Type | Method and Description |
---|---|
static MemcpyDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemcpyDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemcpyDirection HOST_TO_DEVICE
public static final MemcpyDirection DEVICE_TO_DEVICE
public static final MemcpyDirection DEVICE_TO_HOST
public static final MemcpyDirection HOST_TO_HOST
public static MemcpyDirection[] values()
for (MemcpyDirection c : MemcpyDirection.values()) System.out.println(c);
public static MemcpyDirection 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 © 2019. All rights reserved.