1*ec3da8bcSJed Brown /// Copyright (c) 2017, Lawrence Livermore National Security, LLC. Produced at 2*ec3da8bcSJed Brown /// the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights 3*ec3da8bcSJed Brown /// reserved. See files LICENSE and NOTICE for details. 4*ec3da8bcSJed Brown /// 5*ec3da8bcSJed Brown /// This file is part of CEED, a collection of benchmarks, miniapps, software 6*ec3da8bcSJed Brown /// libraries and APIs for efficient high-order finite element and spectral 7*ec3da8bcSJed Brown /// element discretizations for exascale applications. For more information and 8*ec3da8bcSJed Brown /// source code availability see http://github.com/ceed. 9*ec3da8bcSJed Brown /// 10*ec3da8bcSJed Brown /// The CEED research is supported by the Exascale Computing Project 17-SC-20-SC, 11*ec3da8bcSJed Brown /// a collaborative effort of two U.S. Department of Energy organizations (Office 12*ec3da8bcSJed Brown /// of Science and the National Nuclear Security Administration) responsible for 13*ec3da8bcSJed Brown /// the planning and preparation of a capable exascale ecosystem, including 14*ec3da8bcSJed Brown /// software, applications, hardware, advanced system engineering and early 15*ec3da8bcSJed Brown /// testbed platforms, in support of the nation's exascale computing imperative. 16*ec3da8bcSJed Brown 17*ec3da8bcSJed Brown #ifndef _ceed_hip_h 18*ec3da8bcSJed Brown #define _ceed_hip_h 19*ec3da8bcSJed Brown 20*ec3da8bcSJed Brown #include <ceed/ceed.h> 21*ec3da8bcSJed Brown #include <hip/hip_runtime.h> 22*ec3da8bcSJed Brown 23*ec3da8bcSJed Brown CEED_EXTERN int CeedQFunctionSetHIPUserFunction(CeedQFunction qf, 24*ec3da8bcSJed Brown hipFunction_t f); 25*ec3da8bcSJed Brown 26*ec3da8bcSJed Brown #endif 27