| /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() 59 CeedDebug(ceed, "output:\n%s\n", output.c_str()); in CeedCallSystem_Core() 60 … CEED_ERROR_BACKEND, "Failed to %s\ncommand:\n$ %s\nerror:\n%s", message, command, output.c_str()); in CeedCallSystem_Core() 125 opts[1] = arch_arg.c_str(); in CeedCompileCore_Cuda() 138 … CeedCallBackend(CeedStringAllocCopy(include_dir_arg.str().c_str(), (char **)&opts[num_opts + i])); in CeedCompileCore_Cuda() 152 …CeedCallBackend(CeedStringAllocCopy(define_arg.str().c_str(), (char **)&opts[num_opts + num_jit_so… in CeedCompileCore_Cuda() 162 CeedDebug(ceed, "Source:\n%s\n", code.str().c_str()); in CeedCompileCore_Cuda() 166 CeedCallNvrtc(ceed, nvrtcCreateProgram(&prog, code.str().c_str(), NULL, 0, NULL, NULL)); in CeedCompileCore_Cuda() 244 FILE *file = fopen(filename.c_str(), "w"); in CeedCompileCore_Cuda() 247 fputs(code.str().c_str(), file); in CeedCompileCore_Cuda() [all …]
|
| /libCEED/backends/sycl/ |
| H A D | online_compiler.sycl.cpp | 22 void *so = dlopen(PluginPath.c_str(), RTLD_NOW); in loadOsLibrary() 38 …ss(void *Library, const std::string &FunctionName) { return dlsym(Library, FunctionName.c_str()); } in getOsLibraryFuncAddress() 73 Args.push_back(DeviceStepping.c_str()); in prepareOclocArgs() 80 Args.push_back(UserArgs.c_str()); in prepareOclocArgs() 150 const byte *Sources[] = {reinterpret_cast<const byte *>(Source.c_str())}; in compileToSPIRV()
|
| H A D | ceed-sycl-common.sycl.cpp | 61 return CeedError(ceed, CEED_ERROR_BACKEND, error_msg.str().c_str()); in CeedInit_Sycl()
|
| H A D | ceed-sycl-compile.sycl.cpp | 152 …ze_kernel_desc_t lz_kernel_desc = {ZE_STRUCTURE_TYPE_KERNEL_DESC, nullptr, 0, kernel_name.c_str(… in CeedGetKernel_Sycl()
|
| /libCEED/backends/hip/ |
| H A D | ceed-hip-compile.cpp | 85 opts[1] = arch_arg.c_str(); in CeedCompileCore_Hip() 98 … CeedCallBackend(CeedStringAllocCopy(include_dir_arg.str().c_str(), (char **)&opts[num_opts + i])); in CeedCompileCore_Hip() 112 …CeedCallBackend(CeedStringAllocCopy(define_arg.str().c_str(), (char **)&opts[num_opts + num_jit_so… in CeedCompileCore_Hip() 121 CeedCallHiprtc(ceed, hiprtcCreateProgram(&prog, code.str().c_str(), NULL, 0, NULL, NULL)); in CeedCompileCore_Hip() 125 CeedDebug(ceed, "Source:\n%s\n", code.str().c_str()); in CeedCompileCore_Hip()
|
| /libCEED/backends/cuda-ref/ |
| H A D | ceed-cuda-ref-qfunction-load.cpp | 109 CeedCallBackend(CeedCompile_Cuda(ceed, code.str().c_str(), &data->module, 0)); in CeedQFunctionBuildKernel_Cuda_ref() 110 CeedCallBackend(CeedGetKernel_Cuda(ceed, data->module, kernel_name.c_str(), &data->QFunction)); in CeedQFunctionBuildKernel_Cuda_ref()
|
| /libCEED/backends/hip-ref/ |
| H A D | ceed-hip-ref-qfunction-load.cpp | 113 …CeedCallBackend(CeedCompile_Hip(ceed, code.str().c_str(), &data->module, 1, "BLOCK_SIZE", ceed_Hip… in CeedQFunctionBuildKernel_Hip_ref() 114 CeedCallBackend(CeedGetKernel_Hip(ceed, data->module, kernel_name.c_str(), &data->QFunction)); in CeedQFunctionBuildKernel_Hip_ref()
|
| /libCEED/rust/libceed/src/ |
| H A D | lib.rs | 175 let c_str = unsafe { in check_error() localVariable 179 let message = c_str.to_string_lossy().to_string(); in check_error() 339 let c_str = unsafe { in check_error() localVariable 343 let message = c_str.to_string_lossy().to_string(); in check_error() 361 let c_str = unsafe { in resource() localVariable 365 c_str.to_string_lossy().to_string() in resource()
|
| /libCEED/backends/sycl-shared/ |
| H A D | ceed-sycl-shared.sycl.cpp | 43 CeedCallBackend(CeedInit(ref_resource.str().c_str(), &ceed_ref)); in CeedInit_Sycl_shared()
|
| /libCEED/backends/sycl-ref/ |
| H A D | ceed-sycl-ref-qfunction-load.sycl.cpp | 168 CeedDebug(ceed, code.str().c_str()); in CeedQFunctionBuildKernel_Sycl()
|
| /libCEED/backends/hip-gen/ |
| H A D | ceed-hip-gen-operator-build.cpp | 1636 …CeedCallBackend(CeedTryCompile_Hip(ceed, code.str().c_str(), &is_compile_good, &data->module, 2, "… in CeedOperatorBuildKernel_Hip_gen() 1640 CeedCallBackend(CeedGetKernel_Hip(ceed, data->module, operator_name.c_str(), &data->op)); in CeedOperatorBuildKernel_Hip_gen() 2099 CeedCallBackend(CeedTryCompile_Hip(ceed, code.str().c_str(), &is_compile_good, in CeedOperatorBuildKernelAssemblyAtPoints_Hip_gen() 2104 …ceed, is_full ? data->module_assemble_full : data->module_assemble_diagonal, operator_name.c_str(), in CeedOperatorBuildKernelAssemblyAtPoints_Hip_gen() 2681 …CeedCallBackend(CeedTryCompile_Hip(ceed, code.str().c_str(), &is_compile_good, &data->module_assem… in CeedOperatorBuildKernelLinearAssembleQFunction_Hip_gen() 2685 …CeedCallBackend(CeedGetKernel_Hip(ceed, data->module_assemble_qfunction, operator_name.c_str(), &d… in CeedOperatorBuildKernelLinearAssembleQFunction_Hip_gen()
|
| /libCEED/backends/cuda-gen/ |
| H A D | ceed-cuda-gen-operator-build.cpp | 1619 …CeedCallBackend(CeedTryCompile_Cuda(ceed, code.str().c_str(), &is_compile_good, &data->module, 1, … in CeedOperatorBuildKernel_Cuda_gen() 1622 CeedCallBackend(CeedGetKernel_Cuda(ceed, data->module, operator_name.c_str(), &data->op)); in CeedOperatorBuildKernel_Cuda_gen() 2090 CeedCallBackend(CeedTryCompile_Cuda(ceed, code.str().c_str(), &is_compile_good, in CeedOperatorBuildKernelAssemblyAtPoints_Cuda_gen() 2094 …ceed, is_full ? data->module_assemble_full : data->module_assemble_diagonal, operator_name.c_str(), in CeedOperatorBuildKernelAssemblyAtPoints_Cuda_gen() 2681 …CeedCallBackend(CeedTryCompile_Cuda(ceed, code.str().c_str(), &is_compile_good, &data->module_asse… in CeedOperatorBuildKernelLinearAssembleQFunction_Cuda_gen() 2684 …CeedCallBackend(CeedGetKernel_Cuda(ceed, data->module_assemble_qfunction, operator_name.c_str(), &… in CeedOperatorBuildKernelLinearAssembleQFunction_Cuda_gen()
|
| /libCEED/examples/deal.II/ |
| H A D | bps-ceed.h | 115 const char *ceed_spec = resource.c_str(); in reinit()
|
| /libCEED/backends/sycl-gen/ |
| H A D | ceed-sycl-gen-operator-build.sycl.cpp | 770 CeedDebug(ceed, code.str().c_str()); in CeedOperatorBuildKernel_Sycl_gen()
|