Jit Linker Data Types#
Detailed Description
This section describes the Jit Linker data types.
Enumeration Type Documentation
◆ hipJitCacheMode
enum hipJitCacheMode |
◆ hipJitFallback
enum hipJitFallback |
◆ hipJitInputType
enum hipJitInputType |
hipJitInputType
Enumerator | |
---|---|
hipJitInputCubin | Cuda only Input cubin. |
hipJitInputPtx | Cuda only Input PTX. |
hipJitInputFatBinary | Cuda Only Input FAT Binary. |
hipJitInputObject | Cuda Only Host Object with embedded device code. |
hipJitInputLibrary | Cuda Only Archive of Host Objects with embedded device code |
hipJitInputNvvm |
|
hipJitNumLegacyInputTypes | Count of Legacy Input Types. |
hipJitInputLLVMBitcode | HIP Only LLVM Bitcode or IR assembly. |
hipJitInputLLVMBundledBitcode | HIP Only LLVM Clang Bundled Code. |
hipJitInputLLVMArchivesOfBundledBitcode | HIP Only LLVM Archive of Bundled Bitcode. |
hipJitInputSpirv | HIP Only SPIRV Code Object. |
hipJitNumInputTypes | Count of Input Types. |
◆ hipJitOption
enum hipJitOption |
hipJitOption
Enumerator | |
---|---|
hipJitOptionMaxRegisters | CUDA Only Maximum registers may be used in a thread, passed to compiler |
hipJitOptionThreadsPerBlock | CUDA Only Number of thread per block. |
hipJitOptionWallTime | CUDA Only Value for total wall clock time. |
hipJitOptionInfoLogBuffer | CUDA Only Pointer to the buffer with logged information. |
hipJitOptionInfoLogBufferSizeBytes | CUDA Only Size of the buffer in bytes for logged info. |
hipJitOptionErrorLogBuffer | CUDA Only Pointer to the buffer with logged error(s) |
hipJitOptionErrorLogBufferSizeBytes | CUDA Only Size of the buffer in bytes for logged error(s) |
hipJitOptionOptimizationLevel | Value of optimization level for generated codes, acceptable options -O0, -O1, -O2, -O3 |
hipJitOptionTargetFromContext | CUDA Only The target context, which is the default. |
hipJitOptionTarget | CUDA Only JIT target. |
hipJitOptionFallbackStrategy | CUDA Only Fallback strategy. |
hipJitOptionGenerateDebugInfo | CUDA Only Generate debug information. |
hipJitOptionLogVerbose | CUDA Only Generate log verbose. |
hipJitOptionGenerateLineInfo | CUDA Only Generate line number information. |
hipJitOptionCacheMode | CUDA Only Set cache mode. |
hipJitOptionSm3xOpt |
|
hipJitOptionFastCompile | CUDA Only Set fast compile. |
hipJitOptionGlobalSymbolNames | CUDA Only Array of device symbol names to be relocated to the host. |
hipJitOptionGlobalSymbolAddresses | CUDA Only Array of host addresses to be relocated to the device. |
hipJitOptionGlobalSymbolCount | CUDA Only Number of symbol count. |
hipJitOptionLto |
|
hipJitOptionFtz |
|
hipJitOptionPrecDiv |
|
hipJitOptionPrecSqrt |
|
hipJitOptionFma |
|
hipJitOptionPositionIndependentCode | CUDA Only Generates Position Independent code. |
hipJitOptionMinCTAPerSM | CUDA Only Hints to JIT compiler the minimum number of CTAs frin kernel's grid to be mapped to SM |
hipJitOptionMaxThreadsPerBlock | CUDA only Maximum number of threads in a thread block. |
hipJitOptionOverrideDirectiveValues | Cuda only Override Directive values. |
hipJitOptionNumOptions | Number of options. |
hipJitOptionIRtoISAOptExt | Hip Only Linker options to be passed on to compiler. |
hipJitOptionIRtoISAOptCountExt | Hip Only Count of linker options to be passed on to compiler. |