| /libCEED/python/ |
| H A D | ceed_vector.py | 21 def __init__(self, ceed, size): argument 23 self._pointer = ffi.new("CeedVector *") 26 self._ceed = ceed 30 self._ceed._pointer[0], size, self._pointer) 31 self._ceed._check_error(err_code) 34 def __del__(self): argument 36 err_code = lib.CeedVectorDestroy(self._pointer) 37 self._ceed._check_error(err_code) 40 def __repr__(self): argument 41 return "<CeedVector instance at " + hex(id(self)) + ">" [all …]
|
| H A D | ceed_elemrestriction.py | 22 def __del__(self): argument 24 err_code = lib.CeedElemRestrictionDestroy(self._pointer) 25 self._ceed._check_error(err_code) 28 def __repr__(self): argument 29 return "<CeedElemRestriction instance at " + hex(id(self)) + ">" 32 def __str__(self): argument 40 err_code = lib.CeedElemRestrictionView(self._pointer[0], stream) 41 self._ceed._check_error(err_code) 49 def apply(self, u, v, tmode=NOTRANSPOSE, request=REQUEST_IMMEDIATE): argument 59 err_code = lib.CeedElemRestrictionApply(self._pointer[0], tmode, u._pointer[0], [all …]
|
| H A D | ceed_operator.py | 20 def __del__(self): argument 22 err_code = lib.CeedOperatorDestroy(self._pointer) 23 self._ceed._check_error(err_code) 26 def __repr__(self): argument 27 return "<CeedOperator instance at " + hex(id(self)) + ">" 30 def __str__(self): argument 38 err_code = lib.CeedOperatorView(self._pointer[0], stream) 39 self._ceed._check_error(err_code) 47 def check(self): argument 50 err_code = lib.CeedOperatorCheckReady(self._pointer[0]) [all …]
|
| H A D | ceed_qfunction.py | 21 def __del__(self): argument 23 err_code = lib.CeedQFunctionDestroy(self._pointer) 24 self._ceed._check_error(err_code) 27 def __repr__(self): argument 28 return "<CeedQFunction instance at " + hex(id(self)) + ">" 31 def __str__(self): argument 39 err_code = lib.CeedQFunctionView(self._pointer[0], stream) 40 self._ceed._check_error(err_code) 48 def apply(self, q, inputs, outputs): argument 65 err_code = lib.CeedQFunctionApply(self._pointer[0], q, invecs, outvecs) [all …]
|
| H A D | ceed_basis.py | 21 def __repr__(self): argument 22 return "<CeedBasis instance at " + hex(id(self)) + ">" 25 def __str__(self): argument 33 err_code = lib.CeedBasisView(self._pointer[0], stream) 34 self._ceed._check_error(err_code) 42 def apply(self, nelem, emode, u, v, tmode=NOTRANSPOSE): argument 57 err_code = lib.CeedBasisApply(self._pointer[0], nelem, tmode, emode, 59 self._ceed._check_error(err_code) 63 def T(self): argument 66 return TransposeBasis(self) [all …]
|
| H A D | ceed.py | 31 def __init__(self, resource="/cpu/self", on_error="store"): argument 33 self._pointer = ffi.new("Ceed *") 38 err_code = lib.CeedInit(resourceAscii, self._pointer) 46 self._pointer[0], ffi.addressof( 50 def __repr__(self): argument 51 return "<Ceed instance at " + hex(id(self)) + ">" 54 def __str__(self): argument 62 err_code = lib.CeedView(self._pointer[0], stream) 63 self._check_error(err_code) 71 def _check_error(self, err_code): argument [all …]
|
| H A D | ceed_qfunctioncontext.py | 21 def __init__(self, ceed): argument 23 self._pointer = ffi.new("CeedQFunctionContext *") 26 self._ceed = ceed 30 self._ceed._pointer[0], self._pointer) 31 self._ceed._check_error(err_code) 34 def __del__(self): argument 36 err_code = lib.CeedQFunctionContextDestroy(self._pointer) 37 self._ceed._check_error(err_code) 40 def __repr__(self): argument 41 return "<CeedQFunctionContext instance at " + hex(id(self)) + ">" [all …]
|
| H A D | ceed_constants.py | 100 def __init__(self, constant): argument 101 self._pointer = [constant]
|
| H A D | test-wheel.sh | 10 python -m pytest test-*.py --ceed /cpu/self/opt/blocked -vv
|
| /libCEED/tests/junit-xml/junit_xml/ |
| H A D | __init__.py | 84 self, argument 98 self.name = name 105 self.test_cases = test_cases 106 self.timestamp = timestamp 107 self.hostname = hostname 108 self.id = id 109 self.package = package 110 self.file = file 111 self.log = log 112 self.url = url [all …]
|
| /libCEED/tests/ |
| H A D | junit_common.py | 26 def __init__(self, message): argument 33 def __init__(self, option_strings, dest, type, default, **kwargs): argument 37 self.enum_type = type 38 if isinstance(default, self.enum_type): 41 default = self.enum_type(default.lower()) 43 default = [self.enum_type(v.lower()) for v in default] 49 def __call__(self, parser, namespace, values, option_string=None): argument 50 if isinstance(values, self.enum_type): 53 values = self.enum_type(values.lower()) 55 values = [self.enum_type(v.lower()) for v in values] [all …]
|
| H A D | junit.py | 40 def __init__(self): argument 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 186 def check_allowed_stdout(self, test: str) -> bool: argument
|
| /libCEED/ |
| H A D | setup.py | 39 def run(self): argument 40 prefix = os.path.join(self.build_lib, 'libceed') 41 self.make_libceed_so(prefix) 42 build_ext.run(self) 44 def make_libceed_so(self, prefix): argument
|
| H A D | README.md | 152 | `/cpu/self/ref/serial` | Serial reference implementation | Yes … 153 | `/cpu/self/ref/blocked` | Blocked reference implementation | Yes … 154 | `/cpu/self/opt/serial` | Serial optimized C implementation | Yes … 155 | `/cpu/self/opt/blocked` | Blocked optimized C implementation | Yes … 156 | `/cpu/self/avx/serial` | Serial AVX implementation | Yes … 157 | `/cpu/self/avx/blocked` | Blocked AVX implementation | Yes … 160 | `/cpu/self/memcheck/*` | Memcheck backends, undefined value checks | Yes … 163 | `/cpu/self/xsmm/serial` | Serial LIBXSMM implementation | Yes … 164 | `/cpu/self/xsmm/blocked` | Blocked LIBXSMM implementation | Yes … 187 The `/cpu/self/*/serial` backends process one element at a time and are intended for meshes with a … [all …]
|
| H A D | Makefile | 240 BACKENDS_BUILTIN := /cpu/self/ref/serial /cpu/self/ref/blocked /cpu/self/opt/serial /cpu/self/opt/b… 494 MEMCHK_BACKENDS = /cpu/self/memcheck/serial /cpu/self/memcheck/blocked 505 AVX_BACKENDS = /cpu/self/avx/serial /cpu/self/avx/blocked 518 XSMM_BACKENDS = /cpu/self/xsmm/serial /cpu/self/xsmm/blocked
|
| /libCEED/doc/sphinx/source/ |
| H A D | releasenotes.md | 55 - Update `/cpu/self/memcheck/*` backends to help verify `CeedVector` array access assumptions and `… 98 - Update `/cpu/self/memcheck/*` backends to help verify `CeedQFunctionContext` data sizes provided … 223 - The `/cpu/self/tmpl` and `/cpu/self/tmpl/sub` backends have been removed. These backends were int… 314 - New backend: `/cpu/self/memcheck/serial`. 386 were included in this release, such as the `/cpu/self/opt/*` backends (which are 388 `/cpu/self/ref/memcheck` backend (which relies upon the 410 | `/cpu/self/ref/serial` | Serial reference implementation | 411 | `/cpu/self/ref/blocked` | Blocked reference implementation | 412 | `/cpu/self/ref/memcheck` | Memcheck backend, undefined value checks | 413 | `/cpu/self/opt/serial` | Serial optimized C implementation | [all …]
|
| H A D | libCEEDdev.md | 29 … the `/cpu/self/xsmm/serial` backend implements the `CeedTensorContract` object itself but delegat… 50 The basic CPU with the simplest implementation is `/cpu/self/ref/serial`. 54 The `/cpu/self/ref/blockend` and `/cpu/self/opt/*` backends delegate to the `/cpu/self/ref/serial` … 55 The `/cpu/self/ref/blocked` backend updates the {ref}`CeedOperator` to use an E-vector and Q-vector… 56 The `/cpu/self/opt/*` backends update the {ref}`CeedOperator` to apply the action of the operator i… 59 The `/cpu/self/avx/*` and `/cpu/self/xsmm/*` backends delegate to the corresponding `/cpu/self/opt/… 62 The `/cpu/self/memcheck/*` backends delegate to the `/cpu/self/ref/*` backends. 246 …Note: Prefixing the resource with "help:" (e.g. "help:/cpu/self") will result in @ref CeedInt() pr… 248 @param[in] resource Resource to use, e.g., "/cpu/self"
|
| /libCEED/benchmarks/ |
| H A D | README.md | 10 benchmark.sh -c /cpu/self -r petsc-bpsraw.sh -b bp1 -n 16 -p 16 20 benchmark.sh -c "/cpu/self/ref/serial /cpu/self/ref/blocked" -r petsc-bpsraw.sh -b "bp1 bp3" -n "16…
|
| /libCEED/examples/python/ |
| H A D | tutorial-0-ceed.ipynb | 45 …ere we illustrate the simple declaration of a `Ceed`, with default resource (which is `/cpu/self`)" 79 "To use a particular backend, for instance `/cpu/self/opt/blocked` you can specify" 88 "ceed = libceed.Ceed('/cpu/self/opt/blocked')"
|
| H A D | Makefile | 16 TEST_OPTS ?= --ceed /cpu/self/ref/serial
|
| /libCEED/python/tests/ |
| H A D | Makefile | 16 TEST_OPTS ?= --ceed /cpu/self/ref/serial
|
| H A D | README.md | 14 pytest test-*.py --ceed /cpu/self/ref/serial
|
| /libCEED/examples/petsc/ |
| H A D | README.md | 36 -ceed /cpu/self/opt/serial,/cpu/self/xsmm/serial,/cpu/self/xsmm/blocked \
|
| /libCEED/julia/LibCEED.jl/src/ |
| H A D | Ceed.jl | 45 Ceed(spec="/cpu/self") 49 function Ceed(spec::AbstractString="/cpu/self")
|
| /libCEED/examples/nek/ |
| H A D | README.md | 48 -c|-ceed Ceed backend to be used for the run (optional, default: /cpu/self) 61 ./run-nek-example.sh -ceed /cpu/self -e bp1 -n 4 -b 3
|