jcuda.driver
Class CUfunc_cache

java.lang.Object
  extended by jcuda.driver.CUfunc_cache

public class CUfunc_cache
extends java.lang.Object

Function cache configurations.

Most comments are taken from the CUDA reference manual.


Field Summary
static int CU_FUNC_CACHE_PREFER_EQUAL
          Prefer equal sized L1 cache and shared memory
static int CU_FUNC_CACHE_PREFER_L1
          Prefer larger L1 cache and smaller shared memory
static int CU_FUNC_CACHE_PREFER_NONE
          No preference for shared memory or L1 (default)
static int CU_FUNC_CACHE_PREFER_SHARED
          Prefer larger shared memory and smaller L1 cache
 
Method Summary
static java.lang.String stringFor(int n)
          Returns the String identifying the given CUfunc_cache
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CU_FUNC_CACHE_PREFER_NONE

public static final int CU_FUNC_CACHE_PREFER_NONE
No preference for shared memory or L1 (default)

See Also:
Constant Field Values

CU_FUNC_CACHE_PREFER_SHARED

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

See Also:
Constant Field Values

CU_FUNC_CACHE_PREFER_L1

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

See Also:
Constant Field Values

CU_FUNC_CACHE_PREFER_EQUAL

public static final int CU_FUNC_CACHE_PREFER_EQUAL
Prefer equal sized 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 CUfunc_cache

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