Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DROCm.h129 SmallString<0> HIP; variable
151 return !OCML.empty() && !OCKL.empty() && !OpenCL.empty() && !HIP.empty() && in allGenericLibsValid()
233 assert(!HIP.empty()); in getHIPPath()
234 return HIP; in getHIPPath()
H A DHIPUtility.cpp41 void HIP::constructHIPFatbinCommand(Compilation &C, const JobAction &JA, in constructHIPFatbinCommand()
104 void HIP::constructGenerateObjFileFromHIPFatBinary( in constructGenerateObjFileFromHIPFatBinary()
124 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()
H A DHIPAMD.cpp202 return HIP::constructGenerateObjFileFromHIPFatBinary(C, Output, Inputs, in ConstructJob()
206 return HIP::constructHIPFatbinCommand(C, JA, Output.getFilename(), Inputs, in ConstructJob()
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DLangOptions.cpp181 Opts.HIP = Lang == Language::HIP; in setLangDefaults()
182 Opts.CUDA = Lang == Language::CUDA || Opts.HIP; in setLangDefaults()
183 if (Opts.HIP) { in setLangDefaults()
H A DLangStandards.cpp40 case Language::HIP: in languageToString()
101 case Language::HIP: in getDefaultLanguageStandard()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DLangOptions.def246 LANGOPT(HIP , 1, 0, "HIP")
276 …eTemplates, 1, 0, "assume template functions to be implicitly host device by default for CUDA/HIP")
277 LANGOPT(GPUAllowDeviceInit, 1, 0, "allowing device side global init functions for HIP")
278 …(GPUMaxThreadsPerBlock, 32, 1024, "default max threads per block for kernel launch bounds for HIP")
279 LANGOPT(GPUDeferDiag, 1, 0, "defer host/device related diagnostic messages for CUDA/HIP")
280 …gSideOverloads, 1, 0, "always exclude wrong side overloads in overloading resolution for CUDA/HIP")
287 LANGOPT(HIPUseNewLaunchAPI, 1, 0, "Use new kernel launching API for HIP")
288 … that kernels are launched with uniform block sizes (default true for CUDA/HIP and false otherwise…
289 LANGOPT(HIPStdPar, 1, 0, "Enable Standard Parallel Algorithm Acceleration for HIP (experimental)")
290 … "Replace allocations / deallocations with HIP RT calls when Standard Parallel Algorithm Accelerat…
H A DSyncScope.h95 enum class AtomicScopeModelKind { None, OpenCL, HIP, Generic }; enumerator
280 case AtomicScopeModelKind::HIP: in create()
H A DLangStandard.h42 HIP, enumerator
H A DDiagnosticDriverKinds.td73 "cannot find HIP runtime; provide its path via '--rocm-path', or pass "
74 "'-nogpuinc' to build without HIP runtime">;
76 "cannot find HIP Standard Parallelism Acceleration library; provide it via "
79 "cannot find rocThrust, which is required by the HIP Standard Parallelism "
83 "cannot find rocPrim, which is required by the HIP Standard Parallelism "
87 "cannot find HIP device library%select{| for %1}0; provide its path via "
89 "without HIP device library">;
114 "mixed CUDA and HIP compilation is not supported">;
H A DDiagnosticCommonKinds.td417 // HIP
419 "'%0' is ignored since it is only supported for HIP">,
H A DFeatures.def291 // CUDA/HIP Features
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCUDANV.cpp198 if (CGM.getLangOpts().HIP) in addPrefixToName()
204 if (CGM.getLangOpts().HIP) in addUnderscoredPrefixToName()
247 if (CGM.getLangOpts().HIP) { in getLaunchFn()
314 (CGF.getLangOpts().HIP && CGF.getLangOpts().HIPUseNewLaunchAPI)) in emitDeviceStub()
358 if (CGF.getLangOpts().HIP) in emitDeviceStubBodyNew()
566 if (CGM.getLangOpts().HIP || in makeRegisterGlobalsFn()
686 bool IsHIP = CGM.getLangOpts().HIP; in makeModuleCtorFunction()
978 if (CGM.getLangOpts().HIP) { in makeModuleDtorFunction()
1117 StringRef Section = CGM.getLangOpts().HIP ? "hip_offloading_entries" in createOffloadingEntries()
1206 if (CGM.getLangOpts().HIP) { in getKernelHandle()
[all …]
H A DCGDeclCXX.cpp787 if (getLangOpts().HIP && getLangOpts().CUDAIsDevice) { in EmitCXXModuleInitFunc()
941 if (getLangOpts().HIP && getLangOpts().CUDAIsDevice) { in EmitCXXGlobalInitFunc()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendOptions.cpp34 .Case("hip", Language::HIP) in getInputKindForExtension()
H A DInitPreprocessor.cpp574 if (!LangOpts.HIP) in InitializeStandardPredefinedMacros()
580 if (LangOpts.HIP) { in InitializeStandardPredefinedMacros()
1318 if (LangOpts.CUDAIsDevice && !LangOpts.HIP) { in InitializePredefinedMacros()
H A DCompilerInvocation.cpp615 if (Args.hasArg(OPT_fgpu_allow_device_init) && !LangOpts.HIP) in FixupInvocation()
619 if (Args.hasArg(OPT_gpu_max_threads_per_block_EQ) && !LangOpts.HIP) in FixupInvocation()
2726 case Language::HIP: in GenerateFrontendArgs()
2930 .Case("hip", Language::HIP) in ParseFrontendArgs()
3320 case Language::HIP: in IsInputCompatibleWithStandard()
3321 return S.getLanguage() == Language::CXX || S.getLanguage() == Language::HIP; in IsInputCompatibleWithStandard()
3355 case Language::HIP: in GetInputKindName()
/freebsd-14.2/sys/contrib/device-tree/Bindings/pci/
H A Daltera-pcie.txt6 For "altr,pcie-root-port-2.0", additional HIP base address and length.
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DSPIR.cpp128 if (getABIInfo().getContext().getLangOpts().HIP) { in setCUDAKernelCallingConvention()
H A DAMDGPU.cpp174 if (getContext().getLangOpts().HIP) { in classifyKernelArgumentType()
326 const bool IsHIPKernel = M.getLangOpts().HIP && FD->hasAttr<CUDAGlobalAttr>(); in setFunctionDeclAttributes()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Driver/
H A DOptions.td164 def hip_Group : OptionGroup<"<HIP group>">, Group<f_Group>,
165 DocName<"HIP options">,
580 defvar hip = LangOpts<"HIP">;
1231 HelpText<"Compress offload device binaries (HIP only)">;
1298 // HIP options
1301 HelpText<"Link clang-offload-bundler bundles for HIP">;
1303 HelpText<"Do not link against HIP runtime libraries">;
1307 …HelpText<"HIP runtime installation path, used for finding HIP version and adding HIP include path.…
1338 HelpText<"HIP device library">;
1383 HelpText<"Compile HIP source to relocatable">;
[all …]
H A DTypes.def48 TYPE("hip", HIP, PP_HIP, "hip", phases::Preprocess, phase…
/freebsd-14.2/lib/libc/net/
H A Dprotocols149 hip 139 HIP # Host Identity Protocol (RFC5201)
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86RegisterInfo.td156 def HIP : X86Reg<"", -1>;
243 def EIP : X86Reg<"eip", 0, [IP, HIP]>, DwarfRegNum<[-2, 8, 8]>;
570 (add HAX, HCX, HDX, HSI, HDI, HBX, HBP, HSP, HIP, R8WH,

12