Lines Matching refs:CUDA
2 Compiling CUDA C/C++ with LLVM
11 This document contains the user guides and the internals of compiling CUDA
12 C/C++ with LLVM. It is aimed at both users who want to compile CUDA with LLVM
14 familiarity with CUDA. Information about CUDA programming can be found in the
15 `CUDA programming guide
18 How to Build LLVM with CUDA Support
21 CUDA support is still in development and works the best in the trunk version
52 How to Compile CUDA C/C++ with LLVM
55 We assume you have installed the CUDA driver and runtime. Consult the `NVIDIA
56 CUDA installation guide
60 Suppose you want to compile and run the following CUDA program (``axpy.cu``)
108 -L<CUDA install path>/<lib64 or lib> \
116 ``<CUDA install path>`` is the root directory where you installed CUDA SDK,
125 Although clang's CUDA implementation is largely compatible with NVCC's, you may
126 still want to detect when you're compiling CUDA code specifically with clang.
132 When clang is actually compiling CUDA code -- rather than being used as a
135 preprocessor). So you can use the following incantations to detect clang CUDA
141 // clang compiling CUDA code, host mode.
145 // clang compiling CUDA code, device mode.
148 Both clang and nvcc define ``__CUDACC__`` during CUDA compilation. You can
161 compiling CUDA) Controls whether the compiler emits fused multiply-add
199 LLVM performs several general and CUDA-specific optimizations for GPUs. The
259 To obtain help on LLVM in general and its CUDA support, see `the LLVM