| 2b730f8b | 17-Nov-2022 |
Jeremy L Thompson <jeremy@jeremylt.org> |
Switch to clang-format (#1051)
* style - switch to clang-format
* ci - use newer libxsmm
* action - update format action
* format - consistent use of {} for multi-line if/for
* make - re
Switch to clang-format (#1051)
* style - switch to clang-format
* ci - use newer libxsmm
* action - update format action
* format - consistent use of {} for multi-line if/for
* make - remove stray newline
* make - simpler 'make format' target
* ci - use newer libxsmm
* doc - minor release note claification
* minor - minor fix
* minor - minor fix
* minor - minor fix
* minor - minor fix
* make format
* format - less aggressive alignment rules
* tidy - check for argument name mismatches
* fix newline
* format - mirror Ratel update to .clang-format
* fix merge error
* fix merge conflict
* fix merge error
* drop style in .phony list
* Update .clang-format
Co-authored-by: Jed Brown <jed@jedbrown.org>
* apply updated format
Co-authored-by: Jed Brown <jed@jedbrown.org>
show more ...
|
| 228d9efb | 24-Aug-2022 |
James Wright <james@jameswright.xyz> |
ceed: Add CEED_QFUNCTION_ATTR for inlining
GCC doesn't like to inline all Qfunction helpers, so this forces it do so if inlining is allowed at all. |
| c9c2c079 | 05-Aug-2022 |
Jeremy L Thompson <jeremy@jeremylt.org> |
QF headers for typedefs and macros (#1036)
* jit - qf headers for typedefs and macros
* jit - smaller list of permitted files
* ceed - only include ceed.h in QF source |
| 1f401ad2 | 16-Jun-2022 |
Jeremy L Thompson <jeremy@jeremylt.org> |
ci - update Python testing to avoid distutils |
| f5ebfb90 | 03-Jun-2022 |
Jeremy L Thompson <jeremy@jeremylt.org> |
op - more data in view |
| ea6b5821 | 06-May-2022 |
Jeremy L Thompson <jeremy@jeremylt.org> |
op - add optional name for Operators |
| b8bf0bca | 06-May-2022 |
Jeremy L Thompson <jeremy@jeremylt.org> |
op/qf - consistent viewing ouput |
| 381e6593 | 05-May-2022 |
Jeremy L Thompson <jeremy@jeremylt.org> |
op - include num_elem and num_qpts in view |
| 3d8e8822 | 17-Mar-2022 |
Jeremy L Thompson <jeremy@jeremylt.org> |
minor - update copyright headers |
| 1f9221fe | 11-Mar-2022 |
Jeremy L Thompson <jeremy@jeremylt.org> |
vec - use CeedSize for vector lengths |
| 50c301a5 | 01-Feb-2022 |
Rezgar Shakeri <42816410+rezgarshakeri@users.noreply.github.com> |
H(div) basis constructor (#878)
* backends/interface: added H(div) basis constructor
* tests: CEED_EVAL_INTERP/DIV tested for H(div) basis.
* Update interface/ceed-basis.c
Co-authored-by:
H(div) basis constructor (#878)
* backends/interface: added H(div) basis constructor
* tests: CEED_EVAL_INTERP/DIV tested for H(div) basis.
* Update interface/ceed-basis.c
Co-authored-by: Jed Brown <jed@jedbrown.org>
* Update interface/ceed-basis.c
Co-authored-by: Jed Brown <jed@jedbrown.org>
* Update interface/ceed-basis.c
Co-authored-by: Jed Brown <jed@jedbrown.org>
* Update interface/ceed-basis.c
Co-authored-by: Jed Brown <jed@jedbrown.org>
* Update interface/ceed-basis.c
Co-authored-by: Jed Brown <jed@jedbrown.org>
* interface/ceed-basis.c: delete [-1,1] for non-tensor basis constructor
* Update interface/ceed-basis.c
Co-authored-by: Jed Brown <jed@jedbrown.org>
* include/ceed: added CEEDFESpace enum and used it at ceed-basis.c
* tests: added t330-basis.out and changed xhat-->x_hat
* Changed name convention for CeedElemTopology and CeedFESpace enum.
* make style
* interface/ceed-basis.c: Added FE space/topology of the basis to CeedBasisView function
* tests/output: update ...basis.out file
* Changed CEED_FE_TOPO_ ==> CEED_TOPOLOGY_
* backends/ref: delete CeedBasisApplyHdiv_Ref
* Update interface/ceed-basis.c
Co-authored-by: Jeremy L Thompson <jeremy@jeremylt.org>
* Update interface/ceed-basis.c
Co-authored-by: Jeremy L Thompson <jeremy@jeremylt.org>
* Update include/ceed-impl.h
Co-authored-by: Jeremy L Thompson <jeremy@jeremylt.org>
* interface/ceed-bassi.c: update CeedBasisView
* deleted L2 and H(curl) FE spaces
* minor - update output file
* minor - update output file
* style - consistency with main
Co-authored-by: Jed Brown <jed@jedbrown.org>
Co-authored-by: Jeremy L Thompson <jeremy@jeremylt.org>
show more ...
|
| 9c774edd | 17-Dec-2021 |
Jeremy L Thompson <jeremy@jeremylt.org> |
vec/qf - initial valid/borrowed/owned split for data (#853)
* vec/qf - initial valid/borrowed/owned split for data
* vec/qf - tidy logic for checking active/stale data
* minor - add missing NU
vec/qf - initial valid/borrowed/owned split for data (#853)
* vec/qf - initial valid/borrowed/owned split for data
* vec/qf - tidy logic for checking active/stale data
* minor - add missing NULL
* doc - explain VectorTakeArray update
* minor - update error messages
* test - update error message in junit/tap
* gpu - fix stray CeedScalar vs void for QFunctionContext
* vec/qf - clarify/simplify access logic
* vec - calloc host arrays when no value set to make empty
* style - minor
* style - minor
* minor - fix error messages
* vec/qf - move data validity checking to backend interface
* gpu - add missing sync error checking for qfcontext
* gpu - homogonize use of impl for backend data to reduce confusion
* vec - clarify access conditions
* python - update test for stricter vector access
* vec - minor fixes
* minor - fix ipython change
* vec - add missing declarations in ceed/backend.h
* ctx - mirror vector borrowed data check in ctx interface
* vec - add CeedVectorGetArrayWrite
* vec - consistent use of CeedVectorGetArray vs CeedVectorGetArrayWrite
* python - small vec fixes
* doc - describe vector data semantics
* magma - update restriction
* gpu - fix restr bug I added, need to sum into target
* magma - fix restriction bug
* cpu - fix restriction bug here too
* op - fix evec allocations
* julia - fix ElemRestriction for new vector access rules
* op - double check GetArray vs Read vs Write usage
* doc - small fix
* restr - clean up read/write logic for restr
* python - add vec.array_write
* magma - typo fix
show more ...
|
| 43e1b16f | 10-Nov-2021 |
Jeremy L Thompson <jeremy@jeremylt.org> |
qf - add function to retreive kernel name, stored path now excludes kernel name |
| 28d09c20 | 16-Sep-2021 |
Jeremy L Thompson <jeremy@jeremylt.org> |
python - add CeedOperatorCheckReady to interface |
| 80a9ef05 | 02-Sep-2021 |
Natalie Beams <246972+nbeams@users.noreply.github.com> |
Allow CeedScalar to be single precision (#788)
One can modify `ceed.h` to include `ceed-f32.h` and then use single precision. This is tested for C in CI and has been tested by developers with Rust,
Allow CeedScalar to be single precision (#788)
One can modify `ceed.h` to include `ceed-f32.h` and then use single precision. This is tested for C in CI and has been tested by developers with Rust, Julia, and Python. This interface is evolving and should be considered experimental at this time (thus lack of automated build support).
* Introduce CeedScalarType enum
* WIP changes to allow different definitions of CeedScalar
* Introduce new header files for float and double
* Only use avx tensor contract and MAGMA non-tensor basis if CeedScalar is double
* WIP changes to allow CeedScalar to be float
* WIP start trying to adjust test tolerances for float or double
* fix typos in comments
* install ceed-f32/64 headers
* Fix missing casts for hipMAGMA element restrictions
* make CeedQFunctionContextGetContextSize available for Python bindings
* Changes to Python bindings to allow CeedScalar to be float
* WIP adjust Python tests for float or double
* make style
* remove QFunctionContextGetContextSize from backend header
* Use quotes instead of <> in include statement
* Remove unncessary includes
* Update tolerances for tests
* [Julia] allow CeedScalar to be Float32
* [Julia] Use Preferences instead of custom build configuration
# Conflicts:
# julia/LibCEED.jl/src/C.jl
* [Makefile] Change definition of CC_VENDOR so it works with cross-compilation
* [Julia] Use Preferences in CI
# Conflicts:
# .github/workflows/julia-test-with-style.yml
* [Julia] Update docs about preferences
* [Julia] Add test/Project.toml workaround for Preferences
* Add CeedGetScalarType to get the type of CeedScalar at runtime
* [Julia] Move functions from Ceed.jl to LibCEED.jl
* [Julia] Add support for getting library path and scalar type at runtime
* [Julia] Minor change to checking if CUDA is loaded
* [Julia] Check correct CeedScalar types in basis functions
* [Julia] Fix tests comparing with output file
* [Julia] Change devtests to use CeedScalar instead of Float64
* Update test 402 so context will be same size in double or float
* Update tolerances for ceed examples
* [Julia] CUDA fixes
* remove unused variable in t208
* SchurDecomposition: do not compute tau on final iteration
* Update tolerances for some basis tests (for single precision)
* Make style
* Python style fixes for basis test
* Add single precision output for t300 and t320 and adjust checks; skip t541 in single
* Add LCOV exclusions after moving to new line
* fix spacing
* Python: make CEED_EPSILON available as libceed.EPSILON
* Python: optional parameter to specify different output file for test comparison
* Python: update tests' use of EPSILON and change test_300 output file for single precision
* Python: add convenience function for getting dtype corresponding to CeedScalar
* rust - add single precision support
* [Julia] Fall back on Float64 if CeedGetScalarType is not available
* [Julia] style
* Adjust tolerance for t301
* xsmm - add single precision support
* avx - add single precision support
* Add initial single precision support for MAGMA non-tensor basis
* Skip t300 and t320 in single precision; revert Python t300 changes
* Revert output changes for t300 and t320 in junit
* [Julia] Changes to autogenerated bindings for mixed precision
* [Julia] style
* [Julia] Check scalar type when changing libceed library path
The check is also performed when the package is loaded. This prevents having to
restart the Julia session twice
* [Julia] Require JLLWrappers version 1.3
This is needed to use Preferences to change the library path
* Add documentation page for precision development
Co-authored-by: Will Pazner <will.e.p@gmail.com>
* Cleanup from merge: remove old README
* Return CEED_ALIGN to backend.h
* Make Fortran compiler (FC) optional; empty skips Fortran tests
Use in Python and Rust builds, which may not have a Fortran compiler
installed and thus would produce confusing output.
* Add single precision CI test for Noether
Co-authored-by: Jeremy L Thompson <jeremy@jeremylt.org>
Co-authored-by: Will Pazner <will.e.p@gmail.com>
Co-authored-by: Jeremy L Thompson <jeremy@jeremylt.org>
Co-authored-by: Jed Brown <jed@jedbrown.org>
show more ...
|
| c3a5a609 | 02-Aug-2021 |
Jeremy L Thompson <jeremy@jeremylt.org> |
py - refactor tests needing output |
| 66ce82e0 | 11-May-2021 |
jeremylt <thompson.jeremy.luke@gmail.com> |
Python - add basis.get_grad_1d() |
| 673160d7 | 06-May-2021 |
jeremylt <thompson.jeremy.luke@gmail.com> |
test - refactor t304/5 to verify decomposition |
| 126de23b | 27-Apr-2021 |
jeremylt <thompson.jeremy.luke@gmail.com> |
python - minor test update |
| e0dd3b27 | 26-Apr-2021 |
jeremylt <thompson.jeremy.luke@gmail.com> |
vec - add CeedVectorScale |
| 0c1bc3c2 | 21-Apr-2021 |
jeremylt <thompson.jeremy.luke@gmail.com> |
python - add pointwisemult and axpy |
| 0ef72598 | 14-Apr-2021 |
jeremylt <thompson.jeremy.luke@gmail.com> |
tests - move tests to python dir |
| ec3da8bc | 26-Mar-2021 |
Jed Brown <jed@jedbrown.org> |
Install install backend headers under include/ceed/
This makes it possible to distribute source plugins that provide additional backends. It's also used in MFEM, perhaps temporarily.
Deprecate ceed
Install install backend headers under include/ceed/
This makes it possible to distribute source plugins that provide additional backends. It's also used in MFEM, perhaps temporarily.
Deprecate ceed-backend.h, which was not previously installed, but some users accessed it from an in-place build.
Also install CUDA and HIP headers that allow users to provide CUfunction and hipFunction_t.
Co-authored-by: Jeremy L. Thompson <jeremy.thompson@colorado.edu> Requested-by: Andrew T. Barker <barker29@llnl.gov>
show more ...
|
| e15f9bd0 | 20-Mar-2021 |
Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> |
Error Handling Improvement [fix #696] (#691)
* Operator - add operator/qfunction field compatibility checks
* QFunction - do not allow adding fields to QFunction in use with an operator
* Exam
Error Handling Improvement [fix #696] (#691)
* Operator - add operator/qfunction field compatibility checks
* QFunction - do not allow adding fields to QFunction in use with an operator
* Examples - add some extra exclusion markers in ceed example
* error - add error enum
* error - update error enum names and numbering
* error - use CEED_ERROR_BACKEND in all backend errors
* error - begin classifying interface errors
* error - update backends to use CEED_ERROR_SUCCESS and CeedChkBackend
* error - use new errors in gallery
* error - add some unsaved modifications
* error - improve documentation
* error - define CEED_ERROR_SUCCESS in GPU JiT; we really should have a common header to pipe defines to the JiT code
* error - more error code editing
* error - fix error string
* operator - fix setting field qpts
* basis - add input/output dimension error checking
* python - move basis utility methods to ceed object, no basis required or used
* python - force exit with negative error code
* make style-py
* rust - initial work to add error handling logic
* rust - add ceed.resource method
* rust - add results for methods that may fail
* rust - also format doctests
* minor - drop unused CeedChk()
* error - rename terminal/nonterminal to major/minor
* rust - set ErrorStore as default errorhandler
* python - revert error handing change for python
* python - use success error code from C bindings
* error - only upgrade error code in backend if positive
show more ...
|
| b3bcc043 | 20-Mar-2021 |
Jed Brown <jed@jedbrown.org> |
Python: fix escape formatting |