public static enum CudaDevice.CacheConfig extends java.lang.Enum<CudaDevice.CacheConfig>
CacheConfig
identifies the cache configuration choices for
a device.Enum Constant and Description |
---|
PREFER_EQUAL
prefer equal sized L1 cache and shared memory
|
PREFER_L1
prefer larger L1 cache and smaller shared memory
|
PREFER_NONE
no preference for shared memory or L1 (default)
|
PREFER_SHARED
prefer larger shared memory and smaller L1 cache
|
Modifier and Type | Method and Description |
---|---|
static CudaDevice.CacheConfig |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CudaDevice.CacheConfig[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CudaDevice.CacheConfig PREFER_EQUAL
public static final CudaDevice.CacheConfig PREFER_L1
public static final CudaDevice.CacheConfig PREFER_NONE
public static final CudaDevice.CacheConfig PREFER_SHARED
public static CudaDevice.CacheConfig[] values()
for (CudaDevice.CacheConfig c : CudaDevice.CacheConfig.values()) System.out.println(c);
public static CudaDevice.CacheConfig valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullEclipse OpenJ9 website.
To raise a bug report or suggest an improvement create an Eclipse OpenJ9 issue.
Copyright © 2013, 2023 IBM Corp. and others.