| /libCEED/backends/sycl/ |
| H A D | online_compiler.sycl.cpp | 19 void *loadOsLibrary(const std::string &PluginPath) { in loadOsLibrary() 38 void *getOsLibraryFuncAddress(void *Library, const std::string &FunctionName) { return dlsym(Librar… in getOsLibraryFuncAddress() 41 … const std::string &DeviceStepping, const std::string &UserArgs) { in prepareOclocArgs() 100 static std::vector<byte> compileToSPIRV(const std::string &Source, sycl::info::device_type DeviceTy… in compileToSPIRV() 101 … const std::string &DeviceStepping, void *&CompileToSPIRVHandle, void *&FreeSPIRVOutputsHandle, in compileToSPIRV() 102 const std::vector<std::string> &UserArgs) { in compileToSPIRV() 105 static const std::string OclocLibraryName = "ocloc64.dll"; in compileToSPIRV() 107 static const std::string OclocLibraryName = "libocloc.so"; in compileToSPIRV() 127 …throw online_compile_error(std::string("Found incompatible version of ocloc library: (") + std::to… in compileToSPIRV() 137 std::string CombinedUserArgs; in compileToSPIRV() [all …]
|
| H A D | ceed-sycl-compile.sycl.cpp | 27 static int CeedJitAddDefinitions_Sycl(Ceed ceed, const std::string &kernel_source, std::string &jit… in CeedJitAddDefinitions_Sycl() 28 const std::map<std::string, CeedInt> &constants = {}) { in CeedJitAddDefinitions_Sycl() argument 63 static inline int CeedJitGetFlags_Sycl(std::vector<std::string> &flags) { in CeedJitGetFlags_Sycl() 64 …flags = {std::string("-cl-std=CL3.0"), std::string("-Dint32_t=int"), std::string("-DCEED_RUNNING_J… in CeedJitGetFlags_Sycl() 71 …ompileSource_Sycl(Ceed ceed, const sycl::device &sycl_device, const std::string &opencl_source, By… in CeedJitCompileSource_Sycl() 72 const std::vector<std::string> &flags = {}) { in CeedJitCompileSource_Sycl() 124 …uildModule_Sycl(Ceed ceed, const std::string &kernel_source, SyclModule_t **sycl_module, const std… in CeedBuildModule_Sycl() argument 126 std::string jit_source; in CeedBuildModule_Sycl() 127 std::vector<std::string> flags; in CeedBuildModule_Sycl() 143 int CeedGetKernel_Sycl(Ceed ceed, const SyclModule_t *sycl_module, const std::string &kernel_name, … in CeedGetKernel_Sycl()
|
| H A D | online_compiler.hpp | 66 …online_compile_error(const std::string &Msg) : sycl::exception(make_error_code(errc::invalid), Msg… in online_compile_error() 116 std::vector<byte> compile(const std::string &src, const Tys &...args); 157 online_compiler<Lang> &setTargetDeviceStepping(const std::string &id) { in setTargetDeviceStepping() 179 std::string DeviceStepping; 195 …ompiler<source_language::opencl_c>::compile(const std::string &src, const std::vector<std::string>… 211 …line_compiler<source_language::cm>::compile(const std::string &src, const std::vector<std::string>…
|
| H A D | ceed-sycl-compile.hpp | 17 CEED_INTERN int CeedBuildModule_Sycl(Ceed ceed, const std::string &kernel_source, SyclModule_t **sy… 18 const std::map<std::string, CeedInt> &constants = {}); 19 CEED_INTERN int CeedGetKernel_Sycl(Ceed ceed, const SyclModule_t *sycl_module, const std::string &k…
|
| /libCEED/backends/cuda/ |
| H A D | ceed-cuda-compile.cpp | 49 FILE *output_stream = popen((command + std::string(" 2>&1")).c_str(), "r"); in CeedCallSystem_Core() 54 std::string output = ""; in CeedCallSystem_Core() 114 std::string arch_arg = in CeedCompileCore_Cuda() 243 …std::string filename = std::string("temp/kernel_") + std::to_string(build_id) + std::string("_0_so… in CeedCompileCore_Cuda() 257 std::string rust_dirs[10]; in CeedCompileCore_Cuda() 264 rust_dirs[i] = std::string(rust_source_dirs[i]); in CeedCompileCore_Cuda() 277 std::string command; in CeedCompileCore_Cuda() 280 …command = "cargo +" + std::string(rust_toolchain) + " build --release --target nvptx64-nvidia-cuda… in CeedCompileCore_Cuda() 290 …command = "$(find $(rustup run " + std::string(rust_toolchain) + " rustc --print sysroot) -name ll… in CeedCompileCore_Cuda() 292 FILE *output_stream = popen((command + std::string(" 2>&1")).c_str(), "r"); in CeedCompileCore_Cuda() [all …]
|
| /libCEED/examples/deal.II/ |
| H A D | bps-kokkos.cc | 65 std::string libCEED_resource = "/cpu/self"; 70 if (argc == 1 && (std::string(argv[0]) == "--help")) in parse() 87 std::string label(argv[0]); in parse() 91 std::string bp_string(argv[1]); in parse() 122 libCEED_resource = std::string(argv[1]); in parse() 191 const auto test = [&](const std::string &label, const auto &op) { in main()
|
| H A D | bps-cpu.cc | 65 std::string libCEED_resource = "/cpu/self"; 70 if (argc == 1 && (std::string(argv[0]) == "--help")) in parse() 87 std::string label(argv[0]); in parse() 91 std::string bp_string(argv[1]); in parse() 122 libCEED_resource = std::string(argv[1]); in parse() 191 const auto test = [&](const std::string &label, const auto &op) { in main()
|
| H A D | bps.h | 84 std::string type_string;
|
| /libCEED/backends/hip-gen/ |
| H A D | ceed-hip-gen-operator-build.cpp | 225 std::string var_suffix = (is_input ? "_in_" : "_out_") + std::to_string(i); in CeedOperatorBuildKernelFieldData_Hip_gen() 226 …std::string P_name = (is_tensor ? "P_1d" : "P") + var_suffix, Q_name = is_tensor ? "Q_1d… in CeedOperatorBuildKernelFieldData_Hip_gen() 227 std::string option_name = (is_input ? "inputs" : "outputs"); in CeedOperatorBuildKernelFieldData_Hip_gen() 295 …std::string reuse_var = "s_B" + ((field_reuse.is_input ? "_in_" : "_out_") + std::to_string(field_… in CeedOperatorBuildKernelFieldData_Hip_gen() 334 …std::string reuse_var = "s_B" + ((field_reuse.is_input ? "_in_" : "_out_") + std::to_string(field_… in CeedOperatorBuildKernelFieldData_Hip_gen() 354 …std::string reuse_var = "s_G" + ((field_reuse.is_input ? "_in_" : "_out_") + std::to_string(field_… in CeedOperatorBuildKernelFieldData_Hip_gen() 370 …std::string reuse_var = "s_G" + ((field_reuse.is_input ? "_in_" : "_out_") + std::to_string(field_… in CeedOperatorBuildKernelFieldData_Hip_gen() 381 …std::string reuse_var = "s_G" + ((field_reuse.is_input ? "_in_" : "_out_") + std::to_string(field_… in CeedOperatorBuildKernelFieldData_Hip_gen() 414 std::string var_suffix = (is_input ? "_in_" : "_out_") + std::to_string(i); in CeedOperatorBuildKernelRestriction_Hip_gen() 415 std::string P_name = (is_all_tensor ? "P_1d" : "P") + var_suffix; in CeedOperatorBuildKernelRestriction_Hip_gen() [all …]
|
| /libCEED/backends/cuda-gen/ |
| H A D | ceed-cuda-gen-operator-build.cpp | 198 std::string var_suffix = (is_input ? "_in_" : "_out_") + std::to_string(i); in CeedOperatorBuildKernelFieldData_Cuda_gen() 199 …std::string P_name = (is_tensor ? "P_1d" : "P") + var_suffix, Q_name = is_tensor ? "Q_1… in CeedOperatorBuildKernelFieldData_Cuda_gen() 200 std::string option_name = (is_input ? "inputs" : "outputs"); in CeedOperatorBuildKernelFieldData_Cuda_gen() 268 …std::string reuse_var = "s_B" + ((field_reuse.is_input ? "_in_" : "_out_") + std::to_string(field_… in CeedOperatorBuildKernelFieldData_Cuda_gen() 307 …std::string reuse_var = "s_B" + ((field_reuse.is_input ? "_in_" : "_out_") + std::to_string(field_… in CeedOperatorBuildKernelFieldData_Cuda_gen() 327 …std::string reuse_var = "s_G" + ((field_reuse.is_input ? "_in_" : "_out_") + std::to_string(field_… in CeedOperatorBuildKernelFieldData_Cuda_gen() 343 …std::string reuse_var = "s_G" + ((field_reuse.is_input ? "_in_" : "_out_") + std::to_string(field_… in CeedOperatorBuildKernelFieldData_Cuda_gen() 354 …std::string reuse_var = "s_G" + ((field_reuse.is_input ? "_in_" : "_out_") + std::to_string(field_… in CeedOperatorBuildKernelFieldData_Cuda_gen() 387 std::string var_suffix = (is_input ? "_in_" : "_out_") + std::to_string(i); in CeedOperatorBuildKernelRestriction_Cuda_gen() 388 std::string P_name = (is_all_tensor ? "P_1d" : "P") + var_suffix; in CeedOperatorBuildKernelRestriction_Cuda_gen() [all …]
|
| /libCEED/backends/cuda-ref/ |
| H A D | ceed-cuda-ref-qfunction-load.cpp | 24 using std::string; in CeedQFunctionBuildKernel_Cuda_ref() 41 string qfunction_name(data->qfunction_name); in CeedQFunctionBuildKernel_Cuda_ref() 42 string kernel_name = "CeedKernelCudaRefQFunction_" + qfunction_name; in CeedQFunctionBuildKernel_Cuda_ref()
|
| /libCEED/backends/hip-ref/ |
| H A D | ceed-hip-ref-qfunction-load.cpp | 25 using std::string; in CeedQFunctionBuildKernel_Hip_ref() 44 string qfunction_name(data->qfunction_name); in CeedQFunctionBuildKernel_Hip_ref() 45 string kernel_name = "CeedKernelHipRefQFunction_" + qfunction_name; in CeedQFunctionBuildKernel_Hip_ref()
|
| /libCEED/benchmarks/ |
| H A D | benchmark.sh | 104 local arg= string= 107 string+=" \"${arg//\"/\\\"}\"" 109 string+=" $arg"
|
| /libCEED/include/ceed/ |
| H A D | gen-tools.h | 25 os << std::string(tab._num_tabs * tab._width, ' ');
|
| /libCEED/backends/sycl-ref/ |
| H A D | ceed-sycl-ref-qfunction-load.sycl.cpp | 84 const std::string kernel_name = "CeedKernelSyclRefQFunction_" + std::string(qf_name_view); in CeedQFunctionBuildKernel_Sycl()
|
| /libCEED/julia/LibCEED.jl/src/ |
| H A D | Ceed.jl | 47 Wraps a libCEED `Ceed` object, created with the given resource specification string. 72 Returns the resource string associated with the given [`Ceed`](@ref) object.
|
| H A D | QFunction.jl | 36 # Use empty string as source location to indicate to libCEED that there is 44 string(
|
| /libCEED/doc/sphinx/source/ |
| H A D | gpu.md | 11 …tomatically creates a string with the absolute path, for example a {c:type}`CeedQFunctionUser` cal…
|
| H A D | precision.md | 26 … It returns a string corresponding to a numpy datatype matching that of {code}`CeedScalar`.
|
| /libCEED/backends/hip/ |
| H A D | ceed-hip-compile.cpp | 84 std::string arch_arg = "--gpu-architecture=" + std::string(prop.gcnArchName); in CeedCompileCore_Hip()
|
| /libCEED/python/ |
| H A D | ceed.py | 76 raise Exception(ffi.string(message[0]).decode("UTF-8")) 90 return ffi.string(resource[0]).decode("UTF-8")
|
| /libCEED/rust/libceed/ |
| H A D | README.md | 39 The resource string passed to `Ceed::init` is used to identify the "backend", which includes algori…
|
| /libCEED/tests/junit-xml/ |
| H A D | README.rst | 81 stripped from the XML string or file.
|
| /libCEED/julia/LibCEED.jl/test/ |
| H A D | runtests.jl | 8 chomp(read(joinpath(@__DIR__, "output", string(CeedScalar), fname), String)) 301 @test showstr(r) == string( 308 @test showstr(rs) == string(
|
| /libCEED/backends/sycl-gen/ |
| H A D | ceed-sycl-gen-operator-build.sycl.cpp | 133 const std::string operator_name = "CeedKernelSyclGenOperator_" + std::string(qfunction_name); in CeedOperatorBuildKernel_Sycl_gen() 772 std::map<std::string, CeedInt> jit_constants; in CeedOperatorBuildKernel_Sycl_gen()
|