| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaBase.cpp | 65 bool ShouldDefer = getLangOpts().CUDA && getLangOpts().GPUDeferDiag && in Diag() 79 ? SemaRef.CUDA().DiagIfDeviceCode(Loc, DiagID) in Diag() 80 : SemaRef.CUDA().DiagIfHostCode(Loc, DiagID); in Diag()
|
| H A D | SemaCUDA.cpp | 40 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in PushForceHostDevice() 45 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in PopForceHostDevice() 763 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in maybeAddHostDeviceAttrs() 842 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in DiagIfDeviceCode() 874 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in DiagIfHostCode() 904 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in CheckCall() 1019 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in SetLambdaAttrs() 1028 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in checkTargetOverload()
|
| H A D | Sema.cpp | 1791 auto FnIt = S.CUDA().DeviceKnownEmittedFns.find(FD); in emitCallStackNotes() 1792 while (FnIt != S.CUDA().DeviceKnownEmittedFns.end()) { in emitCallStackNotes() 1799 FnIt = S.CUDA().DeviceKnownEmittedFns.find(FnIt->second.FD); in emitCallStackNotes() 1944 S.CUDA().DeviceKnownEmittedFns[FD] = {Caller, Loc}; in checkFunc() 2101 if (getLangOpts().CUDA) in targetDiag() 2102 return getLangOpts().CUDAIsDevice ? CUDA().DiagIfDeviceCode(Loc, DiagID) in targetDiag() 2103 : CUDA().DiagIfHostCode(Loc, DiagID); in targetDiag()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | FrontendOptions.cpp | 22 .Case("cui", InputKind(Language::CUDA).getPreprocessed()) in getInputKindForExtension() 33 .Cases("cu", "cuh", Language::CUDA) in getInputKindForExtension()
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | LangStandards.cpp | 38 case Language::CUDA: in languageToString() 112 case Language::CUDA: in getDefaultLanguageStandard()
|
| H A D | LangOptions.cpp | 188 Opts.CUDA = Lang == Language::CUDA || Opts.HIP; in setLangDefaults() 199 } else if (Opts.CUDA) { in setLangDefaults()
|
| H A D | Builtins.cpp | 186 if (!LangOpts.CUDA && BuiltinInfo.Langs == CUDA_LANG) in builtinIsSupported()
|
| /freebsd/lib/clang/headers/ |
| H A D | Makefile | 240 INCSGROUPS+= CUDA 242 CUDA+= cuda_wrappers/algorithm 243 CUDA+= cuda_wrappers/cmath 244 CUDA+= cuda_wrappers/complex 245 CUDA+= cuda_wrappers/new
|
| /freebsd/contrib/llvm-project/clang/lib/Headers/cuda_wrappers/ |
| H A D | cmath | 1 /*===---- cmath - CUDA wrapper for <cmath> ---------------------------------=== 35 // libc++ will need long double variants of these functions, but CUDA does not
|
| H A D | new | 1 /*===---- new - CUDA wrapper for <new> -------------------------------------=== 31 // and CUDA-specific macros are not available yet.
|
| H A D | complex | 1 /*===---- complex - CUDA wrapper for <complex> ------------------------------=== 47 // functions that don't exist when compiling CUDA device code).
|
| H A D | algorithm | 1 /*===---- algorithm - CUDA wrapper for <algorithm> -------------------------===
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | LangOptions.def | 223 LANGOPT(CUDA , 1, 0, NotCompatible, "CUDA") 232 LANGOPT(OpenMPCUDANumSMs , 32, 0, NotCompatible, "Number of SMs for CUDA devices.") 233 LANGOPT(OpenMPCUDABlocksPerSM , 32, 0, NotCompatible, "Number of blocks per SM for CUDA devices.") 250 LANGOPT(CUDAIsDevice , 1, 0, NotCompatible, "compiling for CUDA device") 251 LANGOPT(CUDAAllowVariadicFunctions, 1, 0, NotCompatible, "allowing variadic functions in CUDA devic… 255 …0, NotCompatible, "assume template functions to be implicitly host device by default for CUDA/HIP") 258 LANGOPT(GPUDeferDiag, 1, 0, NotCompatible, "defer host/device related diagnostic messages for CUDA/… 259 … 1, 0, NotCompatible, "always exclude wrong side overloads in overloading resolution for CUDA/HIP") 268 …sume that kernels are launched with uniform block sizes (default true for CUDA/HIP and false other…
|
| H A D | DiagnosticDriverKinds.td | 57 def err_drv_cuda_bad_gpu_arch : Error<"unsupported CUDA gpu architecture: %0">; 62 "cannot find CUDA installation; provide its path via '--cuda-path', or pass " 63 "'-nocudainc' to build without CUDA includes">; 65 "cannot find libdevice for %0; provide path to different CUDA installation " 105 "GPU arch %0 is supported by CUDA versions between %1 and %2 (inclusive), " 106 "but installation at %3 is %4; use '--cuda-path' to specify a different CUDA " 110 "CUDA version%0 is newer than the latest%select{| partially}1 supported version %2">, 113 "CUDA version %0 is only partially supported">, 118 "mixed CUDA and HIP compilation is not supported">; 379 "NVPTX target requires CUDA 9.2 or above; CUDA %0 detected">; [all …]
|
| H A D | LangStandard.h | 41 CUDA, enumerator
|
| H A D | Features.def | 374 // CUDA/HIP Features 375 FEATURE(cuda_noinline_keyword, LangOpts.CUDA) 376 EXTENSION(cuda_implicit_host_device_templates, LangOpts.CUDA && LangOpts.OffloadImplicitHostDeviceT…
|
| H A D | Attr.td | 429 def CUDA : LangOpt<"CUDA">; 1490 // CUDA attributes are spelled __attribute__((attr)) or __declspec(__attr__), 1495 let LangOpts = [CUDA]; 1501 let LangOpts = [CUDA]; 1507 let LangOpts = [CUDA]; 1513 let LangOpts = [CUDA]; 1519 let LangOpts = [CUDA]; 1529 let LangOpts = [CUDA]; 1541 let LangOpts = [CUDA]; 1549 let LangOpts = [CUDA]; [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | NVPTX.cpp | 248 if (M.getLangOpts().CUDA) { in setTargetAttributes() 264 if (M.getLangOpts().OpenCL || M.getLangOpts().CUDA) { in setTargetAttributes()
|
| /freebsd/sys/powerpc/conf/ |
| H A D | NOTES | 58 device cuda # VIA-CUDA ADB interface
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTX.h | 118 CUDA enumerator
|
| H A D | NVPTXAsmPrinter.h | 247 NVPTX::CUDA) {} in NVPTXAsmPrinter()
|
| H A D | NVPTXLowerArgs.cpp | 646 if (TM.getDrvInterface() == NVPTX::CUDA) { in runOnKernelFunction() 673 TM.getDrvInterface() == NVPTX::CUDA) { in runOnKernelFunction()
|
| H A D | NVPTXTargetMachine.cpp | 157 drvInterface = NVPTX::CUDA; in NVPTXTargetMachine()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | SemaInternal.h | 41 if (!LangOpts.CUDA || !D) in DeclAttrsMatchCUDAMode()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | TargetInfo.cpp | 139 !(CGM.getLangOpts().CUDA && CGM.getLangOpts().CUDAIsDevice) && in getGlobalVarAddressSpace()
|