Home
last modified time | relevance | path

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

12345

/netbsd-src/external/apache2/llvm/dist/llvm/docs/
H A DCompileCudaWithLLVM.rst2 Compiling CUDA with clang
11 This document describes how to compile CUDA code with clang, and gives some
12 details about LLVM and clang's CUDA implementations.
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
26 10.1. If clang detects a newer CUDA version, it will issue a warning and will
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
[all …]
H A DNVPTXUsage.rst21 This document assumes a basic familiarity with CUDA and the PTX
22 assembly language. Information about the CUDA Driver API and the PTX assembly
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``
121 Example: 64-bit PTX for CUDA Driver API: ``nvptx64-nvidia-cuda``
223 map in the following way to CUDA builtins:
226 CUDA Builtin PTX Special Register Intrinsic
252 instruction, equivalent to the ``__syncthreads()`` call in CUDA.
[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-src/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-src/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-src/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-src/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-src/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">;
1082 // CUDA attributes are spelled __attribute__((attr)) or __declspec(__attr__),
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];
[all …]
/netbsd-src/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-src/external/apache2/llvm/dist/clang/lib/Headers/cuda_wrappers/
H A Dcomplex1 /*===---- complex - CUDA wrapper for <complex> ------------------------------===
47 // functions that don't exist when compiling CUDA device code).
H A Dnew1 /*===---- new - CUDA wrapper for <new> -------------------------------------===
31 // and CUDA-specific macros are not available yet.
/netbsd-src/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-src/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-src/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-src/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.
1899 * acc_get_current_cuda_context::Get CUDA context handle.
1900 * acc_get_cuda_stream:: Get CUDA stream handle.
1901 * acc_set_cuda_stream:: Set CUDA stream handle.
2931 @section @code{acc_get_current_cuda_device} -- Get CUDA device handle.
2934 This function returns the CUDA device handle. This handle is the same
2935 as used by the CUDA Runtime or Driver API's.
2950 @section @code{acc_get_current_cuda_context} -- Get CUDA context handle.
2953 This function returns the CUDA context handle. This handle is the same
[all …]
/netbsd-src/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.
2433 * acc_get_current_cuda_context::Get CUDA context handle.
2434 * acc_get_cuda_stream:: Get CUDA stream handle.
2435 * acc_set_cuda_stream:: Set CUDA stream handle.
3465 @section @code{acc_get_current_cuda_device} -- Get CUDA device handle.
3468 This function returns the CUDA device handle. This handle is the same
3469 as used by the CUDA Runtime or Driver API's.
3484 @section @code{acc_get_current_cuda_context} -- Get CUDA context handle.
3487 This function returns the CUDA context handle. This handle is the same
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DBuiltins.cpp78 bool CUDAUnsupported = !LangOpts.CUDA && BuiltinInfo.Langs == CUDA_LANG; in builtinIsSupported()
/netbsd-src/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.
219 Flush denormal floating point values to zero in CUDA device mode.
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
479 CUDA offloading device architecture (e.g. sm\_35), or HIP offloading target ID in the form of a dev…
1044 Ignore environment variables to detect CUDA installation
[all …]

12345