|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcuda.driver.CUjit_option
public class CUjit_option
Online compiler and linker options.
Most comments are taken from the CUDA reference manual.
JCudaDriver.cuModuleLoadDataEx(jcuda.driver.CUmodule, jcuda.Pointer, int, int[], jcuda.Pointer)
Field Summary | |
---|---|
static int |
CU_JIT_CACHE_MODE
Specifies whether to enable caching explicitly (-dlcm) Choice is based on supplied ::CUjit_cacheMode_enum. |
static int |
CU_JIT_ERROR_LOG_BUFFER
Pointer to a buffer in which to print any log messages that reflect errors (the buffer size is specified via option ::CU_JIT_ERROR_LOG_BUFFER_SIZE_BYTES) Option type: char * Applies to: compiler and linker |
static int |
CU_JIT_ERROR_LOG_BUFFER_SIZE_BYTES
IN: Log buffer size in bytes. |
static int |
CU_JIT_FALLBACK_STRATEGY
Specifies choice of fallback strategy if matching cubin is not found. |
static int |
CU_JIT_GENERATE_DEBUG_INFO
Specifies whether to create debug information in output (-g) (0: false, default) Option type: int Applies to: compiler and linker |
static int |
CU_JIT_GENERATE_LINE_INFO
Generate line number information (-lineinfo) (0: false, default) Option type: int Applies to: compiler only |
static int |
CU_JIT_INFO_LOG_BUFFER
Pointer to a buffer in which to print any log messages that are informational in nature (the buffer size is specified via option ::CU_JIT_INFO_LOG_BUFFER_SIZE_BYTES) Option type: char * Applies to: compiler and linker |
static int |
CU_JIT_INFO_LOG_BUFFER_SIZE_BYTES
IN: Log buffer size in bytes. |
static int |
CU_JIT_LOG_VERBOSE
Generate verbose log messages (0: false, default) Option type: int Applies to: compiler and linker |
static int |
CU_JIT_MAX_REGISTERS
Max number of registers that a thread may use. |
static int |
CU_JIT_OPTIMIZATION_LEVEL
Level of optimizations to apply to generated code (0 - 4), with 4 being the default and highest level of optimizations. |
static int |
CU_JIT_TARGET
Target is chosen based on supplied ::CUjit_target. |
static int |
CU_JIT_TARGET_FROM_CUCONTEXT
No option value required. |
static int |
CU_JIT_THREADS_PER_BLOCK
IN: Specifies minimum number of threads per block to target compilation for OUT: Returns the number of threads the compiler actually targeted. |
static int |
CU_JIT_WALL_TIME
Overwrites the option value with the total wall clock time, in milliseconds, spent in the compiler and linker Option type: float Applies to: compiler and linker |
Method Summary | |
---|---|
static java.lang.String |
stringFor(int n)
Returns the String identifying the given CUjit_option |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int CU_JIT_MAX_REGISTERS
public static final int CU_JIT_THREADS_PER_BLOCK
public static final int CU_JIT_WALL_TIME
public static final int CU_JIT_INFO_LOG_BUFFER
public static final int CU_JIT_INFO_LOG_BUFFER_SIZE_BYTES
public static final int CU_JIT_ERROR_LOG_BUFFER
public static final int CU_JIT_ERROR_LOG_BUFFER_SIZE_BYTES
public static final int CU_JIT_OPTIMIZATION_LEVEL
public static final int CU_JIT_TARGET_FROM_CUCONTEXT
public static final int CU_JIT_TARGET
public static final int CU_JIT_FALLBACK_STRATEGY
public static final int CU_JIT_GENERATE_DEBUG_INFO
public static final int CU_JIT_LOG_VERBOSE
public static final int CU_JIT_GENERATE_LINE_INFO
public static final int CU_JIT_CACHE_MODE
Method Detail |
---|
public static java.lang.String stringFor(int n)
n
- The CUjit_option
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |