Skip to content

Commit

Permalink
cuda: add test for C++ linking of dependency('cuda')
Browse files Browse the repository at this point in the history
  • Loading branch information
SoapGentoo committed May 7, 2024
1 parent 7a0f9a5 commit 061f775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test cases/cuda/12 cuda dependency (mixed)/meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project('cuda dependency', 'cpp', 'cuda')

exe = executable('prog', 'prog.cpp', 'kernel.cu', dependencies: dependency('cuda', modules: ['cublas']))
exe = executable('prog', 'prog.cpp', 'kernel.cu', dependencies: dependency('cuda', modules: ['cublas']), link_language: 'cpp')
test('cudatest', exe)

0 comments on commit 061f775

Please sign in to comment.