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
50 How to Compile CUDA C/C++ with LLVM
53 We assume you have installed the CUDA driver and runtime. Consult the `NVIDIA
54 CUDA installation Guide
58 Suppose you want to compile and run the following CUDA program (``axpy.cu``)
107 …$ clang++ -o axpy -I<CUDA install path>/samples/common/inc -L<CUDA install path>/<lib64 or lib> ax…
114 Note that ``helper_cuda.h`` comes from the CUDA samples, so you need the
115 samples installed for this example. ``<CUDA install path>`` is the root
116 directory where you installed CUDA SDK, typically ``/usr/local/cuda``.
126 LLVM performs several general and CUDA-specific optimizations for GPUs. The