| #
1070991d
|
| 24-Jan-2021 |
Jed Brown <jed@jedbrown.org> |
Add version macros and CeedGetVersion() [fix #697]
Requested-by: Freddie Witherden <freddie@witherden.org>
|
| #
dea0e975
|
| 12-Feb-2021 |
Jed Brown <jed@jedbrown.org> |
Merge pull request #705 from barker29/barker29/error-message
Modify errmsg handling related to CeedErrorStore
|
| #
3f4a9821
|
| 11-Feb-2021 |
Andrew T. Barker <barker29@llnl.gov> |
Modify CeedErrorFormat, CeedGetErrorMessage, CeedResetErrorMessage to find errmsg in parents.
Currently, CeedErrorStore puts its message in the top-level Ceed object by following parents up the tree
Modify CeedErrorFormat, CeedGetErrorMessage, CeedResetErrorMessage to find errmsg in parents.
Currently, CeedErrorStore puts its message in the top-level Ceed object by following parents up the tree. This commit modifies the other functions that access the error message to duplicate that same behavior, so that in particular CeedGetErrorMessage(ceed, ...) will return the same message that CeedErrorStore(ceed, ...) sets.
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 ...
|
| #
14b01f2c
|
| 16-Dec-2020 |
Jed Brown <jed@jedbrown.org> |
Merge pull request #674 from CEED/jed/static-link
static link
|
| #
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 ...
|
| #
06988bf7
|
| 31-Oct-2020 |
Jed Brown <jed@jedbrown.org> |
Merge branch 'will/julia' into main [PR #632]
make.jl: set devbranch="main"
* origin/will/julia: Add short FFI section to docs Julia: codecov CI Julia: Travis CI Julia: automatic code forma
Merge branch 'will/julia' into main [PR #632]
make.jl: set devbranch="main"
* origin/will/julia: Add short FFI section to docs Julia: codecov CI Julia: Travis CI Julia: automatic code formatting Julia: documentation Julia: examples Julia: unit tests Julia: LibCEED.jl Julia interface Make fallback Ceed use Error callback of parent Use pointer to va_list in error handler Bugfix in `CeedOperatorLinearAssembleAddDiagonal` Bugfix in `CeedQFunctionCreateInteriorByName` Update t504 and t523 output with correct field names Bugfix in `CeedOperatorSingleView`
show more ...
|
| #
fc164cf7
|
| 09-Oct-2020 |
Will Pazner <will.e.p@gmail.com> |
Make fallback Ceed use Error callback of parent
|
| #
f9982c62
|
| 29-Sep-2020 |
Will Pazner <will.e.p@gmail.com> |
Use pointer to va_list in error handler
va_list is implementation defined, so a pointer works better with FFI.
|
| #
aba1e1b4
|
| 15-Oct-2020 |
Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> |
Merge pull request #643 from CEED/jeremy/match-length
Ceed - require 2+ chars to match in resource
|
| #
8f7c06a6
|
| 15-Oct-2020 |
jeremylt <thompson.jeremy.luke@gmail.com> |
Ceed - require 2+ chars to match in resource; every resource starts with /
|
| #
500adadc
|
| 30-Sep-2020 |
nbeams <246972+nbeams@users.noreply.github.com> |
resolve merge conflicts for v0.7 release
|
| #
187168c7
|
| 29-Sep-2020 |
Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> |
Jeremy/py debugging (#637)
* Ceed - only store error with parent
* Python - assert state is not in write status
* Vector - add reader check to destructor
* make style
* remove debugging
Jeremy/py debugging (#637)
* Ceed - only store error with parent
* Python - assert state is not in write status
* Vector - add reader check to destructor
* make style
* remove debugging assertion
* Python - minor documentation correctness
* Python - hold reference to data array for USE_POINTER to prevent gc
* Python - hold reference to data array for USE_POINTER to prevent gc for restriction and context
* Python - use None object for initial ref back to ceed objects
* Python - add USE_POINTER to imports as needed
* Junit - update valid error message for writable access lock
* Python - change exception raised test to help gc
show more ...
|
| #
8bbde584
|
| 19-Sep-2020 |
Jed Brown <jed@jedbrown.org> |
Merge pull request #610 from CEED/jeremy/cuda-qf-pointer
QF - add interface to set device user function
|
| #
8c84ac63
|
| 21-Aug-2020 |
jeremylt <thompson.jeremy.luke@gmail.com> |
QF - add interface to set device user function
|
| #
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 ...
|
| #
752c3701
|
| 28-Jul-2020 |
Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> |
Fix CodeCov Reports (#597)
* Tests - use qfunction headers for Fortran tests to improve bypass gcov issue
* Gitlab - use latest gcc on Noether
* Cuda/Hip - add case in reciprocal for completen
Fix CodeCov Reports (#597)
* Tests - use qfunction headers for Fortran tests to improve bypass gcov issue
* Gitlab - use latest gcc on Noether
* Cuda/Hip - add case in reciprocal for completeness
* Cuda - remove duplicate case
* Makefile - exclude fortran test headers from make style
* Travis - update to Focal
* Cov - adjust style to be consistent and avoid false misses
* Travis - update comments and style
show more ...
|
| #
d99fa3c5
|
| 28-Jul-2020 |
Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> |
Op - add interface for multigrid level creation (#579)
* Op - add interface for multigrid level creation
* Op - add implementation for OperatorMultigridLevelCreate
* make style
* make tidy
Op - add interface for multigrid level creation (#579)
* Op - add interface for multigrid level creation
* Op - add implementation for OperatorMultigridLevelCreate
* make style
* make tidy
* Op - add test t550, fix errors
* Tests - add Fortran version of t550
* Tests - add t511 for testing tensor basis multigrid level setup
* make style and tidy
* Tests - fix t55* memory leaks
* Tests - add t552 for non-tensor basis multigrid levels
* CUDA - use CeedIntMax in shared CUDA backend
* Tests - add OCCA test exception for t55*
* Op - add lvector global prolongation multiplicity, simplifies user interface
* Solids - convert example to new interface
* make style
* Tests - convert t550 to multicomponent
* Solids - drop unused ceed_fine
* Python - add new multigrid level interface
* Python - fix operator wrap, use ceed python obj rather than ceed pointer
* Gallery - update comment slightly
* Tests - remove accidental duplicate test
* Multigrid - add size=2 case as well
* Operator - drop unneeded inline
* QFunction - simplify context ownership to match vector
* make style
* Python - update multigrid function signature
* Operator - refactor prolong/restrict qfunctions as scaling qfunctions
* Vector - add testing for reciprocal and add to Fortran/Python interfaces
* CUDA - add VectorReciprocal on device
* Gallery - drop specalized versions for 'Scale', wil fix performance hit later
* Hip - add vector reciprocal
* Operator - add more flexible prologation basis creation interface
* Vec - make sure data is set for VectorReciprocal
* Tests - drop ncomp for t550/1 so kernel is not too large for Magma backend
* Tests - add missing lcov markers
* make style
* Travis - allow ARM job to fail
* Travis - fix intel install
* Travis - try different install dir name for inteloneapi
* Travis - add ifort, ipp packages
* Tests - add missing lcov marker
show more ...
|
| #
572ff09c
|
| 21-Jul-2020 |
nbeams <246972+nbeams@users.noreply.github.com> |
Merge branch 'main' into natalie/hip-ref-v2
|
| #
477729cf
|
| 18-Jul-2020 |
Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> |
Ceed - add message storing error handler (#587)
* Ceed - add message storing error handler
* Python - use CeedErrorStore and CeedGetErrorMessage to pass messages from C to Python
* make style
Ceed - add message storing error handler (#587)
* Ceed - add message storing error handler
* Python - use CeedErrorStore and CeedGetErrorMessage to pass messages from C to Python
* make style
* make tidy
* Python - add comment about cffi and vargs
* Ceed - add 'store' as possible env option for CEED_ERROR_HANDLER
* Python - and error handling for creation of ceed context
* Ceed - statically allocate error message array
* Ceed - simplify error message copying and guard against buffer overflow
* Tests - fix small t005 python bug
* Tests - fix small leak in t005
* Ceed - small fix in setting error handler from env
* Tests - add missing lcov markers
show more ...
|
| #
77ad9f29
|
| 15-Jul-2020 |
nbeams <246972+nbeams@users.noreply.github.com> |
Merge branch 'main' into natalie/hip-ref-v2
|
| #
2fcdcaf2
|
| 01-Jul-2020 |
Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> |
Merge pull request #577 from CEED/jeremy/take-array
Vec - add CeedVectorTakeArray
|
| #
6a6c615b
|
| 30-Jun-2020 |
Jeremy L Thompson <thompson.jeremy.luke@gmail.com> |
Vec - add CeedVectorTakeArray
|
| #
db3f49c5
|
| 30-Jun-2020 |
Yohann <dudouit1@llnl.gov> |
Merge branch 'master' into yohann/nameKernels
|
| #
4753c0fa
|
| 28-Jun-2020 |
Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> |
Merge pull request #570 from CEED/jeremy/debug-mode
Add Debug Mode
|