We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74725ea commit cae30dfCopy full SHA for cae30df
1 file changed
meson.build
@@ -288,6 +288,16 @@ endif
288
if get_option('use_gpu')
289
gpu_c_args = common_c_args + ['-DPY_GPU=1', '-DINDIRECT=1']
290
_deps += cuda_dep
291
+ cublas_dep = cc.find_library('cublas', required: true)
292
+ if not cublas_dep.found()
293
+ cublas_dep = dependency('cublas', required: true)
294
+ endif
295
+ _deps += cublas_dep
296
+ cusparse_dep = cc.find_library('cusparse', required: true)
297
+ if not cusparse_dep.found()
298
+ cusparse_dep = dependency('cusparse', required: true)
299
300
+ _deps += cusparse_dep
301
if get_option('gpu_atrans')
302
gpu_c_args += '-DGPU_TRANSPOSE_MAT=1'
303
endif
0 commit comments