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