Lines Matching refs:compiling
45 Invoking clang for CUDA compilation works similarly to compiling regular C++.
50 compiling CUDA code by noticing that your filename ends with ``.cu``.
74 Pass e.g. ``-L/usr/local/cuda/lib64`` if compiling in 64-bit mode; otherwise,
76 always have the same pointer widths, so if you're compiling 64-bit code for
77 the host, you're also compiling 64-bit code for the device.) Note that as of
93 The `-L` and `-l` flags only need to be passed when linking. When compiling,
107 compiling CUDA) Controls whether the compiler emits fused multiply-add
180 especially when compiling without optimizations.
191 when compiling with clang.
197 still want to detect when you're compiling CUDA code specifically with clang.
201 compiling for device code, and that host compiler may in fact be clang.
203 When clang is actually compiling CUDA code -- rather than being used as a
212 // clang compiling CUDA code, host mode.
216 // clang compiling CUDA code, device mode.
242 * For each GPU architecture ``arch`` that we're compiling for, do:
262 * For each GPU architecture ``arch`` that we're compiling for, do:
355 When compiling for device, HDs will call Ds with lower priority than HD, and
360 The rules are symmetrical when compiling for host.
383 foo(); // calls H overload when compiling for host, otherwise D overload