Home
last modified time | relevance | path

Searched refs:source_path (Results 1 – 11 of 11) sorted by relevance

/libCEED/backends/cuda-ref/
H A Dceed-cuda-ref-qfunction-load.cpp49 const char *source_path; in CeedQFunctionBuildKernel_Cuda_ref() local
51 CeedCallBackend(CeedQFunctionGetSourcePath(qf, &source_path)); in CeedQFunctionBuildKernel_Cuda_ref()
52 CeedCheck(source_path, ceed, CEED_ERROR_BACKEND, "No QFunction source or CUfunction provided."); in CeedQFunctionBuildKernel_Cuda_ref()
55 code << "#include \"" << source_path << "\"\n\n"; in CeedQFunctionBuildKernel_Cuda_ref()
/libCEED/backends/hip-ref/
H A Dceed-hip-ref-qfunction-load.cpp52 const char *source_path; in CeedQFunctionBuildKernel_Hip_ref() local
54 CeedCallBackend(CeedQFunctionGetSourcePath(qf, &source_path)); in CeedQFunctionBuildKernel_Hip_ref()
55 …CeedCheck(source_path, ceed, CEED_ERROR_BACKEND, "No QFunction source or hipFunction_t provided."); in CeedQFunctionBuildKernel_Hip_ref()
58 code << "#include \"" << source_path << "\"\n\n"; in CeedQFunctionBuildKernel_Hip_ref()
/libCEED/interface/
H A Dceed-qfunction.c289 int CeedQFunctionGetSourcePath(CeedQFunction qf, const char **source_path) { in CeedQFunctionGetSourcePath() argument
290 if (!qf->source_path && qf->user_source) { in CeedQFunctionGetSourcePath()
311 qf->source_path = source_path_copy; in CeedQFunctionGetSourcePath()
316 *source_path = (char *)qf->source_path; in CeedQFunctionGetSourcePath()
339 const char *source_path; in CeedQFunctionLoadSourceToBuffer() local
341 CeedCall(CeedQFunctionGetSourcePath(qf, &source_path)); in CeedQFunctionLoadSourceToBuffer()
343 if (source_path) { in CeedQFunctionLoadSourceToBuffer()
348 CeedCall(CeedLoadSourceToBuffer(ceed, source_path, &buffer)); in CeedQFunctionLoadSourceToBuffer()
1196 CeedCall(CeedFree(&(*qf)->source_path)); in CeedQFunctionDestroy()
H A Dceed-preconditioning.c47 if (qf->source_path) { in CeedQFunctionCreateFallback()
48 size_t path_len = strlen(qf->source_path), name_len = strlen(qf->kernel_name); in CeedQFunctionCreateFallback()
51 memcpy(source_path_with_name, qf->source_path, path_len); in CeedQFunctionCreateFallback()
/libCEED/backends/hip-gen/
H A Dceed-hip-gen-operator-build.cpp1318 const char *source_path; in CeedOperatorBuildKernel_Hip_gen() local
1320 CeedCallBackend(CeedQFunctionGetSourcePath(qf, &source_path)); in CeedOperatorBuildKernel_Hip_gen()
1321 …CeedCheck(source_path, ceed, CEED_ERROR_UNSUPPORTED, "/gpu/hip/gen backend requires QFunction sour… in CeedOperatorBuildKernel_Hip_gen()
1324 code << tab << "#include \"" << source_path << "\"\n\n"; in CeedOperatorBuildKernel_Hip_gen()
1714 const char *source_path; in CeedOperatorBuildKernelAssemblyAtPoints_Hip_gen() local
1716 CeedCallBackend(CeedQFunctionGetSourcePath(qf, &source_path)); in CeedOperatorBuildKernelAssemblyAtPoints_Hip_gen()
1717 …CeedCheck(source_path, ceed, CEED_ERROR_UNSUPPORTED, "/gpu/hip/gen backend requires QFunction sour… in CeedOperatorBuildKernelAssemblyAtPoints_Hip_gen()
1720 code << tab << "#include \"" << source_path << "\"\n\n"; in CeedOperatorBuildKernelAssemblyAtPoints_Hip_gen()
2237 const char *source_path; in CeedOperatorBuildKernelLinearAssembleQFunction_Hip_gen() local
2239 CeedCallBackend(CeedQFunctionGetSourcePath(qf, &source_path)); in CeedOperatorBuildKernelLinearAssembleQFunction_Hip_gen()
[all …]
/libCEED/backends/cuda-gen/
H A Dceed-cuda-gen-operator-build.cpp1305 const char *source_path; in CeedOperatorBuildKernel_Cuda_gen() local
1307 CeedCallBackend(CeedQFunctionGetSourcePath(qf, &source_path)); in CeedOperatorBuildKernel_Cuda_gen()
1308 …CeedCheck(source_path, ceed, CEED_ERROR_UNSUPPORTED, "/gpu/cuda/gen backend requires QFunction sou… in CeedOperatorBuildKernel_Cuda_gen()
1311 code << tab << "#include \"" << source_path << "\"\n\n"; in CeedOperatorBuildKernel_Cuda_gen()
1709 const char *source_path; in CeedOperatorBuildKernelAssemblyAtPoints_Cuda_gen() local
1711 CeedCallBackend(CeedQFunctionGetSourcePath(qf, &source_path)); in CeedOperatorBuildKernelAssemblyAtPoints_Cuda_gen()
1712 …CeedCheck(source_path, ceed, CEED_ERROR_UNSUPPORTED, "/gpu/cuda/gen backend requires QFunction sou… in CeedOperatorBuildKernelAssemblyAtPoints_Cuda_gen()
1715 code << tab << "#include \"" << source_path << "\"\n\n"; in CeedOperatorBuildKernelAssemblyAtPoints_Cuda_gen()
2241 const char *source_path; in CeedOperatorBuildKernelLinearAssembleQFunction_Cuda_gen() local
2243 CeedCallBackend(CeedQFunctionGetSourcePath(qf, &source_path)); in CeedOperatorBuildKernelLinearAssembleQFunction_Cuda_gen()
[all …]
/libCEED/tests/
H A Djunit_common.py602 source_path: Path = suite_spec.get_source_path(test)
612 elif nproc > 1 and source_path.suffix != '.py':
634 classname=source_path.parent,
/libCEED/include/
H A Dceed-impl.h263 const char *source_path; member
/libCEED/examples/solids/
H A Dindex.md356 def source_path(rel):
360 nh = pd.read_csv(source_path("examples/solids/tests-output/NH-strain.csv"))
364 mr = pd.read_csv(source_path("examples/solids/tests-output/MR-strain.csv"))
368 mr1 = pd.read_csv(source_path("examples/solids/tests-output/MR-strain1.csv"))
/libCEED/include/ceed/
H A Dbackend.h381 CEED_EXTERN int CeedQFunctionGetSourcePath(CeedQFunction qf, const char **source_path);
/libCEED/julia/LibCEED.jl/src/generated/
H A Dlibceed_bindings.jl1194 function CeedQFunctionGetSourcePath(qf, source_path) argument
1195 …ll((:CeedQFunctionGetSourcePath, libceed), Cint, (CeedQFunction, Ptr{Ptr{Cchar}}), qf, source_path)