public class CUjit_option extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CU_JIT_CACHE_MODE
Specifies whether to enable caching explicitly (-dlcm)
Choice is based on supplied ::CUjit_cacheMode_enum. Option type: unsigned int for enumerated type ::CUjit_cacheMode_enum Applies to: compiler only |
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.
Option type: unsigned int Applies to: compiler only |
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.
Option type: unsigned int Applies to: compiler only |
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 |
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
public static String stringFor(int n)
n
- The CUjit_optionCopyright © 2014. All Rights Reserved.