| e0dd3b27 | 26-Apr-2021 |
jeremylt <thompson.jeremy.luke@gmail.com> |
vec - add CeedVectorScale |
| 59972493 | 21-Apr-2021 |
jeremylt <thompson.jeremy.luke@gmail.com> |
device - drop forced device->host sync in certain cases, only sync when requested |
| fbfda198 | 21-Apr-2021 |
jeremylt <thompson.jeremy.luke@gmail.com> |
vec - add device impl of axpy and pointwisemult |
| ebc204c0 | 15-Apr-2021 |
Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> |
Merge pull request #740 from CEED/natalie/device-id
Update device ID selection for HIP/CUDA/MAGMA backends |
| 14e5f016 | 15-Apr-2021 |
Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> |
Merge pull request #743 from CEED/jeremy/tidy
tidy - small fixes |
| 78464608 | 14-Apr-2021 |
jeremylt <thompson.jeremy.luke@gmail.com> |
tidy - small fixes |
| 34359f16 | 12-Apr-2021 |
jeremylt <thompson.jeremy.luke@gmail.com> |
interface - add Ceed*Reference functions |
| 6dbfb411 | 05-Apr-2021 |
nbeams <246972+nbeams@users.noreply.github.com> |
Update device ID selection for HIP/CUDA backends; add for MAGMA backends |
| 87250337 | 09-Apr-2021 |
jeremylt <thompson.jeremy.luke@gmail.com> |
minor - improve error message for uncompiled backends |
| d0c91ce9 | 08-Apr-2021 |
jeremylt <thompson.jeremy.luke@gmail.com> |
ceed - create CEED_MAX_BACKEND_PRIORITY, use to repair registry list reporting |
| 71415c51 | 07-Apr-2021 |
jeremylt <thompson.jeremy.luke@gmail.com> |
build - register exact names of backends in CeedRegister_Weak for better error messages |
| 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 ...
|
| e2f04181 | 31-Mar-2021 |
Andrew T. Barker <barker29@llnl.gov> |
Full assembly of CeedOperator (#712)
* Add CeedOperatorLinearFullAssemble() to explicitly assemble a CeedOperator
The output format is a stream of (row, column, value) triples, which client
code
Full assembly of CeedOperator (#712)
* Add CeedOperatorLinearFullAssemble() to explicitly assemble a CeedOperator
The output format is a stream of (row, column, value) triples, which client
code can use to assemble a sparse matrix by adding the values in the
appropriate places.
* Add full assembly test for triangular mesh, t563-operator.c, which is analogous to t536-operator.c
* assembly: change interface to separate nonzero structure from values
* assembly: add potential backends for CeedOperatorLinearAssemble, CeedOperatorLinearAssemblySymbolic
* assembly: use CeedMatrixMultiply() instead of hand-rolled duplicated code
This also involves switching some arrays from column-major ordering to
row-major ordering.
* Remove CeedMatrixMultiply from ceed-impl.h because it is already in ceed-backend.h
* assembly: modify use of fallback resource
* operator - use new error codes in full assembly
* style - minor
* operator - switch default fallback to none
* operator - fix fallback for full assembly
* operator - fix fallback usage
* operator - fix fallback for digonal assembly
* avx - revert bug
* avx - revert bug
Co-authored-by: jeremylt <thompson.jeremy.luke@gmail.com>
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 ...
|
| 55250509 | 28-Jan-2021 |
nbeams <246972+nbeams@users.noreply.github.com> |
add syncthreads after array read |
| e9132427 | 28-Jan-2021 |
nbeams <246972+nbeams@users.noreply.github.com> |
change c_* to s_* for shared memory arrays and remove old fcn declarations |
| 54dd8e96 | 21-Jan-2021 |
nbeams <246972+nbeams@users.noreply.github.com> |
remove constant array pointers from hip-shared basis data struct |
| 9dd88646 | 21-Jan-2021 |
nbeams <246972+nbeams@users.noreply.github.com> |
remove constant memory usage for hip-shared |
| 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 ...
|
| 32f542f0 | 28-Dec-2020 |
Jed Brown <jed@jedbrown.org> |
Merge pull request #679 from CEED/jed/petsc-hip
examples/petsc: use VecGetArrayAndMemType() to support CUDA/HIP/Kokkos |
| fdf826bb | 25-Dec-2020 |
Jed Brown <jed@jedbrown.org> |
Skip hipSetDevice/cudaSetDevice unless specified by user
Some applications will set the device before using libCEED (perhaps according to a policy based on MPI rank). In such cases, we should leave
Skip hipSetDevice/cudaSetDevice unless specified by user
Some applications will set the device before using libCEED (perhaps according to a policy based on MPI rank). In such cases, we should leave it by default rather than override it back to zero.
show more ...
|
| 69b9612d | 18-Dec-2020 |
nbeams <246972+nbeams@users.noreply.github.com> |
remove CUDA-specific atomicAdd code from hip-gen |
| 1d013790 | 14-Dec-2020 |
Jed Brown <jed@jedbrown.org> |
Add static library (libceed.a) [resolve #670]
We no longer use __attribute__((constructor)) to register backends and gallery implementations because we can't ensure that the symbols are linked into
Add static library (libceed.a) [resolve #670]
We no longer use __attribute__((constructor)) to register backends and gallery implementations because we can't ensure that the symbols are linked into applications that link the static library. We've switched to creating CeedRegisterAll() and CeedQFunctionRegisterAll(), which are called automatically by the library, and call weak symbols to register all the backend/gallery implementations. This strategy was partly motivated by not wanting to have preprocessor macros describing what is available, and the associated need to recompile rather than just relink when those macros change.
So we now have backends/ceed-backend-list.h that declares all the backends wrapped in a macro. It is included by backends/ceed-backend-weak.c to create weak definitions of all the backends. In the makefile, we sort so this comes last when linking a shared or static library, and thus these weak symbols will only be picked up if they were not defined by the actual backend source files. The same header is included (with different macro wrapping) in interface/ceed-register.c, where CeedRegisterAll() is defined.
To add a new backend, one must do essentially the same registration strategy as in the past, plus add one line to the common ceed-backend-list.h.
show more ...
|