public static enum CLDevice.AffinityDomain extends Enum<CLDevice.AffinityDomain> implements ValuedEnum
| Enum Constant and Description |
|---|
L1Cache
Split the device into sub-devices comprised of compute units that share a level 1 data cache.
|
L2Cache
Split the device into sub-devices comprised of compute units that share a level 2 data cache.
|
L3Cache
Split the device into sub-devices comprised of compute units that share a level 3 data cache.
|
L4Cache
Split the device into sub-devices comprised of compute units that share a level 4 data cache.
|
NextPartitionable
Split the device along the next partitionable affinity domain.
|
NUMA
Split the device into sub-devices comprised of compute units that share a NUMA node.
|
| Modifier and Type | Method and Description |
|---|---|
static CLDevice.AffinityDomain |
getEnum(long v) |
long |
value() |
static CLDevice.AffinityDomain |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CLDevice.AffinityDomain[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CLDevice.AffinityDomain NUMA
public static final CLDevice.AffinityDomain L4Cache
public static final CLDevice.AffinityDomain L3Cache
public static final CLDevice.AffinityDomain L2Cache
public static final CLDevice.AffinityDomain L1Cache
public static final CLDevice.AffinityDomain NextPartitionable
public static CLDevice.AffinityDomain[] values()
for (CLDevice.AffinityDomain c : CLDevice.AffinityDomain.values()) System.out.println(c);
public static CLDevice.AffinityDomain 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 CLDevice.AffinityDomain getEnum(long v)
Copyright © 2009-2015. All Rights Reserved.