Home
last modified time | relevance | path

Searched refs:str (Results 1 – 23 of 23) sorted by relevance

/libCEED/tests/
H A Djunit.py15 type=str,
27 …parser.add_argument('-b', '--junit-batch', type=str, default='', help='Name of JUnit batch for out…
29 parser.add_argument('-s', '--search', type=str, default='.*',
43 def get_source_path(self, test: str) -> Path: argument
78 def get_run_path(self, test: str) -> Path: argument
89 def get_output_path(self, test: str, output_file: str) -> Path: argument
101 def check_pre_skip(self, test: str, spec: TestSpec, resource: str, nproc: int) -> Optional[str]: argument
121 … def check_post_skip(self, test: str, spec: TestSpec, resource: str, stderr: str) -> Optional[str]: argument
147 …def check_required_failure(self, test: str, spec: TestSpec, resource: str, stderr: str) -> Tuple[s… argument
159 test_id: str = test[:4]
[all …]
H A Djunit_common.py19 sys.path.insert(0, str(Path(__file__).parent / "junit-xml"))
40 elif isinstance(default, str):
52 elif isinstance(values, str):
64 name: str = field(default_factory=str)
88 def get_source_path(self, test: str) -> Path: argument
100 def get_run_path(self, test: str) -> Path: argument
112 def get_output_path(self, test: str, output_file: str) -> Path: argument
172 def post_test_hook(self, test: str, spec: TestSpec, backend: str) -> None: argument
181 def check_pre_skip(self, test: str, spec: TestSpec, resource: str, nproc: int) -> Optional[str]: argument
195 … def check_post_skip(self, test: str, spec: TestSpec, resource: str, stderr: str) -> Optional[str]: argument
[all …]
/libCEED/julia/LibCEED.jl/test/
H A Drundevtests.jl3 function checkoutput(str, fname) argument
4 if str != getoutput(fname)
5 write(fname, str)
H A Druntests.jl10 function checkoutput(str, fname) argument
11 if str != getoutput(fname)
12 write(fname, str)
/libCEED/tests/junit-xml/junit_xml/
H A D__init__.py65 elif isinstance(var, str):
73 ret = str(var)
128 …test_suite_attributes["assertions"] = str(sum([int(c.assertions) for c in self.test_cases if c.ass…
129 … test_suite_attributes["disabled"] = str(len([c for c in self.test_cases if not c.is_enabled]))
130 test_suite_attributes["errors"] = str(len([c for c in self.test_cases if c.is_error()]))
131 test_suite_attributes["failures"] = str(len([c for c in self.test_cases if c.is_failure()]))
133 test_suite_attributes["skipped"] = str(len([c for c in self.test_cases if c.is_skipped()]))
134 test_suite_attributes["tests"] = str(len(self.test_cases))
135 … test_suite_attributes["time"] = str(sum(c.elapsed_sec for c in self.test_cases if c.elapsed_sec))
297 xml_element.set(key, str(value))
/libCEED/examples/fluids/
H A Dconv_plot.py30 type=str,
52 ax.loglog(h, H, '--', color=colors[i], label='O(h$^' + str(p) + '$)')
H A DstdoutParsing.py55 values["box_face" + str(i)] = box_face
/libCEED/backends/hip/
H A Dceed-hip-compile.cpp98 … 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/
H A Dceed-cuda-compile.cpp138 … 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()
247 fputs(code.str().c_str(), file); in CeedCompileCore_Cuda()
385 auto ptx_data = sstr.str(); in CeedCompileCore_Cuda()
/libCEED/backends/sycl-ref/
H A Dceed-sycl-ref-qfunction-load.sycl.cpp168 CeedDebug(ceed, code.str().c_str()); in CeedQFunctionBuildKernel_Sycl()
171 CeedCallBackend(CeedBuildModule_Sycl(ceed, code.str(), &impl->sycl_module)); in CeedQFunctionBuildKernel_Sycl()
/libCEED/rust/libceed/src/
H A Doperator.rs103 pub fn name(&self) -> &str { in name() argument
463 pub fn name(&self, name: &str) -> crate::Result<i32> { in name()
610 pub fn name(mut self, name: &str) -> crate::Result<Self> { in name()
805 fieldname: &str, in field() argument
2182 pub fn name(mut self, name: &str) -> crate::Result<Self> { in name()
H A Dqfunction.rs47 pub fn name(&self) -> &str { in name() argument
735 fieldname: &str, in input() argument
784 fieldname: &str, in output() argument
869 pub fn create(ceed: &crate::Ceed, name: &str) -> crate::Result<Self> { in create()
H A Dlib.rs277 pub fn init(resource: &str) -> Self { in init()
293 pub fn init_with_error_handler(resource: &str, handler: ErrorHandler) -> Self { in init_with_error_handler() argument
1128 pub fn q_function_interior_by_name<'a>(&self, name: &str) -> Result<QFunctionByName<'a>> { in q_function_interior_by_name()
/libCEED/backends/sycl-shared/
H A Dceed-sycl-shared.sycl.cpp43 CeedCallBackend(CeedInit(ref_resource.str().c_str(), &ceed_ref)); in CeedInit_Sycl_shared()
/libCEED/rust/libceed-sys/
H A Dbuild.rs89 fn env(k: &str) -> Option<String> { in env()
/libCEED/julia/LibCEED.jl/src/
H A DMisc.jl107 str = mktemp() do fname, f
114 chomp(str)
/libCEED/backends/cuda-ref/
H A Dceed-cuda-ref-qfunction-load.cpp109 CeedCallBackend(CeedCompile_Cuda(ceed, code.str().c_str(), &data->module, 0)); in CeedQFunctionBuildKernel_Cuda_ref()
/libCEED/backends/hip-ref/
H A Dceed-hip-ref-qfunction-load.cpp113 …CeedCallBackend(CeedCompile_Hip(ceed, code.str().c_str(), &data->module, 1, "BLOCK_SIZE", ceed_Hip… in CeedQFunctionBuildKernel_Hip_ref()
/libCEED/backends/sycl/
H A Dceed-sycl-common.sycl.cpp61 return CeedError(ceed, CEED_ERROR_BACKEND, error_msg.str().c_str()); in CeedInit_Sycl()
H A Dceed-sycl-compile.sycl.cpp56 jit_source = oss.str();
/libCEED/backends/sycl-gen/
H A Dceed-sycl-gen-operator-build.sycl.cpp770 CeedDebug(ceed, code.str().c_str()); in CeedOperatorBuildKernel_Sycl_gen()
779 CeedCallBackend(CeedBuildModule_Sycl(ceed, code.str(), &impl->sycl_module, jit_constants)); in CeedOperatorBuildKernel_Sycl_gen()
/libCEED/backends/hip-gen/
H A Dceed-hip-gen-operator-build.cpp1636 …CeedCallBackend(CeedTryCompile_Hip(ceed, code.str().c_str(), &is_compile_good, &data->module, 2, "… in CeedOperatorBuildKernel_Hip_gen()
2099 CeedCallBackend(CeedTryCompile_Hip(ceed, code.str().c_str(), &is_compile_good, in CeedOperatorBuildKernelAssemblyAtPoints_Hip_gen()
2681 …CeedCallBackend(CeedTryCompile_Hip(ceed, code.str().c_str(), &is_compile_good, &data->module_assem… in CeedOperatorBuildKernelLinearAssembleQFunction_Hip_gen()
/libCEED/backends/cuda-gen/
H A Dceed-cuda-gen-operator-build.cpp1619 …CeedCallBackend(CeedTryCompile_Cuda(ceed, code.str().c_str(), &is_compile_good, &data->module, 1, … in CeedOperatorBuildKernel_Cuda_gen()
2090 CeedCallBackend(CeedTryCompile_Cuda(ceed, code.str().c_str(), &is_compile_good, in CeedOperatorBuildKernelAssemblyAtPoints_Cuda_gen()
2681 …CeedCallBackend(CeedTryCompile_Cuda(ceed, code.str().c_str(), &is_compile_good, &data->module_asse… in CeedOperatorBuildKernelLinearAssembleQFunction_Cuda_gen()