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. |
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_GLOBAL_SYMBOL_ADDRESSES
Array of host addresses that will be used to relocate corresponding
device symbols stored in ::CU_JIT_GLOBAL_SYMBOL_NAMES.
|
static int |
CU_JIT_GLOBAL_SYMBOL_COUNT
Number of entries in ::CU_JIT_GLOBAL_SYMBOL_NAMES and
::CU_JIT_GLOBAL_SYMBOL_ADDRESSES arrays.
|
static int |
CU_JIT_GLOBAL_SYMBOL_NAMES
Array of device symbol names that will be relocated to the corresponding
host addresses stored in ::CU_JIT_GLOBAL_SYMBOL_ADDRESSES.
|
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 |
Modifier and Type | Method and Description |
---|---|
static String |
stringFor(int n)
Returns the String identifying the given CUjit_option
|
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 final int CU_JIT_GLOBAL_SYMBOL_NAMES
public static final int CU_JIT_GLOBAL_SYMBOL_ADDRESSES
public static final int CU_JIT_GLOBAL_SYMBOL_COUNT
public static String stringFor(int n)
n
- The CUjit_optionCopyright © 2020. All rights reserved.