| /llvm-project-15.0.7/clang/test/Driver/ |
| H A D | hipspv-device-libs.hip | 6 // RUN: 2>&1 | FileCheck --check-prefixes=ALL,HIP-PATH %s 12 // RUN: 2>&1 | FileCheck --check-prefixes=ALL,HIP-DEV-LIB-PATH %s 20 // RUN: 2>&1 | FileCheck --check-prefixes=ALL,HIP-DEV-LIB %s 23 // HIP-PATH: "-mlink-builtin-bitcode" {{".*/hipspv/lib/hip-device-lib/hipspv-spirv64.bc"}} 24 // HIP-DEV-LIB-PATH-NOT: "-mlink-builtin-bitcode" {{".*/hipspv/lib/hip-device-lib/hipspv-spirv64.bc… 25 // HIP-DEV-LIB-PATH: "-mlink-builtin-bitcode" {{".*/hipspv-dev-lib/hipspv-spirv64.bc"}} 26 // HIP-DEV-LIB: "-mlink-builtin-bitcode" {{".*/hipspv-dev-lib/a/a.bc"}} 27 // HIP-DEV-LIB-SAME: "-mlink-builtin-bitcode" {{".*/hipspv-dev-lib/b/b.bc"}}
|
| H A D | hip-version.hip | 12 // FOUND: Found HIP installation: {{.*Inputs.*rocm}}, version 3.6.20214-a2917cd 23 // DEFAULT: Found HIP installation: {{.*Driver}}, version 3.5. 32 // SPECIFIED: Found HIP installation: {{.*Driver}}, version 3.7.0 37 // SPECIFIED2: Found HIP installation: {{.*Driver}}, version 3.7.0 42 // SPECIFIED3: Found HIP installation: {{.*Driver}}, version 4.0.21025 47 // SPECIFIED4: Found HIP installation: {{.*Driver}}, version 4.0.0
|
| H A D | hip-include-path.hip | 8 // RUN: | FileCheck -check-prefixes=COMMON,CLANG,HIP %s 12 // RUN: | FileCheck -check-prefixes=COMMON,NOCLANG,HIP %s 21 // HIP-SAME: "-idirafter" "{{[^"]*}}Inputs/rocm/include" 22 // HIP-SAME: "-include" "__clang_hip_runtime_wrapper.h" 32 // HIP-SAME: "-idirafter" "{{[^"]*}}Inputs/rocm/include" 33 // HIP-SAME: "-include" "__clang_hip_runtime_wrapper.h"
|
| H A D | hip-runtime-libs-linux.hip | 5 // Test HIP runtime lib args specified by --rocm-path. 10 // Test HIP runtime lib args specified by environment variable ROCM_PATH. 24 // Test HIP runtime lib is not linked without --hip-link. 29 // Test HIP runtime lib is not linked with -nostdlib. 34 // Test HIP runtime lib is not linked with -no-hip-rt.
|
| H A D | hipspv-pass-plugin.hip | 6 // RUN: 2>&1 | FileCheck --check-prefixes=FROM-HIP-PATH %s 20 // FROM-HIP-PATH: {{".*opt"}} {{".*.bc"}} "-load-pass-plugin" 21 // FROM-HIP-PATH-SAME: {{".*/Inputs/hipspv/lib/libLLVMHipSpvPasses.so"}}
|
| H A D | hip-inputs.hip | 21 // CHECK-NOT: error: mixed CUDA and HIP compilation is not supported 22 // MIX: error: mixed CUDA and HIP compilation is not supported
|
| H A D | rocm-detect.hip | 89 // SPACK: Found HIP installation: [[DIR]]/hip-4.0.0-5f63slrursbrvfe2txrrjkynbsywsob5, version 4.0.2… 96 // SPACK-MULT-NOT: Found HIP installation: [[DIR]]/hip-4.0.0-5f63slrursbrvfe2txrrjkynbsywsob5, vers… 100 // SPACK-SET: Found HIP installation: [[DIR]]/hip-4.0.0-abcd, version 4.0.20214-a2917cd 107 // SPACK-MISS-NOT: Found HIP installation: [[DIR]]/hip-4.0.0-5f63slrursbrvfe2txrrjkynbsywsob5, vers… 111 // SPACK-MISS-SILENT-NOT: Found HIP installation
|
| H A D | hip-runtime-libs-msvc.hip | 5 // Test HIP runtime lib args specified by --rocm-path.
|
| /llvm-project-15.0.7/mlir/lib/ExecutionEngine/ |
| H A D | CMakeLists.txt | 192 set(HIP_PATH "${ROCM_PATH}/hip" CACHE PATH "Path to which HIP has been installed") 195 find_package(HIP) 197 message(SEND_ERROR "Building mlir with ROCm support requires a working ROCm and HIP install") 199 message(STATUS "ROCm HIP version: ${HIP_VERSION}") 202 # Locate HIP runtime library. 206 message(SEND_ERROR "Could not locate ROCm HIP runtime library") 208 message(STATUS "ROCm HIP runtime lib: ${ROCM_RUNTIME_LIBRARY}") 240 # Supress compiler warnings from HIP headers
|
| /llvm-project-15.0.7/clang/lib/Driver/ToolChains/ |
| H A D | ROCm.h | 118 SmallString<0> HIP; variable 140 return !OCML.empty() && !OCKL.empty() && !OpenCL.empty() && !HIP.empty() && in allGenericLibsValid() 219 assert(!HIP.empty()); in getHIPPath() 220 return HIP; in getHIPPath()
|
| H A D | HIPUtility.cpp | 41 void HIP::constructHIPFatbinCommand(Compilation &C, const JobAction &JA, in constructHIPFatbinCommand() 98 void HIP::constructGenerateObjFileFromHIPFatBinary( in constructGenerateObjFileFromHIPFatBinary() 118 HIP::constructHIPFatbinCommand(C, JA, BundleFile, Inputs, Args, T); in constructGenerateObjFileFromHIPFatBinary()
|
| H A D | HIPUtility.h | 17 namespace HIP {
|
| H A D | HIPSPV.cpp | 113 return HIP::constructGenerateObjFileFromHIPFatBinary(C, Output, Inputs, in ConstructJob() 117 return HIP::constructHIPFatbinCommand(C, JA, Output.getFilename(), Inputs, in ConstructJob()
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | LangOptions.cpp | 172 Opts.HIP = Lang == Language::HIP; in setLangDefaults() 173 Opts.CUDA = Lang == Language::CUDA || Opts.HIP; in setLangDefaults() 174 if (Opts.HIP) { in setLangDefaults()
|
| H A D | LangStandards.cpp | 84 case Language::HIP: in getDefaultLanguageStandard()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | SyncScope.h | 80 enum class AtomicScopeModelKind { None, OpenCL, HIP }; enumerator 215 case AtomicScopeModelKind::HIP: in create()
|
| H A D | LangStandards.def | 207 // HIP 208 LANGSTANDARD(hip, "hip", HIP, "HIP",
|
| H A D | LangOptions.def | 239 LANGOPT(HIP , 1, 0, "HIP") 268 LANGOPT(GPUAllowDeviceInit, 1, 0, "allowing device side global init functions for HIP") 269 …(GPUMaxThreadsPerBlock, 32, 1024, "default max threads per block for kernel launch bounds for HIP") 270 LANGOPT(GPUDeferDiag, 1, 0, "defer host/device related diagnostic messages for CUDA/HIP") 271 …gSideOverloads, 1, 0, "always exclude wrong side overloads in overloading resolution for CUDA/HIP") 278 LANGOPT(HIPUseNewLaunchAPI, 1, 0, "Use new kernel launching API for HIP")
|
| H A D | LangStandard.h | 42 HIP, enumerator
|
| /llvm-project-15.0.7/mlir/include/mlir/Conversion/GPUToROCDL/ |
| H A D | Runtimes.h | 17 HIP = 1, enumerator
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGCUDANV.cpp | 185 if (CGM.getLangOpts().HIP) in addPrefixToName() 191 if (CGM.getLangOpts().HIP) in addUnderscoredPrefixToName() 238 if (CGM.getLangOpts().HIP) { in getLaunchFn() 306 (CGF.getLangOpts().HIP && CGF.getLangOpts().HIPUseNewLaunchAPI)) in emitDeviceStub() 348 if (CGF.getLangOpts().HIP && CGF.getLangOpts().GPUDefaultStream == in emitDeviceStubBodyNew() 555 if (CGM.getLangOpts().HIP || in makeRegisterGlobalsFn() 679 bool IsHIP = CGM.getLangOpts().HIP; in makeModuleCtorFunction() 976 if (CGM.getLangOpts().HIP) { in makeModuleDtorFunction() 1118 StringRef Section = CGM.getLangOpts().HIP ? "hip_offloading_entries" in createOffloadingEntries() 1188 if (!CGM.getLangOpts().HIP) { in getKernelHandle()
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | ClangOffloadBundler.rst | 48 | CUDA/HIP output | cui | Text | 156 hip Offload code object for the HIP language. Used for all 157 HIP language offload code objects when the 162 to be loaded by the HIP runtime. The fat binary can be 166 hipv4 Offload code object for the HIP language. Used for AMD GPU 169 to be loaded by the HIP runtime. The fat binary can be
|
| H A D | ClangCommandLineReference.rst | 63 Pass <arg> to the CUDA/HIP device compilation 69 Pass <arg> to the CUDA/HIP host compilation 308 Link clang-offload-bundler bundles for HIP 312 HIP version in the format of major.minor.patch 388 Do not link against HIP runtime libraries 406 Do not add include paths for CUDA/HIP and do not include the default CUDA/HIP wrapper headers 1223 HIP runtime installation path, used for finding HIP version and adding HIP include path. 1886 Use new kernel launching API for HIP 2811 Bundle output files of HIP device compilation 4287 HIP device library [all …]
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | FrontendOptions.cpp | 34 .Case("hip", Language::HIP) in getInputKindForExtension()
|
| /llvm-project-15.0.7/mlir/test/Integration/GPU/ROCM/ |
| H A D | printf.mlir | 2 …'gpu.module(strip-debuginfo,convert-gpu-to-rocdl{index-bitwidth=32 runtime=HIP},gpu-to-hsaco{chip=…
|