You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HIPCC is a compiler driver utility that will call clang or nvcc, depending on target, and pass the appropriate include and library options for the target compiler and HIP infrastructure.
4
+
5
+
It will pass-through options to the target compiler. The tools calling HIPCC must ensure the compiler options are appropriate for the target compiler.
6
+
7
+
The environment variable HIP_PLATFORM may be used to specify amd/nvidia:
8
+
- HIP_PLATFORM='amd' or HIP_PLATFORM='nvidia'.
9
+
- If HIP_PLATFORM is not set, then hipcc will attempt to auto-detect based on if nvcc is found.
10
+
11
+
Other environment variable controls:
12
+
HIP_PATH : Path to HIP directory, default is one dir level above location of HIPCC.
13
+
CUDA_PATH : Path to CUDA SDK (default /usr/local/cuda). Used on NVIDIA platforms only.
14
+
HSA_PATH : Path to HSA dir (defaults to ../../hsa relative to abs_path of HIPCC). Used on AMD platforms only.
15
+
HIP_ROCCLR_HOME : Path to HIP/ROCclr directory. Used on AMD platforms only.
16
+
HIP_CLANG_PATH : Path to HIP-Clang (default to ../../llvm/bin relative to HIPCC's abs_path). Used on AMD platforms only.
0 commit comments