| /libCEED/tests/ |
| H A D | junit.py | 15 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 D | junit_common.py | 19 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 D | rundevtests.jl | 3 function checkoutput(str, fname) argument 4 if str != getoutput(fname) 5 write(fname, str)
|
| H A D | runtests.jl | 10 function checkoutput(str, fname) argument 11 if str != getoutput(fname) 12 write(fname, str)
|
| /libCEED/tests/junit-xml/junit_xml/ |
| H A D | __init__.py | 65 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 D | conv_plot.py | 30 type=str, 52 ax.loglog(h, H, '--', color=colors[i], label='O(h$^' + str(p) + '$)')
|
| H A D | stdoutParsing.py | 55 values["box_face" + str(i)] = box_face
|
| /libCEED/backends/hip/ |
| H A D | ceed-hip-compile.cpp | 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/ |
| H A D | ceed-cuda-compile.cpp | 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() 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 D | ceed-sycl-ref-qfunction-load.sycl.cpp | 168 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 D | operator.rs | 103 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 D | qfunction.rs | 47 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 D | lib.rs | 277 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 D | ceed-sycl-shared.sycl.cpp | 43 CeedCallBackend(CeedInit(ref_resource.str().c_str(), &ceed_ref)); in CeedInit_Sycl_shared()
|
| /libCEED/rust/libceed-sys/ |
| H A D | build.rs | 89 fn env(k: &str) -> Option<String> { in env()
|
| /libCEED/julia/LibCEED.jl/src/ |
| H A D | Misc.jl | 107 str = mktemp() do fname, f 114 chomp(str)
|
| /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()
|
| /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()
|
| /libCEED/backends/sycl/ |
| 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 | 56 jit_source = oss.str();
|
| /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() 779 CeedCallBackend(CeedBuildModule_Sycl(ceed, code.str(), &impl->sycl_module, jit_constants)); in CeedOperatorBuildKernel_Sycl_gen()
|
| /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() 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 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() 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()
|