xref: /libCEED/rust/libceed-sys/c-src/backends/magma/ceed-magma.h (revision 4444f3285ed25f54b1bf8b327b92a4af25910ae9)
1*4444f328STzanio // Copyright (c) 2017, Lawrence Livermore National Security, LLC. Produced at
2*4444f328STzanio // the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights
3*4444f328STzanio // reserved. See files LICENSE and NOTICE for details.
4*4444f328STzanio //
5*4444f328STzanio // This file is part of CEED, a collection of benchmarks, miniapps, software
6*4444f328STzanio // libraries and APIs for efficient high-order finite element and spectral
7*4444f328STzanio // element discretizations for exascale applications. For more information and
8*4444f328STzanio // source code availability see http://github.com/ceed.
9*4444f328STzanio //
10*4444f328STzanio // The CEED research is supported by the Exascale Computing Project 17-SC-20-SC,
11*4444f328STzanio // a collaborative effort of two U.S. Department of Energy organizations (Office
12*4444f328STzanio // of Science and the National Nuclear Security Administration) responsible for
13*4444f328STzanio // the planning and preparation of a capable exascale ecosystem, including
14*4444f328STzanio // software, applications, hardware, advanced system engineering and early
15*4444f328STzanio // testbed platforms, in support of the nation's exascale computing imperative.
16*4444f328STzanio 
1790104f39SStan Tomov // magma functions specific to ceed
1890104f39SStan Tomov 
1990104f39SStan Tomov #define USE_MAGMA_BATCH
2090104f39SStan Tomov 
2190104f39SStan Tomov void magma_dtensor_contract(Ceed ceed,
2290104f39SStan Tomov                             CeedInt A, CeedInt B, CeedInt C, CeedInt J,
2390104f39SStan Tomov                             const CeedScalar *t, CeedTransposeMode tmode,
2490104f39SStan Tomov                             const CeedInt Add,
2590104f39SStan Tomov                             const CeedScalar *u, CeedScalar *v);
26