1*8d713cf6Sjeremylt // Copyright (c) 2017-2018, Lawrence Livermore National Security, LLC. 2*8d713cf6Sjeremylt // Produced at the Lawrence Livermore National Laboratory. LLNL-CODE-734707. 3*8d713cf6Sjeremylt // All Rights reserved. See files LICENSE and NOTICE for details. 4*8d713cf6Sjeremylt // 5*8d713cf6Sjeremylt // This file is part of CEED, a collection of benchmarks, miniapps, software 6*8d713cf6Sjeremylt // libraries and APIs for efficient high-order finite element and spectral 7*8d713cf6Sjeremylt // element discretizations for exascale applications. For more information and 8*8d713cf6Sjeremylt // source code availability see http://github.com/ceed. 9*8d713cf6Sjeremylt // 10*8d713cf6Sjeremylt // The CEED research is supported by the Exascale Computing Project 17-SC-20-SC, 11*8d713cf6Sjeremylt // a collaborative effort of two U.S. Department of Energy organizations (Office 12*8d713cf6Sjeremylt // of Science and the National Nuclear Security Administration) responsible for 13*8d713cf6Sjeremylt // the planning and preparation of a capable exascale ecosystem, including 14*8d713cf6Sjeremylt // software, applications, hardware, advanced system engineering and early 15*8d713cf6Sjeremylt // testbed platforms, in support of the nation's exascale computing imperative. 16*8d713cf6Sjeremylt 17*8d713cf6Sjeremylt #include <ceed-backend.h> 18*8d713cf6Sjeremylt #include <string.h> 19*8d713cf6Sjeremylt 20*8d713cf6Sjeremylt typedef struct { 21*8d713cf6Sjeremylt CeedScalar *colograd1d; 22*8d713cf6Sjeremylt } CeedBasis_Xsmm; 23*8d713cf6Sjeremylt 24*8d713cf6Sjeremylt CEED_INTERN int CeedBasisCreateTensorH1_Xsmm(CeedInt dim, CeedInt P1d, 25*8d713cf6Sjeremylt CeedInt Q1d, const CeedScalar *interp1d, 26*8d713cf6Sjeremylt const CeedScalar *grad1d, 27*8d713cf6Sjeremylt const CeedScalar *qref1d, 28*8d713cf6Sjeremylt const CeedScalar *qweight1d, 29*8d713cf6Sjeremylt CeedBasis basis); 30*8d713cf6Sjeremylt 31*8d713cf6Sjeremylt CEED_INTERN int CeedBasisCreateH1_Xsmm(CeedElemTopology topo, CeedInt dim, 32*8d713cf6Sjeremylt CeedInt ndof, CeedInt nqpts, 33*8d713cf6Sjeremylt const CeedScalar *interp, 34*8d713cf6Sjeremylt const CeedScalar *grad, 35*8d713cf6Sjeremylt const CeedScalar *qref, 36*8d713cf6Sjeremylt const CeedScalar *qweight, 37*8d713cf6Sjeremylt CeedBasis basis); 38