xref: /libCEED/rust/libceed-sys/c-src/backends/magma/ceed-magma.h (revision d863ab9ba6a0d47c58445a35d35b36efba07fc93)
14444f328STzanio // Copyright (c) 2017, Lawrence Livermore National Security, LLC. Produced at
24444f328STzanio // the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights
34444f328STzanio // reserved. See files LICENSE and NOTICE for details.
44444f328STzanio //
54444f328STzanio // This file is part of CEED, a collection of benchmarks, miniapps, software
64444f328STzanio // libraries and APIs for efficient high-order finite element and spectral
74444f328STzanio // element discretizations for exascale applications. For more information and
84444f328STzanio // source code availability see http://github.com/ceed.
94444f328STzanio //
104444f328STzanio // The CEED research is supported by the Exascale Computing Project 17-SC-20-SC,
114444f328STzanio // a collaborative effort of two U.S. Department of Energy organizations (Office
124444f328STzanio // of Science and the National Nuclear Security Administration) responsible for
134444f328STzanio // the planning and preparation of a capable exascale ecosystem, including
144444f328STzanio // software, applications, hardware, advanced system engineering and early
154444f328STzanio // testbed platforms, in support of the nation's exascale computing imperative.
164444f328STzanio 
1790104f39SStan Tomov // magma functions specific to ceed
1890104f39SStan Tomov 
195a9ca9adSVeselin Dobrev #include <ceed-impl.h>
20*d863ab9bSjeremylt #include <ceed-backend.h>
215a9ca9adSVeselin Dobrev #include "magma.h"
225a9ca9adSVeselin Dobrev 
2390104f39SStan Tomov #define USE_MAGMA_BATCH
2497ee337cSStan Tomov #define USE_MAGMA_BATCH2
2590104f39SStan Tomov 
2690104f39SStan Tomov void magma_dtensor_contract(Ceed ceed,
2790104f39SStan Tomov                             CeedInt A, CeedInt B, CeedInt C, CeedInt J,
2890104f39SStan Tomov                             const CeedScalar *t, CeedTransposeMode tmode,
2990104f39SStan Tomov                             const CeedInt Add,
3090104f39SStan Tomov                             const CeedScalar *u, CeedScalar *v);
31f68f2f01STzanio 
32f68f2f01STzanio #define CeedDebug(...)
33