[dpdk-dev] [PATCH v3 1/1] gpu/cuda: introduce CUDA driver
David Marchand
david.marchand at redhat.com
Mon Nov 8 20:52:19 CET 2021
On Mon, Nov 8, 2021 at 7:17 PM <eagostini at nvidia.com> wrote:
> diff --git a/drivers/gpu/cuda/meson.build b/drivers/gpu/cuda/meson.build
> new file mode 100644
> index 0000000000..92b30c35b4
> --- /dev/null
> +++ b/drivers/gpu/cuda/meson.build
> @@ -0,0 +1,13 @@
> +# SPDX-License-Identifier: BSD-3-Clause
> +# Copyright (c) 2021 NVIDIA Corporation & Affiliates
> +
> +if not is_linux
> + build = false
> + reason = 'only supported on Linux'
> +endif
> +
> +cuda_dep = dependency('cuda', version : '>=11', modules: ['cuda'])
Compiler for C supports arguments -D_DEFAULT_SOURCE: YES
Compiler for C supports arguments -D_XOPEN_SOURCE=600: YES
Compiler for C supports arguments -flax-vector-conversions: YES
Compiler for C supports arguments -Wno-strict-aliasing -Wstrict-aliasing: YES
Compiler for C supports arguments -Wno-format-nonliteral
-Wformat-nonliteral: YES
Library libturbo found: NO
Library libldpc_decoder_5gnr found: NO
Dependency cuda found: NO (tried pkgconfig and cmake)
drivers/gpu/cuda/meson.build:9:0: ERROR: Dependency "cuda" not found,
tried pkgconfig and cmake
--
David Marchand
More information about the dev
mailing list