Compiler Options Reference#
Detailed information about all the supported/unsupported options provided by AMD HIP Extension for building HIP programs can be found in the official compiler’s documentation. Below is the list of the official compiler references:
LLVM clang compiler options (for HIP_clang Platform Toolset):
NVIDIA CUDA
nvcc
compiler options (forHIP_nvcc
Platform Toolset):https://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/index.html#nvcc-command-options
Microsoft Visual C++ (for both
HIP_clang
andHIP_nvcc
Platform Toolsets):MSVC 17 (2022) compiler options:
https://learn.microsoft.com/en-us/cpp/build/reference/compiler-options?view=msvc-170
MSVC 17 (2022) linker options:
https://learn.microsoft.com/en-us/cpp/build/reference/linker-options?view=msvc-170
MSVC 17 (2022) lib options:
https://learn.microsoft.com/en-us/cpp/build/reference/lib-reference?view=msvc-170
MSVC 16 (2019) compiler options:
https://learn.microsoft.com/en-us/cpp/build/reference/compiler-options?view=msvc-160
MSVC 16 (2019) linker options:
https://learn.microsoft.com/en-us/cpp/build/reference/linker-options?view=msvc-160
MSVC 16 (2019) lib options:
https://learn.microsoft.com/en-us/cpp/build/reference/lib-reference?view=msvc-160
MSVC 15 (2017) compiler options:
https://learn.microsoft.com/en-us/cpp/build/reference/compiler-options?view=msvc-150
MSVC 15 (2017) linker options:
https://learn.microsoft.com/en-us/cpp/build/reference/linker-options?view=msvc-150
MSVC 15 (2017) lib options:
https://learn.microsoft.com/en-us/cpp/build/reference/lib-reference?view=msvc-150