include/hip/linker_types.h Source File

include/hip/linker_types.h Source File#

HIP Runtime API Reference: include/hip/linker_types.h Source File
linker_types.h
Go to the documentation of this file.
1
2/*
3 * Copyright (c) Advanced Micro Devices, Inc., or its affiliates.
4 *
5 * SPDX-License-Identifier: MIT
6 */
7
8#ifndef HIP_INCLUDE_HIP_LINKER_TYPES_H
9#define HIP_INCLUDE_HIP_LINKER_TYPES_H
10
11#if defined(__clang__)
12#pragma clang diagnostic push
13#pragma clang diagnostic ignored "-Wreserved-identifier"
14#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
15#endif
16
17
18#if !defined(__HIP_PLATFORM_AMD__) && defined(__HIP_PLATFORM_NVIDIA__)
19#elif defined(__HIP_PLATFORM_AMD__) && !defined(__HIP_PLATFORM_NVIDIA__)
20
107
112
113// doxygen end LinkerTypes
118#else
119#error ("Must define exactly one of __HIP_PLATFORM_AMD__ or __HIP_PLATFORM_NVIDIA__");
120#endif
121
122#endif // HIP_INCLUDE_HIP_LINKER_TYPES_H
hipLibraryOption
Definition linker_types.h:108
hipJitCacheMode
Definition linker_types.h:95
hipJitOption
Definition linker_types.h:31
hipJitFallback
Definition linker_types.h:103
hipJitInputType
Definition linker_types.h:76
@ hipLibraryBinaryIsPreserved
Definition linker_types.h:110
@ hipLibraryHostUniversalFunctionAndDataTable
Definition linker_types.h:109
@ hipJitCacheOptionCA
Definition linker_types.h:98
@ hipJitCacheOptionNone
Definition linker_types.h:96
@ hipJitCacheOptionCG
Definition linker_types.h:97
@ hipJitOptionIRtoISAOptCountExt
Hip Only Count of linker options to be passed on to compiler.
Definition linker_types.h:71
@ hipJitOptionCacheMode
CUDA Only Set cache mode.
Definition linker_types.h:49
@ hipJitOptionPositionIndependentCode
CUDA Only Generates Position Independent code.
Definition linker_types.h:64
@ hipJitOptionLto
Definition linker_types.h:57
@ hipJitOptionFastCompile
CUDA Only Set fast compile.
Definition linker_types.h:51
@ hipJitOptionInfoLogBuffer
CUDA Only Pointer to the buffer with logged information.
Definition linker_types.h:36
@ hipJitOptionErrorLogBuffer
CUDA Only Pointer to the buffer with logged error(s)
Definition linker_types.h:38
@ hipJitOptionPrecDiv
Definition linker_types.h:59
@ hipJitOptionTarget
CUDA Only JIT target.
Definition linker_types.h:44
@ hipJitOptionThreadsPerBlock
CUDA Only Number of thread per block.
Definition linker_types.h:34
@ hipJitOptionNumOptions
Number of options.
Definition linker_types.h:69
@ hipJitOptionOverrideDirectiveValues
Cuda only Override Directive values.
Definition linker_types.h:68
@ hipJitOptionGenerateLineInfo
CUDA Only Generate line number information.
Definition linker_types.h:48
@ hipJitOptionFtz
Definition linker_types.h:58
@ hipJitOptionOptimizationLevel
Definition linker_types.h:41
@ hipJitOptionErrorLogBufferSizeBytes
Definition linker_types.h:39
@ hipJitOptionFma
Definition linker_types.h:62
@ hipJitOptionGlobalSymbolNames
Definition linker_types.h:52
@ hipJitOptionWallTime
CUDA Only Value for total wall clock time.
Definition linker_types.h:35
@ hipJitOptionGlobalSymbolAddresses
Definition linker_types.h:54
@ hipJitOptionInfoLogBufferSizeBytes
CUDA Only Size of the buffer in bytes for logged info.
Definition linker_types.h:37
@ hipJitOptionGlobalSymbolCount
CUDA Only Number of symbol count.
Definition linker_types.h:56
@ hipJitOptionTargetFromContext
CUDA Only The target context, which is the default.
Definition linker_types.h:43
@ hipJitOptionMinCTAPerSM
Definition linker_types.h:65
@ hipJitOptionGenerateDebugInfo
CUDA Only Generate debug information.
Definition linker_types.h:46
@ hipJitOptionLogVerbose
CUDA Only Generate log verbose.
Definition linker_types.h:47
@ hipJitOptionPrecSqrt
Definition linker_types.h:61
@ hipJitOptionMaxRegisters
Definition linker_types.h:32
@ hipJitOptionSm3xOpt
Definition linker_types.h:50
@ hipJitOptionFallbackStrategy
CUDA Only Fallback strategy.
Definition linker_types.h:45
@ hipJitOptionMaxThreadsPerBlock
CUDA only Maximum number of threads in a thread block.
Definition linker_types.h:67
@ hipJitOptionIRtoISAOptExt
Hip Only Linker options to be passed on to compiler.
Definition linker_types.h:70
@ hipJitPreferBinary
Definition linker_types.h:105
@ hipJitPreferPTX
Definition linker_types.h:104
@ hipJitInputLLVMArchivesOfBundledBitcode
HIP Only LLVM Archive of Bundled Bitcode.
Definition linker_types.h:88
@ hipJitNumLegacyInputTypes
Count of Legacy Input Types.
Definition linker_types.h:85
@ hipJitInputCubin
Cuda only Input cubin.
Definition linker_types.h:77
@ hipJitInputLibrary
Definition linker_types.h:81
@ hipJitNumInputTypes
Count of Input Types.
Definition linker_types.h:90
@ hipJitInputObject
Cuda Only Host Object with embedded device code.
Definition linker_types.h:80
@ hipJitInputFatBinary
Cuda Only Input FAT Binary.
Definition linker_types.h:79
@ hipJitInputLLVMBitcode
HIP Only LLVM Bitcode or IR assembly.
Definition linker_types.h:86
@ hipJitInputPtx
Cuda only Input PTX.
Definition linker_types.h:78
@ hipJitInputSpirv
HIP Only SPIRV Code Object.
Definition linker_types.h:89
@ hipJitInputLLVMBundledBitcode
HIP Only LLVM Clang Bundled Code.
Definition linker_types.h:87
@ hipJitInputNvvm
Definition linker_types.h:83