13d3250a0SJeremy L Thompson /// Copyright (c) 2017, Lawrence Livermore National Security, LLC. Produced at 23d3250a0SJeremy L Thompson /// the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights 33d3250a0SJeremy L Thompson /// reserved. See files LICENSE and NOTICE for details. 43d3250a0SJeremy L Thompson /// 53d3250a0SJeremy L Thompson /// This file is part of CEED, a collection of benchmarks, miniapps, software 63d3250a0SJeremy L Thompson /// libraries and APIs for efficient high-order finite element and spectral 73d3250a0SJeremy L Thompson /// element discretizations for exascale applications. For more information and 83d8e8822SJeremy L Thompson /// source code availability see http://github.com/ceed 93d3250a0SJeremy L Thompson /// 103d3250a0SJeremy L Thompson /// The CEED research is supported by the Exascale Computing Project 17-SC-20-SC, 113d3250a0SJeremy L Thompson /// a collaborative effort of two U.S. Department of Energy organizations (Office 123d3250a0SJeremy L Thompson /// of Science and the National Nuclear Security Administration) responsible for 133d3250a0SJeremy L Thompson /// the planning and preparation of a capable exascale ecosystem, including 143d3250a0SJeremy L Thompson /// software, applications, hardware, advanced system engineering and early 153d3250a0SJeremy L Thompson /// testbed platforms, in support of the nation's exascale computing imperative. 163d3250a0SJeremy L Thompson 173d3250a0SJeremy L Thompson #ifndef _ceed_jit_h 183d3250a0SJeremy L Thompson #define _ceed_jit_h 193d3250a0SJeremy L Thompson 203d3250a0SJeremy L Thompson #include <ceed/ceed.h> 213d3250a0SJeremy L Thompson 22ee5a26f2SJeremy L Thompson CEED_EXTERN int CeedCheckFilePath(Ceed ceed, const char *source_file_path, bool *is_valid); 233d3250a0SJeremy L Thompson CEED_EXTERN int CeedLoadSourceToBuffer(Ceed ceed, const char *source_file_path, char **buffer); 24f6af633fSnbeams CEED_EXTERN int CeedLoadSourceToInitializedBuffer(Ceed ceed, const char *source_file_path, char **buffer); 25*2b730f8bSJeremy L Thompson CEED_EXTERN int CeedPathConcatenate(Ceed ceed, const char *base_file_path, const char *relative_file_path, char **new_file_path); 26*2b730f8bSJeremy L Thompson CEED_EXTERN int CeedGetJitRelativePath(const char *absolute_file_path, const char **relative_file_path); 27*2b730f8bSJeremy L Thompson CEED_EXTERN int CeedGetJitAbsolutePath(Ceed ceed, const char *relative_file_path, char **absolute_file_path); 28437930d1SJeremy L Thompson 293d3250a0SJeremy L Thompson #endif 30