summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCUDACompilerABI.cu
Commit message (Collapse)AuthorAgeFilesLines
* CUDA: Add support for CUDA_ARCHITECTURES=nativeBrad King2022-03-101-2/+31
| | | | | | | | | | | CUDA 11.6 added the `nvcc -arch=native` flag to automatically compile for the host GPUs' architectures. Add support for specifying this special `native` value in `CMAKE_CUDA_ARCHITECTURES` and `CUDA_ARCHITECTURES`. During the compiler ABI detection step, detect the native architectures so we can pass them explicitly when using Clang or older versions of nvcc. Fixes: #22375
* CMakeDetermineCompilerABI: Detect byte order as part of checkBrad King2020-11-041-0/+2
| | | | | | | We already detect `sizeof(void*)`. Detect the byte order as part of the same check. Issue: #21392
* Revise C++ coding style using clang-format-6.0Kitware Robot2018-06-011-1/+1
| | | | | | | | | | | | Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 6.0. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* Modules: Run clang-format on CUDA codeBrad King2017-02-141-1/+1
|
* CUDA: We now properly perform CUDA compiler identification.Robert Maynard2016-11-141-0/+16