Home
last modified time | relevance | path

Searched refs:CUDA (Results 1 – 25 of 114) sorted by relevance

12345

/netbsd/external/apache2/llvm/dist/llvm/docs/
H A DCompileCudaWithLLVM.rst2 Compiling CUDA with clang
14 This document assumes a basic familiarity with CUDA. Information about CUDA
16 `CUDA programming guide
19 Compiling CUDA Code
25 CUDA is supported since llvm 3.9. Clang currently supports CUDA 7.0 through
27 attempt to use detected CUDA SDK it as if it were CUDA-10.1.
29 Before you build CUDA code, you'll need to have installed the CUDA SDK. See
30 `NVIDIA's CUDA installation guide
68 "CUDA driver version is insufficient for CUDA runtime version" errors when you
71 * ``<CUDA install path>`` -- the directory where you installed CUDA SDK.
[all …]
H A DNVPTXUsage.rst21 This document assumes a basic familiarity with CUDA and the PTX
23 language can be found in the `CUDA documentation
100 copy data to it by name with the CUDA Driver API.
117 generated PTX compatible with the CUDA Driver API.
119 Example: 32-bit PTX for CUDA Driver API: ``nvptx-nvidia-cuda``
223 map in the following way to CUDA builtins:
226 CUDA Builtin PTX Special Register Intrinsic
657 // CUDA initialization
664 std::cout << "Using CUDA Device [0]: " << name << "\n";
766 system location by the driver, not the CUDA toolkit.
[all …]
H A DDocker.rst136 preinstalled CUDA libraries and allows to access a GPU, installed on your
142 If you want to use CUDA libraries and have access to a GPU on your machine,
/netbsd/external/apache2/llvm/dist/clang/lib/Frontend/
H A DFrontendOptions.cpp22 .Case("cui", InputKind(Language::CUDA).getPreprocessed()) in getInputKindForExtension()
33 .Cases("cu", "cuh", Language::CUDA) in getInputKindForExtension()
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaCUDA.cpp38 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in PushForceCUDAHostDevice()
43 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in PopForceCUDAHostDevice()
628 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in maybeAddCUDAHostDeviceAttrs()
685 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in CUDADiagIfDeviceCode()
715 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in CUDADiagIfHostCode()
743 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in CheckCUDACall()
845 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in CUDASetLambdaAttrs()
854 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in checkCUDATargetOverload()
/netbsd/external/gpl3/gcc/dist/libgomp/plugin/
H A Dconfigfrag.ac41 # Look for the CUDA driver package.
50 [specify prefix directory for installed CUDA driver package.
55 [specify directory for installed CUDA driver include files])])
58 [specify directory for the installed CUDA driver library])])
204 AC_MSG_ERROR([CUDA driver package required for nvptx support])
/netbsd/external/gpl3/gcc.old/dist/libgomp/plugin/
H A Dconfigfrag.ac41 # Look for the CUDA driver package.
50 [specify prefix directory for installed CUDA driver package.
55 [specify directory for installed CUDA driver include files])])
58 [specify directory for the installed CUDA driver library])])
214 AC_MSG_ERROR([CUDA driver package required for nvptx support])
/netbsd/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DLangOptions.def227 LANGOPT(CUDA , 1, 0, "CUDA")
235 …eFullRuntime , 1, 0, "Force to use full runtime in all constructs when offloading to CUDA devices")
236 LANGOPT(OpenMPCUDANumSMs , 32, 0, "Number of SMs for CUDA devices.")
237 LANGOPT(OpenMPCUDABlocksPerSM , 32, 0, "Number of blocks per SM for CUDA devices.")
243 LANGOPT(CUDAIsDevice , 1, 0, "compiling for CUDA device")
244 LANGOPT(CUDAAllowVariadicFunctions, 1, 0, "allowing variadic functions in CUDA device code")
250 LANGOPT(GPUDeferDiag, 1, 0, "defer host/device related diagnostic messages for CUDA/HIP")
251 …gSideOverloads, 1, 0, "always exclude wrong side overloads in overloading resolution for CUDA/HIP")
H A DLangStandards.def195 // CUDA
196 LANGSTANDARD(cuda, "cuda", CUDA, "NVIDIA CUDA(tm)",
H A DDiagnosticDriverKinds.td55 def err_drv_cuda_bad_gpu_arch : Error<"Unsupported CUDA gpu architecture: %0">;
57 "cannot find CUDA installation. Provide its path via --cuda-path, or pass "
58 "-nocudainc to build without CUDA includes.">;
60 "cannot find libdevice for %0. Provide path to different CUDA installation "
73 "GPU arch %0 is supported by CUDA versions between %1 and %2 (inclusive), "
74 "but installation at %3 is %4. Use --cuda-path to specify a different CUDA "
78 "Unknown CUDA version. %0 Assuming the latest supported version %1">,
271 …d_target_cuda_version_not_support : Error<"NVPTX target requires CUDA 9.2 or above. CUDA %0 is det…
H A DLangStandard.h36 CUDA, enumerator
H A DAttr.td326 def CUDA : LangOpt<"CUDA">;
1087 let LangOpts = [CUDA];
1093 let LangOpts = [CUDA];
1099 let LangOpts = [CUDA];
1105 let LangOpts = [CUDA];
1111 let LangOpts = [CUDA];
1121 let LangOpts = [CUDA];
1133 let LangOpts = [CUDA];
1141 let LangOpts = [CUDA];
1157 let LangOpts = [CUDA];
[all …]
/netbsd/external/apache2/llvm/dist/clang/lib/Headers/openmp_wrappers/
H A Dcmath39 // Overloads not provided by the CUDA wrappers but by the CUDA system headers.
/netbsd/external/apache2/llvm/dist/clang/lib/Headers/cuda_wrappers/
H A Dnew1 /*===---- new - CUDA wrapper for <new> -------------------------------------===
31 // and CUDA-specific macros are not available yet.
H A Dcomplex1 /*===---- complex - CUDA wrapper for <complex> ------------------------------===
47 // functions that don't exist when compiling CUDA device code).
/netbsd/external/apache2/llvm/dist/clang/lib/AST/
H A DMicrosoftCXXABI.cpp96 if (Context.getLangOpts().CUDA && Context.getAuxTargetInfo()) { in MicrosoftCXXABI()
162 if (Context.getLangOpts().CUDA && Context.getAuxTargetInfo()) { in createMangleNumberingContext()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXSubtarget.cpp58 if (TM.getDrvInterface() == NVPTX::CUDA) in hasImageHandles()
H A DNVPTXLowerArgs.cpp332 if (TM && TM->getDrvInterface() == NVPTX::CUDA) { in runOnKernelFunction()
356 else if (TM && TM->getDrvInterface() == NVPTX::CUDA) in runOnKernelFunction()
H A DNVPTX.h72 CUDA enumerator
H A DNVPTXReplaceImageHandles.cpp148 if (TM.getDrvInterface() == NVPTX::CUDA) { in findIndexForHandle()
/netbsd/sys/arch/macppc/conf/
H A DINSTALL_601114 cuda* at obio? # CUDA, for Old World PowerMacs
122 iic0 at cuda0 # CUDA's IIC bus
/netbsd/external/gpl3/gcc.old/dist/libgomp/
H A Dlibgomp.texi110 * CUDA Streams Usage:: Notes on the implementation of
1898 * acc_get_current_cuda_device:: Get CUDA device handle.
1900 * acc_get_cuda_stream:: Get CUDA stream handle.
1901 * acc_set_cuda_stream:: Set CUDA stream handle.
2935 as used by the CUDA Runtime or Driver API's.
2954 as used by the CUDA Runtime or Driver API's.
3160 @c CUDA Streams Usage
3163 @node CUDA Streams Usage
3164 @chapter CUDA Streams Usage
3199 CUDA stream.
[all …]
/netbsd/external/gpl3/gcc/dist/libgomp/
H A Dlibgomp.texi111 * CUDA Streams Usage:: Notes on the implementation of
2432 * acc_get_current_cuda_device:: Get CUDA device handle.
2434 * acc_get_cuda_stream:: Get CUDA stream handle.
2435 * acc_set_cuda_stream:: Set CUDA stream handle.
3469 as used by the CUDA Runtime or Driver API's.
3488 as used by the CUDA Runtime or Driver API's.
3694 @c CUDA Streams Usage
3697 @node CUDA Streams Usage
3698 @chapter CUDA Streams Usage
3733 CUDA stream.
[all …]
/netbsd/external/apache2/llvm/dist/clang/lib/Basic/
H A DBuiltins.cpp78 bool CUDAUnsupported = !LangOpts.CUDA && BuiltinInfo.Langs == CUDA_LANG; in builtinIsSupported()
/netbsd/external/apache2/llvm/dist/clang/docs/
H A DClangCommandLineReference.rst63 Pass <arg> to the CUDA/HIP device compilation
69 Pass <arg> to the CUDA/HIP host compilation
149 Compile CUDA code for both host and device (default). Has no effect on non-CUDA compilations.
153 Compile CUDA code for device only
157 Compile CUDA code for host only. Has no effect on non-CUDA compilations.
363 Don't error out if the detected version of the CUDA install is too low for the requested CUDA gpu a…
381 Do not link device library for CUDA/HIP device compilation
1044 Ignore environment variables to detect CUDA installation
1048 CUDA installation path
1164 Path to ptxas (used for compiling CUDA code)
[all …]

12345