alpaka
Abstraction Library for Parallel Kernel Acceleration
GpuCudaRt.hpp
Go to the documentation of this file.
1 /* Copyright 2022 Benjamin Worpitz, Jan Stephan
2  * SPDX-License-Identifier: MPL-2.0
3  */
4 
5 #pragma once
6 
7 #ifndef ALPAKA_ACC_GPU_CUDA_ENABLED
8 # define ALPAKA_ACC_GPU_CUDA_ENABLED
9 #endif
10 
12 
13 #if defined(BOOST_COMP_CLANG_CUDA) && (BOOST_COMP_CLANG_CUDA == BOOST_VERSION_NUMBER(14, 0, 0))
14 
15 # include <cuda.h>
16 
17 # if(CUDART_VERSION == 11030)
18 # error "clang-14 cannot be used as CUDA compiler when using CUDA v11.3. See alpaka GitHub issue 1857."
19 # endif
20 
21 #endif