Home
last modified time | relevance | path

Searched refs:string (Results 1 – 25 of 36) sorted by relevance

12

/libCEED/backends/sycl/
H A Donline_compiler.sycl.cpp19 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 Dceed-sycl-compile.sycl.cpp27 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 Donline_compiler.hpp66 …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 Dceed-sycl-compile.hpp17 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 Dceed-cuda-compile.cpp49 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 Dbps-kokkos.cc65 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 Dbps-cpu.cc65 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 Dbps.h84 std::string type_string;
/libCEED/backends/hip-gen/
H A Dceed-hip-gen-operator-build.cpp225 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 Dceed-cuda-gen-operator-build.cpp198 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 Dceed-cuda-ref-qfunction-load.cpp24 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 Dceed-hip-ref-qfunction-load.cpp25 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 Dbenchmark.sh104 local arg= string=
107 string+=" \"${arg//\"/\\\"}\""
109 string+=" $arg"
/libCEED/include/ceed/
H A Dgen-tools.h25 os << std::string(tab._num_tabs * tab._width, ' ');
/libCEED/backends/sycl-ref/
H A Dceed-sycl-ref-qfunction-load.sycl.cpp84 const std::string kernel_name = "CeedKernelSyclRefQFunction_" + std::string(qf_name_view); in CeedQFunctionBuildKernel_Sycl()
/libCEED/julia/LibCEED.jl/src/
H A DCeed.jl47 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 DQFunction.jl36 # Use empty string as source location to indicate to libCEED that there is
44 string(
/libCEED/doc/sphinx/source/
H A Dgpu.md11 …tomatically creates a string with the absolute path, for example a {c:type}`CeedQFunctionUser` cal…
H A Dprecision.md26 … It returns a string corresponding to a numpy datatype matching that of {code}`CeedScalar`.
/libCEED/backends/hip/
H A Dceed-hip-compile.cpp84 std::string arch_arg = "--gpu-architecture=" + std::string(prop.gcnArchName); in CeedCompileCore_Hip()
/libCEED/python/
H A Dceed.py76 raise Exception(ffi.string(message[0]).decode("UTF-8"))
90 return ffi.string(resource[0]).decode("UTF-8")
/libCEED/rust/libceed/
H A DREADME.md39 The resource string passed to `Ceed::init` is used to identify the "backend", which includes algori…
/libCEED/tests/junit-xml/
H A DREADME.rst81 stripped from the XML string or file.
/libCEED/julia/LibCEED.jl/test/
H A Druntests.jl8 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 Dceed-sycl-gen-operator-build.sycl.cpp133 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()

12