xref: /libCEED/rust/libceed-sys/c-src/include/ceed/jit-source/cuda/cuda-jit.h (revision d275d636ccaa61e594421fac80252590e7a77ccf)
1*d275d636SJeremy L Thompson // Copyright (c) 2017-2025, 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 
11c9c2c079SJeremy L Thompson #define CEED_QFUNCTION(name) inline __device__ int name
12c9c2c079SJeremy L Thompson #define CEED_QFUNCTION_HELPER inline __device__
13c9c2c079SJeremy L Thompson #define CeedPragmaSIMD
14c9c2c079SJeremy L Thompson #define CEED_Q_VLA 1
15c9c2c079SJeremy L Thompson 
169e201c85SYohann #include "cuda-types.h"
17