| /libCEED/examples/python/ |
| H A D | tutorial-0-ceed.ipynb | 6 "source": [ 17 "source": [ 24 "source": [ 33 "source": [ 40 "source": [ 53 "source": [ 62 "source": [ 71 "source": [ 78 "source": [ 87 "source": [ [all …]
|
| H A D | tutorial-1-vector.ipynb | 6 "source": [ 17 "source": [ 28 "source": [ 35 "source": [ 48 "source": [ 60 "source": [ 69 "source": [ 76 "source": [ 85 "source": [ 101 "source": [ [all …]
|
| H A D | tutorial-6-shell.ipynb | 6 "source": [ 17 "source": [ 68 "source": [ 79 "source": [ 86 "source": [ 95 "source": [ 102 "source": [ 111 "source": [ 118 "source": [ 127 "source": [ [all …]
|
| H A D | tutorial-4-qfunction.ipynb | 6 "source": [ 17 "source": [ 28 "source": [ 35 "source": [ 48 "source": [ 57 "source": [ 73 "source": [ 82 "source": [ 106 "source": [ 115 "source": [ [all …]
|
| H A D | tutorial-3-basis.ipynb | 6 "source": [ 17 "source": [ 28 "source": [ 35 "source": [ 44 "source": [ 53 "source": [ 76 "source": [ 87 "source": [ 104 "source": [ 113 "source": [ [all …]
|
| H A D | tutorial-2-elemrestriction.ipynb | 6 "source": [ 17 "source": [ 28 "source": [ 35 "source": [ 48 "source": [ 89 "source": [ 98 "source": [ 124 "source": [ 133 "source": [ 166 "source": [ [all …]
|
| H A D | tutorial-5-operator.ipynb | 6 "source": [ 17 "source": [ 28 "source": [ 35 "source": [ 44 "source": [ 53 "source": [ 132 "source": [ 141 "source": [
|
| /libCEED/interface/ |
| H A D | ceed-jit-tools.c | 20 @param[in] source_file_path Absolute path to source file 43 CeedDebug256(ceed, CEED_DEBUG_COLOR_SUCCESS, "Checking for source file: "); in CeedCheckFilePath() 53 CeedDebug256(ceed, CEED_DEBUG_COLOR_SUCCESS, "Found JiT source file: "); in CeedCheckFilePath() 67 @param[in] source_file_path Absolute path to source file 99 …lash != *normalized_source_file_path, ceed, CEED_ERROR_MAJOR, "Malformed source path %s", source_f… in CeedNormalizePath() 110 …@brief Load source file into initialized string buffer, including full text of local files in plac… 115 @param[in] source_file_path Absolute path to source file 118 @param[out] buffer String buffer for source file contents 131 CeedDebug256(ceed, CEED_DEBUG_COLOR_SUCCESS, "Current source file: "); in CeedLoadSourceToInitializedBuffer() 136 CeedCheck(source_file, ceed, CEED_ERROR_MAJOR, "Couldn't open source file: %s", source_file_path); in CeedLoadSourceToInitializedBuffer() [all …]
|
| H A D | ceed-qfunction.c | 35 char source[CEED_MAX_RESOURCE_LEN]; member 53 …@param[in] source Absolute path to source of `CeedQFunction`, "\path\CEED_DIR\gallery\folder\f… 64 int CeedQFunctionRegister(const char *name, const char *source, CeedInt vec_length, CeedQFunctionUs… in CeedQFunctionRegister() argument 70 CeedCall(CeedGetJitRelativePath(source, &relative_file_path)); in CeedQFunctionRegister() 75 strncpy(gallery_qfunctions[num_qfunctions].source, relative_file_path, CEED_MAX_RESOURCE_LEN); in CeedQFunctionRegister() 76 gallery_qfunctions[num_qfunctions].source[CEED_MAX_RESOURCE_LEN - 1] = 0; in CeedQFunctionRegister() 280 @brief Get the source path string for a `CeedQFunction` 283 @param[out] source_path Variable to store source path string 321 …@brief Initialize and load `CeedQFunction` source file into string buffer, including full text of … 323 The `buffer` is set to `NULL` if there is no `CeedQFunction` source file. [all …]
|
| H A D | ceed-jit-source-root-install.c | 9 // The definition for in-source is in ceed-jit-source-root-default.c.
|
| H A D | ceed-jit-source-root-default.c | 8 // This file and definition is used for in-source builds. 9 // The definition for installs is in ceed-jit-source-root-install.c.
|
| /libCEED/doc/sphinx/source/ |
| H A D | gpu.md | 8 The filepath to the user source code is passed in {c:func}`CeedQFunctionCreateInterior` as the `sou… 9 …path should typically be an absolute path to ensure the JiT compilation can locate the source file. 13 The entire contents of this source file and all included files are used during JiT compilation for … 16 These source file must only contain syntax constructs supported by C99 and all targeted backends (i… 18 All source files must be at the provided filepath at runtime for JiT to function.
|
| H A D | CONTRIBUTING.md | 39 … whole or in part by me and I have the right to submit it under the open source license indicated … 41 …source license and I have the right under that license to submit that work with modifications, whe… 45 …nitely and may be redistributed consistent with this project or the open source license(s) involve…
|
| H A D | conf.py | 99 # List of patterns, relative to source directory, that match files and 100 # directories to ignore when looking for source files. 216 # (source start file, target name, title, 226 # (source start file, name, description, authors, manual section). 233 # (source start file, target name, title, author, 299 # Copy example documentation from source tree
|
| /libCEED/backends/sycl/ |
| H A D | online_compiler.hpp | 1 //===------- online_compiler.hpp - Online source compilation service ------===// 69 /// Designates a source language for the online compiler. 92 /// contradictory or not supported - e.g. if the source language is not 109 /// Compiles given in-memory \c Lang source to a binary blob. Blob format, 189 /// Compiles the given OpenCL source. May throw \c online_compile_error. 190 /// @param src - contents of the source. 197 // /// Compiles the given OpenCL source. May throw \c online_compile_error. 198 // /// @param src - contents of the source. 206 /// Compiles the given CM source \p src. 207 /// @param src - contents of the source. [all …]
|
| H A D | online_compiler.sycl.cpp | 86 /// Compiles the given source \p Source to SPIR-V IL and returns IL as a vector 88 /// @param Source - Either OpenCL or CM source code. 100 static std::vector<byte> compileToSPIRV(const std::string &Source, sycl::info::device_type DeviceTy… in compileToSPIRV() argument 150 const byte *Sources[] = {reinterpret_cast<const byte *>(Source.c_str())}; in compileToSPIRV() 152 const uint64_t SourceLengths[] = {Source.length() + 1}; in compileToSPIRV() 186 std::vector<byte> online_compiler<source_language::opencl_c>::compile(const std::string &Source, co… in compile() argument 192 …return compileToSPIRV(Source, DeviceType, DeviceArch, Is64Bit, DeviceStepping, CompileToSPIRVHandl… in compile() 197 std::vector<byte> online_compiler<source_language::cm>::compile(const std::string &Source, const st… in compile() argument 205 …return compileToSPIRV(Source, DeviceType, DeviceArch, Is64Bit, DeviceStepping, CompileToSPIRVHandl… in compile()
|
| H A D | ocloc_api.h | 10 // https://github.com/intel/compute-runtime/blob/master/shared/offline_compiler/source/ocloc_api.h 34 /// for reference : shared/offline_compiler/source/ocloc_api.cpp) 48 /// of source files to be passed to ocloc. 51 /// of source files to be passed to ocloc. 54 /// of source files passed to ocloc as DataSources. 57 /// of source files passed to ocloc as DataSources.
|
| H A D | ceed-sycl-compile.sycl.cpp | 25 // Add defined constants at the beginning of kernel source 32 const char *sycl_jith_path = "ceed/jit-source/sycl/sycl-jit.h"; 42 char *source; local 44 CeedCallBackend(CeedLoadSourceToBuffer(ceed, jit_defs_path, &source)); 45 jit_defs_source = source; 69 // Compile an OpenCL source to SPIR-V using Intel's online compiler extension 84 // Load (compile) SPIR-V source and wrap in sycl kernel_bundle 122 // Compile kernel source to an executable `sycl::kernel_bundle`
|
| /libCEED/backends/sycl-ref/ |
| H A D | ceed-sycl-ref-qfunction-load.sycl.cpp | 66 CeedDebug256(ceed, CEED_DEBUG_COLOR_SUCCESS, "----- Loading QFunction User Source -----\n"); in CeedQFunctionBuildKernel_Sycl() 68 …CeedDebug256(ceed, CEED_DEBUG_COLOR_SUCCESS, "----- Loading QFunction User Source Complete! -----\… in CeedQFunctionBuildKernel_Sycl() 70 …CeedCallBackend(CeedGetJitAbsolutePath(ceed, "ceed/jit-source/sycl/sycl-ref-qfunction.h", &read_wr… in CeedQFunctionBuildKernel_Sycl() 72 …CeedDebug256(ceed, CEED_DEBUG_COLOR_SUCCESS, "----- Loading QFunction Read/Write Kernel Source ---… in CeedQFunctionBuildKernel_Sycl() 74 char *source; in CeedQFunctionBuildKernel_Sycl() local 76 CeedCallBackend(CeedLoadSourceToBuffer(ceed, read_write_kernel_path, &source)); in CeedQFunctionBuildKernel_Sycl() 77 read_write_kernel_source = source; in CeedQFunctionBuildKernel_Sycl() 79 …CeedDebug256(ceed, CEED_DEBUG_COLOR_SUCCESS, "----- Loading QFunction Read/Write Kernel Source Com… in CeedQFunctionBuildKernel_Sycl()
|
| /libCEED/backends/hip/ |
| H A D | ceed-hip-compile.cpp | 36 static int CeedCompileCore_Hip(Ceed ceed, const char *source, const bool throw_error, bool *is_comp… in CeedCompileCore_Hip() argument 77 code << "#include <ceed/jit-source/hip/hip-jit.h>\n\n"; in CeedCompileCore_Hip() 117 // Add string source argument provided in call in CeedCompileCore_Hip() 118 code << source; in CeedCompileCore_Hip() 124 …CeedDebug256(ceed, CEED_DEBUG_COLOR_SUCCESS, "---------- ATTEMPTING TO COMPILE JIT SOURCE --------… in CeedCompileCore_Hip() 125 CeedDebug(ceed, "Source:\n%s\n", code.str().c_str()); in CeedCompileCore_Hip() 126 CeedDebug256(ceed, CEED_DEBUG_COLOR_SUCCESS, "---------- END OF JIT SOURCE ----------\n"); in CeedCompileCore_Hip() 178 int CeedCompile_Hip(Ceed ceed, const char *source, hipModule_t *module, const CeedInt num_defines, … in CeedCompile_Hip() argument 183 …const CeedInt ierr = CeedCompileCore_Hip(ceed, source, true, &is_compile_good, module, num_defines… in CeedCompile_Hip() 190 int CeedTryCompile_Hip(Ceed ceed, const char *source, bool *is_compile_good, hipModule_t *module, c… in CeedTryCompile_Hip() argument [all …]
|
| /libCEED/backends/cuda/ |
| H A D | ceed-cuda-compile.cpp | 71 static int CeedCompileCore_Cuda(Ceed ceed, const char *source, const bool throw_error, bool *is_com… in CeedCompileCore_Cuda() argument 107 code << "#include <ceed/jit-source/cuda/cuda-jit.h>\n\n"; in CeedCompileCore_Cuda() 157 // Add string source argument provided in call in CeedCompileCore_Cuda() 158 code << source; in CeedCompileCore_Cuda() 161 …CeedDebug256(ceed, CEED_DEBUG_COLOR_SUCCESS, "---------- ATTEMPTING TO COMPILE JIT SOURCE --------… in CeedCompileCore_Cuda() 162 CeedDebug(ceed, "Source:\n%s\n", code.str().c_str()); in CeedCompileCore_Cuda() 163 CeedDebug256(ceed, CEED_DEBUG_COLOR_SUCCESS, "---------- END OF JIT SOURCE ----------\n"); in CeedCompileCore_Cuda() 260 …CeedDebug(ceed, "There are %d source dirs, including %s\n", num_rust_source_dirs, rust_source_dirs… in CeedCompileCore_Cuda() 331 CeedCallSystem(ceed, command.c_str(), "JiT kernel source"); in CeedCompileCore_Cuda() 363 CeedCallSystem(ceed, command.c_str(), "link C and Rust source"); in CeedCompileCore_Cuda() [all …]
|
| /libCEED/ |
| H A D | CONTRIBUTING.md | 39 … whole or in part by me and I have the right to submit it under the open source license indicated … 41 …source license and I have the right under that license to submit that work with modifications, whe… 45 …nitely and may be redistributed consistent with this project or the open source license(s) involve…
|
| /libCEED/backends/sycl-gen/ |
| H A D | ceed-sycl-gen-qfunction.sycl.cpp | 56 // Read QFunction source in CeedQFunctionCreate_Sycl_gen() 58 CeedDebug256(ceed, 2, "----- Loading QFunction User Source -----\n"); in CeedQFunctionCreate_Sycl_gen() 60 CeedDebug256(ceed, 2, "----- Loading QFunction User Source Complete! -----\n"); in CeedQFunctionCreate_Sycl_gen() 61 …source, ceed, CEED_ERROR_UNSUPPORTED, "/gpu/sycl/gen backend requires QFunction source code file"); in CeedQFunctionCreate_Sycl_gen()
|
| /libCEED/include/ceed/ |
| H A D | types.h | 9 /// Public header for types and macros used in user QFunction source code 45 …This macro populates the correct function annotations for User QFunction source for code generatio… 46 backends. It also creates a variable `name_loc` populated with the correct source path for creating… 56 …source for code generation backends or populates default values for CPU backends. It also creates … 83 …This macro populates the correct function annotations for User QFunction helper function source fo…
|
| /libCEED/backends/cuda-ref/ |
| H A D | ceed-cuda-ref-qfunction-load.cpp | 46 code << "// QFunction source\n"; in CeedQFunctionBuildKernel_Cuda_ref() 47 code << "#include <ceed/jit-source/cuda/cuda-ref-qfunction.h>\n\n"; in CeedQFunctionBuildKernel_Cuda_ref() 52 CeedCheck(source_path, ceed, CEED_ERROR_BACKEND, "No QFunction source or CUfunction provided."); in CeedQFunctionBuildKernel_Cuda_ref() 54 code << "// User QFunction source\n"; in CeedQFunctionBuildKernel_Cuda_ref()
|