jcuda.driver
Class CUjit_fallback

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

public class CUjit_fallback
extends java.lang.Object

Cubin matching fallback strategies.

Most comments are taken from the CUDA reference manual.

See Also:
JCudaDriver.cuModuleLoadDataEx(jcuda.driver.CUmodule, jcuda.Pointer, int, int[], jcuda.Pointer)

Field Summary
static int CU_PREFER_BINARY
          Prefer to fall back to compatible binary code
static int CU_PREFER_PTX
          Prefer to compile ptx
 
Method Summary
static java.lang.String stringFor(int n)
          Returns the String identifying the given CUjit_fallback
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CU_PREFER_PTX

public static final int CU_PREFER_PTX
Prefer to compile ptx

See Also:
Constant Field Values

CU_PREFER_BINARY

public static final int CU_PREFER_BINARY
Prefer to fall back to compatible binary code

See Also:
Constant Field Values
Method Detail

stringFor

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

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