xref: /libCEED/rust/libceed-sys/c-src/backends/memcheck/ceed-memcheck.h (revision d1d35e2f02dc969aee8debf3fd943dd784aa847a)
1fc7cf9a0Sjeremylt // Copyright (c) 2017-2018, Lawrence Livermore National Security, LLC.
2fc7cf9a0Sjeremylt // Produced at the Lawrence Livermore National Laboratory. LLNL-CODE-734707.
3fc7cf9a0Sjeremylt // All Rights reserved. See files LICENSE and NOTICE for details.
4fc7cf9a0Sjeremylt //
5fc7cf9a0Sjeremylt // This file is part of CEED, a collection of benchmarks, miniapps, software
6fc7cf9a0Sjeremylt // libraries and APIs for efficient high-order finite element and spectral
7fc7cf9a0Sjeremylt // element discretizations for exascale applications. For more information and
8fc7cf9a0Sjeremylt // source code availability see http://github.com/ceed.
9fc7cf9a0Sjeremylt //
10fc7cf9a0Sjeremylt // The CEED research is supported by the Exascale Computing Project 17-SC-20-SC,
11fc7cf9a0Sjeremylt // a collaborative effort of two U.S. Department of Energy organizations (Office
12fc7cf9a0Sjeremylt // of Science and the National Nuclear Security Administration) responsible for
13fc7cf9a0Sjeremylt // the planning and preparation of a capable exascale ecosystem, including
14fc7cf9a0Sjeremylt // software, applications, hardware, advanced system engineering and early
15fc7cf9a0Sjeremylt // testbed platforms, in support of the nation's exascale computing imperative.
16fc7cf9a0Sjeremylt 
173d576824SJeremy L Thompson #ifndef _ceed_memcheck_h
183d576824SJeremy L Thompson #define _ceed_memcheck_h
193d576824SJeremy L Thompson 
20ec3da8bcSJed Brown #include <ceed/ceed.h>
21ec3da8bcSJed Brown #include <ceed/backend.h>
22fc7cf9a0Sjeremylt 
23fc7cf9a0Sjeremylt typedef struct {
24fc7cf9a0Sjeremylt   const CeedScalar **inputs;
25fc7cf9a0Sjeremylt   CeedScalar **outputs;
26*d1d35e2fSjeremylt   bool setup_done;
27fc7cf9a0Sjeremylt } CeedQFunction_Memcheck;
28fc7cf9a0Sjeremylt 
29fc7cf9a0Sjeremylt CEED_INTERN int CeedQFunctionCreate_Memcheck(CeedQFunction qf);
303d576824SJeremy L Thompson 
313d576824SJeremy L Thompson #endif // _ceed_memcheck_h
32