| b8bc0c60 | 16-Mar-2023 |
Peter Munch <peterrmuench@gmail.com> |
Fix comment in ex1-volume.c (#1180) |
| d37d859e | 06-Mar-2023 |
Jeremy L Thompson <jeremy@jeremylt.org> |
ex - small ceed example consistency fixes |
| ea61e9ac | 30-Nov-2022 |
Jeremy L Thompson <jeremy@jeremylt.org> |
minor - assorted formatting fixes |
| 47fa654b | 18-Nov-2022 |
Jed Brown <jed@jedbrown.org> |
style: remove obsolete (with clang-format) INDENT comments |
| 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 ...
|
| 8ad5ad37 | 21-Sep-2022 |
rezgarshakeri <rezgar.shakeri@colorado.edu> |
some clean-up |
| 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 |
| 990fdeb6 | 21-Jun-2022 |
Jeremy L Thompson <jeremy@jeremylt.org> |
fmt - add CeedInt_FMT |
| 121d4b7f | 27-Jun-2022 |
Jeremy L Thompson <jeremy@jeremylt.org> |
gallery - fix bad indexing in 3d poission det |
| 17be3a41 | 23-Jun-2022 |
Jeremy L Thompson <jeremy@jeremylt.org> |
doc - update style since I'm touching the file |
| 3d8e8822 | 17-Mar-2022 |
Jeremy L Thompson <jeremy@jeremylt.org> |
minor - update copyright headers |
| 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 ...
|
| 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 ...
|
| 8791656f | 03-Aug-2021 |
Jed Brown <jed@jedbrown.org> |
doc: move from {math:numref} to {eq} (no visual change) |
| 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 ...
|
| fe39081b | 21-Jul-2021 |
Jeremy L Thompson <jeremy@jeremylt.org> |
ex - fix vla/fixed length mismatches |
| d1d35e2f | 09-Apr-2021 |
jeremylt <thompson.jeremy.luke@gmail.com> |
style - updating C variable style |
| 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 ...
|
| dc8efd83 | 31-Mar-2021 |
Leila Ghaffari <49916147+LeilaGhaffari@users.noreply.github.com> |
Fluids - More Regression Tests (#687)
* examples/fluids: Regression tests: Changed the reference files' names and
the flags to associate with the corresponding example (so far
density_current only
Fluids - More Regression Tests (#687)
* examples/fluids: Regression tests: Changed the reference files' names and
the flags to associate with the corresponding example (so far
density_current only)
Changed the files' names
Changed the flags
* examples/fluids: added new regression tests for advection(2d)
* examples/fluids: regression tests: removed the enums and passed defined command-line options for filepath and test tolerance.
Removed solver controls and assigned testtol=1E-11 for explicit cases.
style
examples/fluids: regression tests: fixed the pathfile issue (it needs to be relative)
examples/fluids: Specified a name for each test
examples/fluids: TESTARGS - trying absolute path for the test files
* tests/tap.sh: Print out test names for fluids examples
inspired-by: @jeremylt
tests/tap.sh: drop quotation marks from the printed test names
* tests: specify test name for ceed and nek examples and print the names when there are multiple test arguments
* examples/fluids: remove test_ from test names
* style
* tests/junit.py: Add name for tests with multiple test cases
* examples/ceed/ex1-volume.c: make the naming of the tests consistent
* tests/junit.py: a more compact if statement
helped-by: @jeremylt
* examples/fluids: drop the broken supg test of density_current for now
The stabilization enum is not passed to density_current QFunction hence
the test doesn't work. We need to create a new test when the code is
debugged.
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 ...
|
| 3d576824 | 29-Jan-2021 |
Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> |
headers - clearify includes to not rely on transitive includes (#701)
* headers - clearify includes to not rely on transitive includes
* style - add header recommendations from 'include-what-you-
headers - clearify includes to not rely on transitive includes (#701)
* headers - clearify includes to not rely on transitive includes
* style - add header recommendations from 'include-what-you-use'
* style - apply 'include-what-you-use' changes to CUDA backends
* style - 'include-what-you-use' for hip backends
* style - drop ceed.h includes in gallery qf source
* docs - add dev notes for header files
* style - header style and alphabetize
show more ...
|
| ded9b81d | 12-Jan-2021 |
Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> |
Rust - add examples (#683)
* Rust - initial version of ex1
Example - move closure
Co-authored-by: Jed Brown <jed@jedbrown.org>
typo fix
Co-authored-by: Jed Brown <jed@jedbrown.org>
mi
Rust - add examples (#683)
* Rust - initial version of ex1
Example - move closure
Co-authored-by: Jed Brown <jed@jedbrown.org>
typo fix
Co-authored-by: Jed Brown <jed@jedbrown.org>
minor tidying
order -> degree
drop operator applicaiton messages
* rust: make top-level workspace and use libceed from path
This allows a single "cargo test" from the top level.
* rust: add version-sync (to help us remember when we publish a crate)
* examples - consistency update
* Rust - add Cargo.lock to top level gitignore
* rust - refactor example to add tests
* Rust - test and style from workspace
* Rust - update year in header
* Rust - add error values to Error, switch to String
* Rust - add input validation in check
* Rust - format volume output in example
* Rust - update example help output
* Rust - example tests rename to simplify
* Rust - split example 1 into 3 parts
* rust: std::sync::Once for CeedRegisterAll()
* Promote CeedRegisterAll() and CeedQFunctionRegisterAll() to User
* Guard calls to CeedInit() to avoid races in parallel testing
* Examples - update rust example to new builder syntax
* Examples - add rust ex2
* Rust - add CEED_STRIDES_BACKEND
* Examples - drop unused restriction in ceed ex2
* Rust - minor documentation update
* Rust - adopt convention of 'dimension-like' values all using usize; reduces casting
* Actions - add Rust code coverage
* Rust - fix usize conversion
* Rust - update casting between i32(C interface) and usize(Rust interface)
* Actions - include Rust doctests
* Actions - Rust doctest coverange only avaliable in nightly
* Rust - drop explict typing of values passed to C get* functions
* Rust - modify version numbers tests, cargo-tarpaulin and cargo have different calling paths in tests
* cargo fmt
* Examples - add separate Rust example quiet mode
* Actions - rustfmt not always avaliable on nightly
* Rust - simplify version tests
* Actions - add a few notes
* CodeCov - try adding gallery to 'fixes'
* CodeCov - drop some codecov noise in examples
* Examples - test all combinations in ex1/ex2
* Rust - test 3d examples without quiet flag
* Actions - use gcc-10 for compatibility in gcov reports
* Examples - test gallery in 1/2/3d in Rust ex
* Gitlab - also report gcov version
* JUnit - adjust indentation
* Gitlab - make it easier to find complier info in logs
* Tests - fix minor styling strangeness in t002
* Actions - only upload rust coverage
* Actions - exclude non-rust files from rust coverage
* Cov - exclude weak symbols code, not useful cov info
* Examples - clean up options creation for tests in Rust examples
* Examples - simplify tolerance for testing Rust examples
* cargo fmt
* Examples - another match
* Examples - common Rust example code in shared local crate
Co-authored-by: Jed Brown <jed@jedbrown.org>
show more ...
|
| 28688798 | 28-Sep-2020 |
jeremylt <thompson.jeremy.luke@gmail.com> |
OCCA - update backend resource names to match conventions |
| 9647a07e | 22-Aug-2020 |
David Medina <dmed256@gmail.com> |
OCCA Backend Update (#305)
* [Docs] Update docs for new OCCA backend
* [Fortran] CeedVectorRestoreArray fix
* [Test] Updates t002-ceed test to support query params
* [Make] Adds tidy for cp
OCCA Backend Update (#305)
* [Docs] Update docs for new OCCA backend
* [Fortran] CeedVectorRestoreArray fix
* [Test] Updates t002-ceed test to support query params
* [Make] Adds tidy for cpp files
* [OCCA] Updates OCCA backend
* PR feedback: Update StrideType naming
* PR feedback: Fixed USER_STRIDES vs BACKEND_STRIDES usage
* [OCCA] Add comments to code generation
* [CI] Removes commit from OCCA build
* PR Feedback: Update README
* PR Feedback: Removed compiler warnings
* Fix restriction function changes
* occa: track AssembleLinear -> LinearAssemble
* [OCCA][Vector] Adds takeArray method
* [OCCA][Restriction] Fixes restriction strides
* [OCCA][Operator] Adds point block diagonal registration
* [OCCA][Operator] Fixes
* OCCA - update debug color for visability
* Travis - fix extra fi
* OCCA - adjust kernel, multi component derivatives are expected as [dim][comp][q]
* OCCA - adjust basis kernel args in operator kernel to agree with expected [dim][comp][q] ordeing
* OCCA - fix uninitalized memory in grad transpose 3d kernel
* OCCA - fix Elayout description
* OCCA - fix bad dimensions in basis kernel
* OCCA - fix TakeArray to sync before returning array pointer
* MFEM - print error when test fails
* OCCA - fix 2d grad kernels
* OCCA - flag digonal of composite operators unsupported
* OCCA - fix restoreArray logic
* OCCA - minor cleanup with GPU
* Travis - add 'make info' where able for debugging
* OCCA - explictily test OpenCL mode
* OCCA - drop restrict for ElemRestriction kernels, OpenCL doesn't like it
* OCCA - explicitly test cuda and hip versions of OCCA backend
* OCCA - explicitly test OpenMP mode in OCCA
* Tests - modify check for VLA support for OCCA to catch all OCCA modes
* WIP - test possible OCCA fix for PowerPC
* OCCA - separate CPU modes for testing as well
* Readme - update list of OCCA backend modes
* Makefile - fix unterminated addprefix
* OCCA - enable direct access to OCCA Serial mode
* OCCA - add comments to registration
* Makefile - remove extra )
* OCCA - remove pass by reference C++ syntax for OpenCL compatability
* OCCA - drop use of @restrict for OpenCL
* OCCA - remove OpenCL mode, not fully supported in OCCA (see OCCA issue #166)
* OCCA - fixing rebase issues
* OCCA - Fix implementation of QFunctionContext
* OCCA - move GetContextSize so ierr check actually works
* Travis - use libOCCA instead of jeremylt/occa
* Junit - update OCCA test skip list
* Make - simplify OCCA check for enabled modes
Co-authored-by: Jed Brown <jed@jedbrown.org>
Co-authored-by: Jeremy L. Thompson <jeremy.thompson@colorado.edu>
show more ...
|
| 777ff853 | 14-Aug-2020 |
Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> |
QFunction Context Data Object (#596)
* Ctx - create context object for QFunction context data
* Context - rename UserContext -> QFunctionContext
* Ctx - add lcov markers
* Ctx - fix leak in
QFunction Context Data Object (#596)
* Ctx - create context object for QFunction context data
* Context - rename UserContext -> QFunctionContext
* Ctx - add lcov markers
* Ctx - fix leak in identity QFunctions
* Hip/Cuda - rename sync functions for vector/context
* Tests - lcov marker update
* QFunction - drop unused function
* Python - fix copy-paste errors
* Ctx - update notes for Fortran usage
* Fortran - drop unneeded cast
Co-authored-by: Jed Brown <jed@jedbrown.org>
* Interface - use void* for SetData interfaces
* Make - use call quiet for NVCC
* Interface - use void* for GetData interfaces
* Make - add quiet call option for examples
* Makefile - create common makefile to reduce duplication/complexity in example makefiles
Co-authored-by: Jed Brown <jed@jedbrown.org>
show more ...
|