Home
last modified time | relevance | path

Searched refs:HIP (Results 1 – 25 of 67) sorted by relevance

123

/llvm-project-15.0.7/clang/test/Driver/
H A Dhipspv-device-libs.hip6 // 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 Dhip-version.hip12 // 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 Dhip-include-path.hip8 // 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 Dhip-runtime-libs-linux.hip5 // 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 Dhipspv-pass-plugin.hip6 // 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 Dhip-inputs.hip21 // CHECK-NOT: error: mixed CUDA and HIP compilation is not supported
22 // MIX: error: mixed CUDA and HIP compilation is not supported
H A Drocm-detect.hip89 // 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 Dhip-runtime-libs-msvc.hip5 // Test HIP runtime lib args specified by --rocm-path.
/llvm-project-15.0.7/mlir/lib/ExecutionEngine/
H A DCMakeLists.txt192 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 DROCm.h118 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 DHIPUtility.cpp41 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 DHIPUtility.h17 namespace HIP {
H A DHIPSPV.cpp113 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 DLangOptions.cpp172 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 DLangStandards.cpp84 case Language::HIP: in getDefaultLanguageStandard()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DSyncScope.h80 enum class AtomicScopeModelKind { None, OpenCL, HIP }; enumerator
215 case AtomicScopeModelKind::HIP: in create()
H A DLangStandards.def207 // HIP
208 LANGSTANDARD(hip, "hip", HIP, "HIP",
H A DLangOptions.def239 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 DLangStandard.h42 HIP, enumerator
/llvm-project-15.0.7/mlir/include/mlir/Conversion/GPUToROCDL/
H A DRuntimes.h17 HIP = 1, enumerator
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCUDANV.cpp185 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 DClangOffloadBundler.rst48 | 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 DClangCommandLineReference.rst63 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 DFrontendOptions.cpp34 .Case("hip", Language::HIP) in getInputKindForExtension()
/llvm-project-15.0.7/mlir/test/Integration/GPU/ROCM/
H A Dprintf.mlir2 …'gpu.module(strip-debuginfo,convert-gpu-to-rocdl{index-bitwidth=32 runtime=HIP},gpu-to-hsaco{chip=…

123