| 7ed177db | 21-Jan-2022 |
Jed Brown <jed@jedbrown.org> |
Draft: rust doc: example documenting a method with math (#870)
* rust doc: example documenting a method with math
Cc: issue #695
* rust - set katexit as optional feature, enabled by default on
Draft: rust doc: example documenting a method with math (#870)
* rust doc: example documenting a method with math
Cc: issue #695
* rust - set katexit as optional feature, enabled by default on docs.rs
* doc - minor consistency
* rust - document error message
* rust - add badges for crates.io
* rust - some more katex to the documentation
* rust - document cargo doc with katexit
Co-authored-by: Jeremy L Thompson <jeremy@jeremylt.org>
show more ...
|
| 59189cfa | 18-Jan-2022 |
Jeremy L Thompson <jeremy@jeremylt.org> |
rust - impl cloning Ceed |
| 594ef120 | 11-Jan-2022 |
Jeremy L Thompson <jeremy@jeremylt.org> |
rust - looser lifetime restrictions |
| e46a712d | 22-Dec-2021 |
Jeremy L Thompson <jeremy@jeremylt.org> |
rust - logic for copying vec ref into separate function |
| 35afbe75 | 22-Dec-2021 |
Jeremy L Thompson <jeremy@jeremylt.org> |
rust - add VectorSliceWrapper::from_vector_and_slice_mut |
| d3677ae8 | 22-Dec-2021 |
Jeremy L Thompson <jeremy@jeremylt.org> |
rust - use for-in over for_each when not using iterator chain |
| 486868d3 | 21-Dec-2021 |
Jeremy L Thompson <jeremy@jeremylt.org> |
rust - update name of 'wrap_slice_mut()' |
| 56e67e05 | 07-Dec-2021 |
Jeremy L Thompson <jeremy@jeremylt.org> |
rust - add temporary slice borrowing |
| 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 ...
|
| 6f97ff0a | 16-Sep-2021 |
Jeremy L Thompson <jeremy@jeremylt.org> |
rust - add CeedOperatorCheckReady to interafce |
| 4d27c890 | 13-Sep-2021 |
Jeremy L Thompson <jeremy@jeremylt.org> |
rust - tidy exports in prelude |
| 2ba8e59c | 13-Sep-2021 |
Jeremy L Thompson <jeremy@jeremylt.org> |
rust - drop extra 'Ceed' in some type names |
| e78171ed | 13-Sep-2021 |
Jeremy L Thompson <jeremy@jeremylt.org> |
rust - creation of vector view may fail |
| d7f01795 | 13-Sep-2021 |
Jeremy L Thompson <jeremy@jeremylt.org> |
rust - add missing ?s |
| 89d15d5f | 13-Sep-2021 |
Jeremy L Thompson <jeremy@jeremylt.org> |
rust - export Result for libceed crate |
| 08778c6f | 13-Sep-2021 |
Jeremy L Thompson <jeremy@jeremylt.org> |
rust - add QFunction and Operator fields with getters |
| 3f2759cf | 13-Sep-2021 |
Jeremy L Thompson <jeremy@jeremylt.org> |
rust - add num_elements and num_quadrature_points for Operator |
| 1142270c | 13-Sep-2021 |
Jeremy L Thompson <jeremy@jeremylt.org> |
rust - rework error handling to simply Rust libCEED object structs |
| e03682af | 13-Sep-2021 |
Jeremy L Thompson <jeremy@jeremylt.org> |
rust - add is_some() and is_none() for vector/elemrestriction/basis/qfunction opts |
| c68be7a2 | 13-Sep-2021 |
Jeremy L Thompson <jeremy@jeremylt.org> |
rust - remove unwrap() in documentation in favor of ? |
| 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 ...
|
| bcb2dfae | 04-Feb-2021 |
Jed Brown <jed@jedbrown.org> |
doc: replace recommonmark with MyST and migrate ReST to MyST
This offers more familiar syntax for most writing, as well as natural $\pi$ math (versus :math:`\pi`) and markdown syntax for all ReST fe
doc: replace recommonmark with MyST and migrate ReST to MyST
This offers more familiar syntax for most writing, as well as natural $\pi$ math (versus :math:`\pi`) and markdown syntax for all ReST features.
The API doc stubs remain in ReST as recommended for autodoc.
https://myst-parser.readthedocs.io/en/latest/sphinx/use.html#use-sphinx-ext-autodoc-in-markdown-files
The change was largely implemented using https://github.com/executablebooks/rst-to-myst/ with some manual fix-ups. Tables (both ReST built-in tables and list-table) remain under eval-rst until they can be manually updated.
show more ...
|
| d66340f5 | 06-Jul-2021 |
Jed Brown <jed@jedbrown.org> |
libCEED 0.9.0 |
| c09fca11 | 28-May-2021 |
jeremylt <thompson.jeremy.luke@gmail.com> |
doc - use rust crate documentation instead of user manual |
| a1cbad85 | 28-May-2021 |
Jed Brown <jed@jedbrown.org> |
rust/libceed: add README.md in preparation for packaging |