Skip to content

Commit

Permalink
fix build error with newer cuda versions (LeelaChessZero#1908)
Browse files Browse the repository at this point in the history
  • Loading branch information
borg323 authored Jul 30, 2023
1 parent 4e2baee commit 2146388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ if get_option('build_backends')
if cuda_cc != ''
nvcc_extra_args = ['-arch=compute_' + cuda_cc, '-code=sm_' + cuda_cc]
elif get_option('native_cuda') and nvcc_help.contains('-arch=native')
nvcc_extra_args = '-arch=native'
nvcc_extra_args = ['-arch=native']
endif
foreach x : get_option('cudnn_include')
cuda_arguments += ['-I', x]
Expand Down

0 comments on commit 2146388

Please sign in to comment.