Skip to content

Commit

Permalink
cuda: add test for late add_languages('cuda')
Browse files Browse the repository at this point in the history
  • Loading branch information
SoapGentoo authored and eli-schwartz committed May 29, 2024
1 parent 7f2c6f6 commit 6f3841e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test cases/cuda/17 separate compilation linking/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
# code:
# https://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/index.html#examples

project('device linking', ['cpp', 'cuda'], version : '1.0.0')
project('device linking', ['cpp'], version : '1.0.0')

# test that optional initialization of cuda works to disable thin archives
add_languages('cuda')

nvcc = meson.get_compiler('cuda')
cuda = import('unstable-cuda')
Expand Down

0 comments on commit 6f3841e

Please sign in to comment.