diff options
| author | Raul Tambre <raul@tambre.ee> | 2021-11-06 11:35:04 (GMT) |
|---|---|---|
| committer | Raul Tambre <raul@tambre.ee> | 2021-11-07 19:28:08 (GMT) |
| commit | cf7e68087d005051ec07cb21c2aed2963a3d5c4e (patch) | |
| tree | 67869490366e8f5b2a448100581e494f3f5d07e3 /Tests/Module/WriteCompilerDetectionHeader/multi_files.cpp | |
| parent | 5b0693411ef53349f192140b855ec1cdc148f3b9 (diff) | |
| download | CMake-cf7e68087d005051ec07cb21c2aed2963a3d5c4e.zip CMake-cf7e68087d005051ec07cb21c2aed2963a3d5c4e.tar.gz CMake-cf7e68087d005051ec07cb21c2aed2963a3d5c4e.tar.bz2 | |
CUDA: Avoid unnecessary allocation and GetLinkLanguage()
There's no reason to allocate the cmNinjaLinkLineDeviceComputer on the heap.
We can also assume the link language as CUDA in cmLocalGenerator::GetDeviceLinkFlags().
Diffstat (limited to 'Tests/Module/WriteCompilerDetectionHeader/multi_files.cpp')
0 files changed, 0 insertions, 0 deletions
