]> git.droids-corp.org - dpdk.git/blobdiff - drivers/gpu/cuda/meson.build
common/cnxk: fix channel number setting in MCAM entries
[dpdk.git] / drivers / gpu / cuda / meson.build
index 3fe20929fa98c35107788bf23f014f811e3fc2c1..784fa8bf0dafaab0beef0442446d566b8b64eb57 100644 (file)
@@ -17,5 +17,9 @@ if not cc.has_header('cudaTypedefs.h')
         subdir_done()
 endif
 
+if cc.has_header('gdrapi.h')
+        dpdk_conf.set('DRIVERS_GPU_CUDA_GDRCOPY_H', 1)
+endif
+
 deps += ['gpudev', 'pci', 'bus_pci']
-sources = files('cuda.c')
+sources = files('cuda.c', 'gdrcopy.c')