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