numam-dpdk/drivers/gpu/cuda/meson.build
Elena Agostini 1306a73b19 gpu/cuda: introduce CUDA driver
This is the CUDA implementation of the gpudev library.
Functionalities implemented through CUDA Driver API are:
- Device probe and remove
- Manage device memory allocations
- Register/unregister external CPU memory in the device memory area

Signed-off-by: Elena Agostini <eagostini@nvidia.com>
2021-11-16 17:47:52 +01:00

22 lines
541 B
Meson

# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) 2021 NVIDIA Corporation & Affiliates
if not is_linux
build = false
reason = 'only supported on Linux'
subdir_done()
endif
if not cc.has_header('cuda.h')
build = false
reason = 'missing dependency, "cuda.h"'
subdir_done()
endif
if not cc.has_header('cudaTypedefs.h')
build = false
reason = 'missing dependency, "cudaTypedefs.h"'
subdir_done()
endif
deps += ['gpudev', 'pci', 'bus_pci']
sources = files('cuda.c')