public static enum CLMem.Migration extends Enum<CLMem.Migration> implements ValuedEnum
CLQueue#enqueueMigrateMemObjects(CLMem[], java.lang.EnumSet, CLEvent[])).| Enum Constant and Description |
|---|
ContentUndefined
This flag indicates that the contents of the set of memory objects are undefined after
migration.
|
Host
This flag indicates that the specified set of memory objects are to be migrated
to the host, regardless of the target command-queue.
|
| Modifier and Type | Method and Description |
|---|---|
static EnumSet<CLMem.Migration> |
getEnumSet(long v) |
static long |
getValue(EnumSet<CLMem.Migration> set) |
long |
value() |
static CLMem.Migration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CLMem.Migration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CLMem.Migration Host
public static final CLMem.Migration ContentUndefined
public static CLMem.Migration[] values()
for (CLMem.Migration c : CLMem.Migration.values()) System.out.println(c);
public static CLMem.Migration 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 nullpublic long value()
value in interface ValuedEnumpublic static long getValue(EnumSet<CLMem.Migration> set)
public static EnumSet<CLMem.Migration> getEnumSet(long v)
Copyright © 2009-2015. All Rights Reserved.