xref: /libCEED/include/ceed/jit-source/cuda/cuda-jit.h (revision ac5aa7bc7371bf37e58d1cad715ff1f25da1e838)
1 // Copyright (c) 2017-2022, Lawrence Livermore National Security, LLC and other CEED contributors.
2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
3 //
4 // SPDX-License-Identifier: BSD-2-Clause
5 //
6 // This file is part of CEED:  http://github.com/ceed
7 
8 /// @file
9 /// Internal header for CUDA backend macro and type definitions for JiT source
10 #ifndef CEED_CUDA_JIT_H
11 #define CEED_CUDA_JIT_H
12 
13 #define CEED_QFUNCTION(name) inline __device__ int name
14 #define CEED_QFUNCTION_HELPER inline __device__
15 #define CeedPragmaSIMD
16 #define CEED_Q_VLA 1
17 
18 #include "cuda-types.h"
19 
20 #endif  // CEED_CUDA_JIT_H
21