xref: /libCEED/backends/memcheck/ceed-memcheck.h (revision 3d8e882215d238700cdceb37404f76ca7fa24eaa)
1*3d8e8822SJeremy L Thompson // Copyright (c) 2017-2022, Lawrence Livermore National Security, LLC and other CEED contributors.
2*3d8e8822SJeremy L Thompson // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
3fc7cf9a0Sjeremylt //
4*3d8e8822SJeremy L Thompson // SPDX-License-Identifier: BSD-2-Clause
5fc7cf9a0Sjeremylt //
6*3d8e8822SJeremy L Thompson // This file is part of CEED:  http://github.com/ceed
7fc7cf9a0Sjeremylt 
83d576824SJeremy L Thompson #ifndef _ceed_memcheck_h
93d576824SJeremy L Thompson #define _ceed_memcheck_h
103d576824SJeremy L Thompson 
11ec3da8bcSJed Brown #include <ceed/ceed.h>
12ec3da8bcSJed Brown #include <ceed/backend.h>
13fc7cf9a0Sjeremylt 
14fc7cf9a0Sjeremylt typedef struct {
15fc7cf9a0Sjeremylt   const CeedScalar **inputs;
16fc7cf9a0Sjeremylt   CeedScalar **outputs;
17d1d35e2fSjeremylt   bool setup_done;
18fc7cf9a0Sjeremylt } CeedQFunction_Memcheck;
19fc7cf9a0Sjeremylt 
20fc7cf9a0Sjeremylt CEED_INTERN int CeedQFunctionCreate_Memcheck(CeedQFunction qf);
213d576824SJeremy L Thompson 
223d576824SJeremy L Thompson #endif // _ceed_memcheck_h
23