// Copyright (c) 2017-2025, Lawrence Livermore National Security, LLC and other CEED contributors. // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. // // SPDX-License-Identifier: BSD-2-Clause // // This file is part of CEED: http://github.com/ceed #pragma once #include #include #include #include typedef struct { bool use_fallback; CeedInt dim; CeedInt Q, Q_1d; CeedInt max_P_1d; CeedInt thread_1d; CUmodule module; CUfunction op; FieldsInt_Cuda indices; Fields_Cuda fields; Fields_Cuda B; Fields_Cuda G; CeedScalar *W; Points_Cuda points; } CeedOperator_Cuda_gen; typedef struct { const char *qfunction_name; void *d_c; } CeedQFunction_Cuda_gen; CEED_INTERN int CeedQFunctionCreate_Cuda_gen(CeedQFunction qf); CEED_INTERN int CeedOperatorCreate_Cuda_gen(CeedOperator op);