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_defs_h 11 #define _ceed_cuda_jit_defs_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 <ceed/types.h> 19 20 typedef struct { const CeedScalar* inputs[16]; CeedScalar* outputs[16]; } Fields_Cuda; 21 22 #endif 23