Debian Codegraph @

cmake/tribits/core/std_tpls/FindTPLCUDA.cmake

raw
1 # @HEADER
2 # *****************************************************************************
3 # Trilinos: An Object-Oriented Solver Framework
4 #
5 # Copyright 2001-2024 NTESS and the Trilinos contributors.
6 # SPDX-License-Identifier: BSD-3-Clause
7 # *****************************************************************************
8 # @HEADER
9
10 find_package(CUDAToolkit REQUIRED) # Will abort if not found!
11 tribits_extpkg_create_imported_all_libs_target_and_config_file( CUDA
12 INNER_FIND_PACKAGE_NAME CUDAToolkit
13 IMPORTED_TARGETS_FOR_ALL_LIBS CUDA::cufft CUDA::cublas CUDA::cudart CUDA::cuda_driver )
14 # Above, we could add more dependencies if we need