jcuda.runtime
Class cudaFuncCache

java.lang.Object
  extended by jcuda.runtime.cudaFuncCache

public class cudaFuncCache
extends java.lang.Object

CUDA function cache configurations


Field Summary
static int cudaFuncCachePreferEqual
          Prefer equal size L1 cache and shared memory
static int cudaFuncCachePreferL1
          Prefer larger L1 cache and smaller shared memory
static int cudaFuncCachePreferNone
          Default function cache configuration, no preference
static int cudaFuncCachePreferShared
          Prefer larger shared memory and smaller L1 cache
 
Method Summary
static java.lang.String stringFor(int n)
          Returns the String identifying the given cudaFuncCache
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cudaFuncCachePreferNone

public static final int cudaFuncCachePreferNone
Default function cache configuration, no preference

See Also:
Constant Field Values

cudaFuncCachePreferShared

public static final int cudaFuncCachePreferShared
Prefer larger shared memory and smaller L1 cache

See Also:
Constant Field Values

cudaFuncCachePreferL1

public static final int cudaFuncCachePreferL1
Prefer larger L1 cache and smaller shared memory

See Also:
Constant Field Values

cudaFuncCachePreferEqual

public static final int cudaFuncCachePreferEqual
Prefer equal size L1 cache and shared memory

See Also:
Constant Field Values
Method Detail

stringFor

public static java.lang.String stringFor(int n)
Returns the String identifying the given cudaFuncCache

Parameters:
n - The cudaFuncCache
Returns:
The String identifying the given cudaFuncCache