History log of /libCEED/examples/petsc/ (Results 251 – 275 of 306)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
00742fa814-Jul-2019 Jed Brown <jed@jedbrown.org>

examples/petsc: fix max reduction type and address


/libCEED/Makefile
/libCEED/backends/avx/ceed-avx-blocked.c
/libCEED/backends/avx/ceed-avx-serial.c
/libCEED/backends/blocked/ceed-blocked.c
/libCEED/backends/cuda-reg/ceed-cuda-reg-basis.c
/libCEED/backends/cuda-reg/ceed-cuda-reg-restriction.c
/libCEED/backends/cuda-reg/ceed-cuda-reg.c
/libCEED/backends/cuda-reg/ceed-cuda-reg.h
/libCEED/backends/cuda-shared/ceed-cuda-shared-basis.c
/libCEED/backends/cuda-shared/ceed-cuda-shared.c
/libCEED/backends/cuda-shared/ceed-cuda-shared.h
/libCEED/backends/cuda/ceed-cuda-basis.c
/libCEED/backends/cuda/ceed-cuda-operator.c
/libCEED/backends/cuda/ceed-cuda-qfunction.c
/libCEED/backends/cuda/ceed-cuda-restriction.c
/libCEED/backends/cuda/ceed-cuda-vec.c
/libCEED/backends/cuda/ceed-cuda.c
/libCEED/backends/cuda/ceed-cuda.h
/libCEED/backends/cuda/cuda-vec.cu
/libCEED/backends/memcheck/ceed-memcheck.c
/libCEED/backends/occa/ceed-occa-vector.c
/libCEED/backends/opt/ceed-opt-blocked.c
/libCEED/backends/opt/ceed-opt-serial.c
/libCEED/backends/ref/ceed-ref.c
/libCEED/backends/template/ceed-tmpl-sub.c
/libCEED/backends/template/ceed-tmpl.c
/libCEED/backends/xsmm/ceed-xsmm-blocked.c
/libCEED/backends/xsmm/ceed-xsmm-serial.c
/libCEED/examples/navier-stokes/densitycurrent.h
bps.c
/libCEED/include/ceed.h
/libCEED/interface/ceed-elemrestriction.c
/libCEED/interface/ceed-fortran.c
/libCEED/tests/t209-elemrestriction-f.f90
/libCEED/tests/t209-elemrestriction.c
/libCEED/tests/t510-operator-f.cu
/libCEED/tests/t510-operator.cu
/libCEED/tests/t511-operator-f.cu
/libCEED/tests/t511-operator.cu
/libCEED/tests/t520-operator-f.cu
/libCEED/tests/t520-operator.cu
/libCEED/tests/t521-operator-f.cu
/libCEED/tests/t521-operator.cu
e07e9ddc24-Jun-2019 jeremylt <jeremy.thompson@colorado.edu>

Convert BP5 BP6 to GLL

194c25f724-Jun-2019 jeremylt <jeremy.thompson@colorado.edu>

Update qextra to reflect BP paper

3ce8654611-Jun-2019 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com>

Improve petsc-bps benchmark output (#266)

* Improve petsc-bps benchmark output

Mesh Order -> Number of 1D Basis Nodes

* Update postprocess-base.py for new output

* Fix line break in plot ti

Improve petsc-bps benchmark output (#266)

* Improve petsc-bps benchmark output

Mesh Order -> Number of 1D Basis Nodes

* Update postprocess-base.py for new output

* Fix line break in plot title and pdf file name

* Shorten plot title

* Fix legend polynomial order p

* Update postprocessing scripts to use Pandas

* Benchmarks: plot title, tasks->ranks

* Update title with latex \times symbol and icrease font size in title, legend, and axes

* Postprocess script title, num_proc_node instead of num_proc

show more ...

4b5b4ec104-Jun-2019 jeremylt <jeremy.thompson@colorado.edu>

Typo: Error -> Error3

0c59ef1529-May-2019 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com>

Add PETSc BP2, BP4, BP5, BP6 (#243)

* Add PETSc BP2, BP4, BP5, BP6

* Documentation update

* Update make benchmark

* Minor changes

* Add PETSc bpData structure

* Update make benchmarks

Add PETSc BP2, BP4, BP5, BP6 (#243)

* Add PETSc BP2, BP4, BP5, BP6

* Documentation update

* Update make benchmark

* Minor changes

* Add PETSc bpData structure

* Update make benchmarks

* Benchmark - use default qextra

* Documentation fix

* Clean up PETSc bps.c, add benchmarking first run

* Drop -ksp_max_it from benchmarkscript

show more ...


/libCEED/.gitignore
/libCEED/.travis.yml
/libCEED/Doxyfile
/libCEED/Makefile
/libCEED/README.md
/libCEED/backends/avx/ceed-avx-blocked.c
/libCEED/backends/avx/ceed-avx-serial.c
/libCEED/backends/avx/ceed-avx-tensor.c
/libCEED/backends/avx/ceed-avx.h
/libCEED/backends/blocked/ceed-blocked-operator.c
/libCEED/backends/blocked/ceed-blocked.c
/libCEED/backends/cuda-reg/ceed-cuda-reg-basis.c
/libCEED/backends/cuda-reg/ceed-cuda-reg-restriction.c
/libCEED/backends/cuda-reg/ceed-cuda-reg.c
/libCEED/backends/cuda-reg/ceed-cuda-reg.h
/libCEED/backends/cuda-reg/cuda-reg-basis.cu
/libCEED/backends/cuda-shared/ceed-cuda-shared-basis.c
/libCEED/backends/cuda-shared/ceed-cuda-shared.c
/libCEED/backends/cuda-shared/ceed-cuda-shared.h
/libCEED/backends/cuda/ceed-cuda-basis.c
/libCEED/backends/cuda/ceed-cuda-operator.c
/libCEED/backends/cuda/ceed-cuda-qfunction.c
/libCEED/backends/cuda/ceed-cuda-restriction.c
/libCEED/backends/cuda/ceed-cuda-vec.c
/libCEED/backends/cuda/ceed-cuda.c
/libCEED/backends/cuda/ceed-cuda.h
/libCEED/backends/magma/ceed-magma.c
/libCEED/backends/memcheck/ceed-memcheck-qfunction.c
/libCEED/backends/memcheck/ceed-memcheck.c
/libCEED/backends/memcheck/ceed-memcheck.h
/libCEED/backends/occa/ceed-occa-restrict.c
/libCEED/backends/occa/ceed-occa.c
/libCEED/backends/opt/ceed-opt-blocked.c
/libCEED/backends/opt/ceed-opt-operator.c
/libCEED/backends/opt/ceed-opt-serial.c
/libCEED/backends/opt/ceed-opt.h
/libCEED/backends/ref/ceed-ref-basis.c
/libCEED/backends/ref/ceed-ref-operator.c
/libCEED/backends/ref/ceed-ref-qfunction.c
/libCEED/backends/ref/ceed-ref-restriction.c
/libCEED/backends/ref/ceed-ref-tensor.c
/libCEED/backends/ref/ceed-ref-vec.c
/libCEED/backends/ref/ceed-ref.c
/libCEED/backends/template/ceed-tmpl-sub.c
/libCEED/backends/template/ceed-tmpl.c
/libCEED/backends/xsmm/ceed-xsmm-blocked.c
/libCEED/backends/xsmm/ceed-xsmm-serial.c
/libCEED/backends/xsmm/ceed-xsmm-tensor.c
/libCEED/backends/xsmm/ceed-xsmm.h
/libCEED/benchmarks/benchmark.sh
/libCEED/benchmarks/petsc-bps.sh
/libCEED/ceed.pc.template
/libCEED/doc/libCEEDdev.md
/libCEED/examples/Makefile
/libCEED/examples/README.md
/libCEED/examples/navier-stokes/README.md
/libCEED/examples/navier-stokes/densitycurrent.h
/libCEED/examples/navier-stokes/navierstokes.c
/libCEED/examples/nek5000/.gitignore
/libCEED/examples/nek5000/bp1.usr
/libCEED/examples/nek5000/bp3.usr
/libCEED/examples/nek5000/generate-boxes.sh
/libCEED/examples/nek5000/make-nek-examples.sh
/libCEED/examples/nek5000/make-nek-tests.sh
.gitignore
Makefile
bp1.cu
bp1.h
bp1.okl
bp2.cu
bp2.h
bp2.okl
bp3.cu
bp3.h
bp3.okl
bp4.cu
bp4.h
bp4.okl
bps.c
common.cu
common.h
common.okl
/libCEED/include/ceed-backend.h
/libCEED/include/ceed-impl.h
/libCEED/include/ceed.h
/libCEED/interface/ceed-basis.c
/libCEED/interface/ceed-elemrestriction.c
/libCEED/interface/ceed-fortran.c
/libCEED/interface/ceed-operator.c
/libCEED/interface/ceed-qfunction.c
/libCEED/interface/ceed-tensor.c
/libCEED/interface/ceed-vec.c
/libCEED/interface/ceed.c
/libCEED/output/t208-elemrestriction-f.out
/libCEED/output/t208-elemrestriction.out
/libCEED/tests/junit.py
/libCEED/tests/t001-ceed.c
/libCEED/tests/t100-vec-f.f90
/libCEED/tests/t101-vec-f.f90
/libCEED/tests/t102-vec-f.f90
/libCEED/tests/t103-vec-f.f90
/libCEED/tests/t105-vec-f.f90
/libCEED/tests/t106-vec-f.f90
/libCEED/tests/t108-vec-f.f90
/libCEED/tests/t109-vec-f.f90
/libCEED/tests/t109-vec.c
/libCEED/tests/t110-vec-f.f90
/libCEED/tests/t110-vec.c
/libCEED/tests/t200-elemrestriction-f.f90
/libCEED/tests/t201-elemrestriction-f.f90
/libCEED/tests/t202-elemrestriction-f.f90
/libCEED/tests/t203-elemrestriction-f.f90
/libCEED/tests/t204-elemrestriction-f.f90
/libCEED/tests/t205-elemrestriction-f.f90
/libCEED/tests/t206-elemrestriction-f.f90
/libCEED/tests/t207-elemrestriction-f.f90
/libCEED/tests/t208-elemrestriction-f.f90
/libCEED/tests/t208-elemrestriction.c
/libCEED/tests/t301-basis-f.f90
/libCEED/tests/t302-basis-f.f90
/libCEED/tests/t303-basis-f.f90
/libCEED/tests/t304-basis-f.f90
/libCEED/tests/t305-basis-f.f90
/libCEED/tests/t308-basis-f.f90
/libCEED/tests/t311-basis-f.f90
/libCEED/tests/t312-basis-f.f90
/libCEED/tests/t313-basis-f.f90
/libCEED/tests/t400-qfunction-f.f90
/libCEED/tests/t401-qfunction-f.f90
/libCEED/tests/t500-operator-f.f90
/libCEED/tests/t501-operator-f.f90
/libCEED/tests/t502-operator-f.f90
/libCEED/tests/t510-operator-f.f90
/libCEED/tests/t511-operator-f.f90
/libCEED/tests/t520-operator-f.f90
/libCEED/tests/t521-operator-f.f90
/libCEED/tests/tap.sh
b8c86f2528-Mar-2019 Valeria Barra <39932030+valeriabarra@users.noreply.github.com>

Ns fix alignment (#226)

* Fix alignment

* remove #include <ceed-impl.h> from tests/t306-basis.c

* Update examples/pets/Makefile

b075100421-Mar-2019 Jed Brown <jed@jedbrown.org>

petsc: VecScatterCreate interface for master

5454094114-Mar-2019 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com>

Add CeedVectorSyncArray (#214)


/libCEED/Makefile
/libCEED/README.md
/libCEED/backends/avx/ceed-avx-blocked.c
/libCEED/backends/avx/ceed-avx-serial.c
/libCEED/backends/avx/ceed-avx-tensor.c
/libCEED/backends/avx/ceed-avx.h
/libCEED/backends/blocked/ceed-blocked-operator.c
/libCEED/backends/blocked/ceed-blocked.c
/libCEED/backends/blocked/ceed-blocked.h
/libCEED/backends/cuda-reg/ceed-cuda-reg-basis.c
/libCEED/backends/cuda-reg/ceed-cuda-reg-restriction.c
/libCEED/backends/cuda-reg/ceed-cuda-reg.c
/libCEED/backends/cuda-reg/ceed-cuda-reg.h
/libCEED/backends/cuda-reg/cuda-reg-basis.cu
/libCEED/backends/cuda/ceed-cuda-operator.c
/libCEED/backends/cuda/ceed-cuda-vec.c
/libCEED/backends/cuda/ceed-cuda.c
/libCEED/backends/cuda/ceed-cuda.h
/libCEED/backends/magma/ceed-magma.c
/libCEED/backends/magma/magma_dtensor_contract.c
/libCEED/backends/occa/ceed-occa-operator.c
/libCEED/backends/occa/ceed-occa-vector.c
/libCEED/backends/occa/ceed-occa.c
/libCEED/backends/occa/ceed-occa.h
/libCEED/backends/ref/ceed-ref-basis.c
/libCEED/backends/ref/ceed-ref-operator.c
/libCEED/backends/ref/ceed-ref-tensor.c
/libCEED/backends/ref/ceed-ref-vec.c
/libCEED/backends/ref/ceed-ref.c
/libCEED/backends/ref/ceed-ref.h
/libCEED/backends/xsmm/ceed-xsmm-blocked.c
/libCEED/backends/xsmm/ceed-xsmm-serial.c
/libCEED/backends/xsmm/ceed-xsmm-tensor.c
/libCEED/backends/xsmm/ceed-xsmm.h
/libCEED/examples/mfem/bp1.hpp
/libCEED/examples/mfem/bp3.hpp
/libCEED/examples/nek5000/bp1.usr
/libCEED/examples/nek5000/bp3.usr
bp1.c
bp3.c
/libCEED/include/ceed-backend.h
/libCEED/include/ceed-impl.h
/libCEED/include/ceed.h
/libCEED/interface/ceed-basis.c
/libCEED/interface/ceed-fortran.c
/libCEED/interface/ceed-operator.c
/libCEED/interface/ceed-tensor.c
/libCEED/interface/ceed-vec.c
/libCEED/interface/ceed.c
/libCEED/tests/t401-qfunction-f.cu
/libCEED/tests/t401-qfunction.cu
/libCEED/tests/t500-operator-f.f90
/libCEED/tests/t500-operator.c
/libCEED/tests/t501-operator-f.f90
/libCEED/tests/t501-operator.c
/libCEED/tests/t502-operator-f.f90
/libCEED/tests/t502-operator.c
/libCEED/tests/t510-operator-f.f90
/libCEED/tests/t510-operator.c
/libCEED/tests/t511-operator-f.f90
/libCEED/tests/t511-operator.c
/libCEED/tests/t520-operator-f.f90
/libCEED/tests/t520-operator-f.okl
/libCEED/tests/t520-operator.c
/libCEED/tests/t520-operator.okl
/libCEED/tests/t521-operator-f.f90
/libCEED/tests/t521-operator-f.okl
/libCEED/tests/t521-operator.c
/libCEED/tests/t521-operator.okl
cdf4f91809-Mar-2019 jeremylt <jeremy.thompson@colorado.edu>

Apply style changes


/libCEED/Makefile
/libCEED/README.md
/libCEED/backends/avx/ceed-avx-basis.c
/libCEED/backends/avx/ceed-avx.c
/libCEED/backends/avx/ceed-avx.h
/libCEED/backends/blocked/ceed-blocked-basis.c
/libCEED/backends/blocked/ceed-blocked-operator.c
/libCEED/backends/blocked/ceed-blocked.c
/libCEED/backends/blocked/ceed-blocked.h
/libCEED/backends/occa/ceed-occa-basis.c
/libCEED/backends/occa/ceed-occa-okl.c
/libCEED/backends/occa/ceed-occa-operator.c
/libCEED/backends/occa/ceed-occa-qfunction-noop.c
/libCEED/backends/occa/ceed-occa-qfunction-op.c
/libCEED/backends/occa/ceed-occa-qfunction.c
/libCEED/backends/occa/ceed-occa-restrict.c
/libCEED/backends/occa/ceed-occa-vector.c
/libCEED/backends/occa/ceed-occa.h
/libCEED/backends/ref/ceed-ref-operator.c
/libCEED/backends/ref/ceed-ref-qfunction.c
/libCEED/backends/ref/ceed-ref-restriction.c
/libCEED/backends/ref/ceed-ref-vec.c
/libCEED/backends/ref/ceed-ref.c
/libCEED/backends/ref/ceed-ref.h
/libCEED/backends/template/ceed-tmpl.c
/libCEED/backends/xsmm/ceed-xsmm-basis.c
/libCEED/backends/xsmm/ceed-xsmm-blocked.c
/libCEED/backends/xsmm/ceed-xsmm-serial.c
/libCEED/backends/xsmm/ceed-xsmm.h
/libCEED/examples/README.md
/libCEED/examples/ceed/ex1.c
/libCEED/examples/mfem/bp1.cpp
/libCEED/examples/mfem/bp1.hpp
/libCEED/examples/mfem/bp3.cpp
/libCEED/examples/mfem/bp3.hpp
bp1.c
bp3.c
bp3.h
/libCEED/include/ceed-backend.h
/libCEED/include/ceed.h
/libCEED/interface/ceed-basis.c
/libCEED/interface/ceed-fortran.c
/libCEED/interface/ceed-qfunction.c
/libCEED/interface/ceed.c
/libCEED/tests/t308-basis.c
/libCEED/tests/t310-basis.c
/libCEED/tests/tap.sh
4d1cd9fc06-Feb-2019 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com>

Add Nek to Travis (#169)

* Add test mode to Nek BP1 and BP3, improve Nek BPs

* Fix OCCA identity rst for multifield, minor NekBP1 fix

* Improve Nek run script

* Add Nek5K to prove-all

*

Add Nek to Travis (#169)

* Add test mode to Nek BP1 and BP3, improve Nek BPs

* Fix OCCA identity rst for multifield, minor NekBP1 fix

* Improve Nek run script

* Add Nek5K to prove-all

* Update travis yml for Nek5K

* Make style

* Adjust Travis yml

* Combine Nek run bash scripts

* Minor Nek script improvements

* Update to Nek 18.0 and reduce number of Nek compiler warnings

* Document required Nek5k version

* Remove stray command

* Remove extra file

* Adapt Nek for CUDA backend

* Fix Nek script string comparison

* Modify Nek script for better exit codes

* typo fix

* Modify the CU function names in nek/bp1.cu and nek/bp3.cu

* .cu file consistency

* Tidy Travis

* Tidy Travis

* Operator fixes

show more ...


/libCEED/.travis.yml
/libCEED/Makefile
/libCEED/README.md
/libCEED/backends/blocked/ceed-blocked-basis.c
/libCEED/backends/blocked/ceed-blocked-operator.c
/libCEED/backends/occa/ceed-occa-operator.c
/libCEED/backends/occa/ceed-occa-restrict.c
/libCEED/backends/occa/ceed-occa-restrict.okl
/libCEED/backends/occa/ceed-occa.h
/libCEED/backends/ref/ceed-ref-operator.c
/libCEED/examples/Makefile
/libCEED/examples/ceed/ex1.cu
/libCEED/examples/mfem/bp1.cu
/libCEED/examples/mfem/bp3.cu
/libCEED/examples/nek5000/README.md
/libCEED/examples/nek5000/bp1.cu
/libCEED/examples/nek5000/bp1.okl
/libCEED/examples/nek5000/bp1.usr
/libCEED/examples/nek5000/bp3.cu
/libCEED/examples/nek5000/bp3.okl
/libCEED/examples/nek5000/bp3.usr
/libCEED/examples/nek5000/make-nek-examples.sh
/libCEED/examples/nek5000/make-nek-tests.sh
/libCEED/examples/nek5000/run-nek-example.sh
bp1.cu
bp3.cu
/libCEED/tests/t000-init-f.f90
/libCEED/tests/t100-vec-f.f90
/libCEED/tests/t101-vec-f.f90
/libCEED/tests/t102-vec-f.f90
/libCEED/tests/t103-vec-f.f90
/libCEED/tests/t104-vec-f.f90
/libCEED/tests/t105-vec-f.f90
/libCEED/tests/t106-vec-f.f90
/libCEED/tests/t107-vec-f.f90
/libCEED/tests/t108-vec-f.f90
/libCEED/tests/t200-elemrestriction-f.f90
/libCEED/tests/t201-elemrestriction-f.f90
/libCEED/tests/t202-elemrestriction-f.f90
/libCEED/tests/t203-elemrestriction-f.f90
/libCEED/tests/t204-elemrestriction-f.f90
/libCEED/tests/t205-elemrestriction-f.f90
/libCEED/tests/t206-elemrestriction-f.f90
/libCEED/tests/t207-elemrestriction-f.f90
/libCEED/tests/t300-basis-f.f90
/libCEED/tests/t301-basis-f.f90
/libCEED/tests/t302-basis-f.f90
/libCEED/tests/t303-basis-f.f90
/libCEED/tests/t304-basis-f.f90
/libCEED/tests/t305-basis-f.f90
/libCEED/tests/t306-basis-f.f90
/libCEED/tests/t307-basis-f.f90
/libCEED/tests/t310-basis-f.f90
/libCEED/tests/t311-basis-f.f90
/libCEED/tests/t312-basis-f.f90
/libCEED/tests/t313-basis-f.f90
/libCEED/tests/t400-qfunction-f.cu
/libCEED/tests/t400-qfunction-f.f90
/libCEED/tests/t400-qfunction.cu
/libCEED/tests/t401-qfunction-f.cu
/libCEED/tests/t401-qfunction-f.f90
/libCEED/tests/t401-qfunction.cu
/libCEED/tests/t500-operator-f.cu
/libCEED/tests/t500-operator-f.f90
/libCEED/tests/t500-operator.cu
/libCEED/tests/t501-operator-f.cu
/libCEED/tests/t501-operator-f.f90
/libCEED/tests/t501-operator.cu
/libCEED/tests/t502-operator-f.cu
/libCEED/tests/t502-operator-f.f90
/libCEED/tests/t502-operator.cu
/libCEED/tests/t510-operator-f.f90
/libCEED/tests/t511-operator-f.f90
/libCEED/tests/tap.sh
2f4d9adb26-Jan-2019 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com>

Benchmarking (#187)

* Add make benchmarks

* Various tweaks related to the benchmarks.

* In Makefile:
* target 'all' now builds the library, all tests and examples
* the old 'all' target is n

Benchmarking (#187)

* Add make benchmarks

* Various tweaks related to the benchmarks.

* In Makefile:
* target 'all' now builds the library, all tests and examples
* the old 'all' target is now called 'par'
* the target 'examples' will build also the MFEM and PETSc examples if
the respective library is available.

In the benchmarks/ directory:
* remove 'config.sh'
* cleanup unused stuff from 'benchmark.sh'.

* Fix postprocess scripts, convert to Python 3

* Small update in README.md

* Set benchmark cg its max, update gitignore

* Minor makefile fix

* In Makefile, add 'par' to the list of phony targets.

* In benchmarks/postprocess-table.py, sort the table by backend first.

* Small update in examples/petsc/Makefile - add a comment that
PETSC_ARCH can be undefined/empty, e.g. when using PETSc installed
through Spack.

* In Makefile, update the benchmarking targets:
* add separate targets for individual tests: `bench-petsc-bp1`,
`bench-petsc-bp3`, etc
* `make benchmarks` runs all defined benchmarks.

Update README.md to reflect the above changes.

show more ...

9f0427d912-Jan-2019 Yohann <yohann.dudouit@gmail.com>

Cuda backend (#175)

Thanks-to: Steven Roberts
- for achieving most of the initial work, the code was well designed, clean, and pleasantly written.
Thanks-to: Jeremy Thompson
- for his constant

Cuda backend (#175)

Thanks-to: Steven Roberts
- for achieving most of the initial work, the code was well designed, clean, and pleasantly written.
Thanks-to: Jeremy Thompson
- for his constant support, exceptional patience, and the numerous relevant suggestions.

* Start cuda branch

* Start cuda branch

* Cuda backend works correctly for example 1

* More reliable operator destroy

* Fix cuda registration

* Makefile now works for cuda backend

* Start qfunction parallelization

* Remove extra cuda flags

* Cuda backend uses vector api instead of directly accessing internals

* Fix header from find and replace mistake

* Cuda qfunction callback working properly

* Cuda uses same integer pow function as other backends

* Use nvcc if available to support Cuda backend

* Remove extra memcpys from getting and restoring arrays

* MFEM examples work for cuda backend

* Optimized basis kernels to better utilize shared memory

* More kernel optimization

* Active/passive updates

* Make cuda kernels static to minimize external functions

* Fix cuda qfunction kernel loop condition

* Switch to NVRTC for cuda backend

* Add nelem argument to cuda basis apply

* First commit for the libParanumal backend

* Adds a function skeleton for the ceed-libparanumal-opearator.c

* Adds OperatorDestroy and OperatorSetupFields to the libParanumal backend.

* Adds some guidelines for the implementation of the backend.

* Partially implement OperatorSetup for libparanumal.

- The core of the OperatorSetup is written
- Adds a spec field to CeedQFunction_private

* Adds the CeedQFunctionCreateInteriorFromGallery.

- The gallery only contains a skeleton for "elliptic" for the moment.
- Comment some code unecessary for the moment.

* Change the default fields for elliptic.

* Add setters, remove impl header from CPU, OCCA backends

* Add global NUM_BACKEND, fix qf user pointer getter

* Improve operator field frees

* Update MAGMA backend

* Use Occa Vectors in the libParanumal backend.

* Typo Fix

* Vector inputs for BasisApply and QFApply; CPU backends, OCCA, and tests converted

* Implements the new version of CeedQFunctionApply_Cuda.

* Update the Cuda backend to PR174.

* Bug fix in Cuda backend.

- Replace sprintf by snprintf
- More careful use of the macro 'va_arg'

* Vector inputs for BasisApply and QFApply; CPU backends, OCCA, and tests converted

* Update MAGMA backend to vector inputs

* Modify restriction create in the cuda backend to handle memory correctly.

* Modify restriction destroy and apply of the cuda backend.

* Corrects a few typos in the cuda backend.

* Replace a CeedFree by a cudaFree...

* CeedVectorRestoreArrayRead was syncing unnecessarly data.

* CeedVectorRestoreArrayRead was syncing unnecessarly data.

* [FIX] Adds CeedVectorRestoreArray in the restriction of the cuda backend.

* Adds an error check.

* Handles indice==NULL for identity restriction.

* Adds an CeedElemRestrictionCreateBlocked_Cuda that errors.

* Adds VectorRestor in BasisApply.

* Attempt to make SetValue function.

* Adds the memState variable inside the CeedVectorCuda and uses it.

* Fix a bug that was passing the pointer instead of the address of
the pointer to CeedFree......

* Some cleaning.

* Fix a logic error in VectorGetArray.

- Now allocates an array whatever the memState is

* Fix: Basis apply checks if emode!=CEED_EVAL_WEIGHT before getting u array.

* Cleaning for PR to libCEED repo.

* Uses Setters instead of direct struct access.

* Use Getters instead of direct structure access.

* minor forgot to get ierr in after calling some functions.

* Forget to add the SetValue function in Cuda Vector...

* minor: Works even better if we give the right function to SetValue

* Fix: Set the right function for RestrictionBlocked...

* Replace some CeedChk with CeedChk_Cu

* Fix: Replace 'vec' by its length 'length'.

* Adds some CeedChk.

* Fix the Cuda_context_destroyed bug

* Adds error checking to cudaMemcpyH2D but not to D2H since it errors...

* Use Occa file approach to read Cuda QFunctions.

* Fix a few bugs

* Test a new approach to pass the qFunction fields.

* Remove typo in t400.cu and remove debugging printf.

* Append the Cuda Fields struct at the beginning of each qFunction .cu file.

* Add qFunctions for t500, t501 and t502.

* Correct cu functions for t502.

* Memcpy the ctx on the device at each Apply call.

* Checks errors in VectorSync.

* Modifies a bit the memState logic.

* Adds a Cuda implementation of Operator instead of using Ref.

* Remove some unnecessary GetArray in OperatorApply.

* Does a trick for CEED_EVAL_NONE output.

* Fix a bug in CEED_EVAL_WEIGHT.

* Applies the QFunction to all elements, not only the first one...

* A debugging commit.

* Fix: CEED_EVAL_WEIGHT use nelem in BasisApply_Cuda.

* Rewritten weight kernel.

* All C tests pass.

* Cleaning for PR.

* Remove unneeded commented code.

* Remove commented code.

* Remove the check on the pointer in RestoreArray.

* Fix a CeedFree bug.

* Fix the edata memory leak.

* Fix misuse of CeedFree.

* Allocate device memory if there is a magic context appearing due to Fortran.

* make style

* Adds cu files for petsc/bp1 mfem/bp1 and ceed/ex1.

* Remove a warning.

* Remove switch case fall-thourgh to remove warnings.

* Remive some bugs, make other bugs show up.

* Implement the Identity Restriction.

* Size correctly the restriction.

* Modify GPU restriction kernels instead of making dummy identity.

* Add cudaFree(0) before compiling to initialize the context (?!)

* Rewritten weight kernel.

* Fix typo in weight kernel.

* Fix typo in weight kernel.

* Add bp1.cu and bp3.cu for the petsc examples.

* Rewritten interp kernel for Cuda backend.

The interp kernel was not writting data in the layout that the
QFunction is expecting.

* Rewritten grad kernel for Cuda backend.

- Small fix on the interp kernel.
- The grad kernel was not writting data in the layout that the
QFunction is expecting.

* Fix the logic in interp kernel.

* Fix the shared memory size.

* Modify grad kernel to take into account the libCEED data layout.

* Add a cuda file for mfem/bp3.

* Add synchronisation to mfem bp1 and bp3.

* Fix the grad and weight kernel to have the correct data layout.

* Forgotten cu files for Fortran.

* Corrects some typos in the Cuda file for petsc/bp1.

* Add Cuda files for the new t401 test.

* Update the logic on the transfer of the qFunction ctx.

* Write petsc/bp1 in C++ instead of C.

* Minor fix: typo

* Add synchronization to petsc/bp1+bp3.

* Removes the sync on rho in petsc/bp1+bp3.

* Integrate Jeremy Thompson's remarks to the PR.

* Use CeedError instead of exit(1).

* Removes -lstdc++ and adds Ceed in front of DeviceSetValue function.

* Removes synchronization on 'u' in the Apply.

* minor

* make style

* Use the new context interface.

* Minor

* Minor.

* Minor.

* Make style using align-pointer=name

* Minor: some cleaning

* CeedQFunctionUser: write documentation

* Make NVCC compatible with new OPT compiler options

show more ...


/libCEED/.travis.yml
/libCEED/Makefile
/libCEED/README.md
/libCEED/azure-pipelines.yml
/libCEED/backends/avx/ceed-avx-basis.c
/libCEED/backends/avx/ceed-avx.c
/libCEED/backends/avx/ceed-avx.h
/libCEED/backends/blocked/ceed-blocked-basis.c
/libCEED/backends/blocked/ceed-blocked-operator.c
/libCEED/backends/blocked/ceed-blocked.c
/libCEED/backends/blocked/ceed-blocked.h
/libCEED/backends/cuda/ceed-cuda-basis.c
/libCEED/backends/cuda/ceed-cuda-operator.c
/libCEED/backends/cuda/ceed-cuda-qfunction.c
/libCEED/backends/cuda/ceed-cuda-restriction.c
/libCEED/backends/cuda/ceed-cuda-vec.c
/libCEED/backends/cuda/ceed-cuda.c
/libCEED/backends/cuda/ceed-cuda.h
/libCEED/backends/cuda/cuda-vec.cu
/libCEED/backends/magma/ceed-magma.c
/libCEED/backends/occa/ceed-occa-basis.c
/libCEED/backends/occa/ceed-occa-operator.c
/libCEED/backends/occa/ceed-occa-qfunction.c
/libCEED/backends/occa/ceed-occa-vector.c
/libCEED/backends/occa/ceed-occa.h
/libCEED/backends/ref/ceed-ref-basis.c
/libCEED/backends/ref/ceed-ref-operator.c
/libCEED/backends/ref/ceed-ref-qfunction.c
/libCEED/backends/ref/ceed-ref.c
/libCEED/backends/ref/ceed-ref.h
/libCEED/backends/template/ceed-tmpl.c
/libCEED/examples/ceed/ex1.cu
/libCEED/examples/mfem/bp1.cu
/libCEED/examples/mfem/bp1.hpp
/libCEED/examples/mfem/bp3.cu
/libCEED/examples/mfem/bp3.hpp
bp1.c
bp1.cu
bp3.c
bp3.cu
/libCEED/include/ceed-backend.h
/libCEED/include/ceed-impl.h
/libCEED/include/ceed.h
/libCEED/include/ceedf.h
/libCEED/interface/ceed-basis.c
/libCEED/interface/ceed-fortran.c
/libCEED/interface/ceed-qfunction.c
/libCEED/interface/ceed.c
/libCEED/tests/t000-init-f.f
/libCEED/tests/t100-vec-f.f
/libCEED/tests/t101-vec-f.f
/libCEED/tests/t102-vec-f.f
/libCEED/tests/t103-vec-f.f
/libCEED/tests/t104-vec-f.f
/libCEED/tests/t105-vec-f.f
/libCEED/tests/t106-vec-f.f
/libCEED/tests/t107-vec-f.f
/libCEED/tests/t108-vec-f.f
/libCEED/tests/t200-elemrestriction-f.f
/libCEED/tests/t201-elemrestriction-f.f
/libCEED/tests/t202-elemrestriction-f.f
/libCEED/tests/t203-elemrestriction-f.f
/libCEED/tests/t204-elemrestriction-f.f
/libCEED/tests/t205-elemrestriction-f.f
/libCEED/tests/t206-elemrestriction-f.f
/libCEED/tests/t207-elemrestriction-f.f
/libCEED/tests/t300-basis-f.f
/libCEED/tests/t301-basis-f.f
/libCEED/tests/t301-basis.c
/libCEED/tests/t302-basis-f.f
/libCEED/tests/t302-basis.c
/libCEED/tests/t303-basis-f.f
/libCEED/tests/t303-basis.c
/libCEED/tests/t304-basis-f.f
/libCEED/tests/t304-basis.c
/libCEED/tests/t305-basis-f.f
/libCEED/tests/t305-basis.c
/libCEED/tests/t306-basis-f.f
/libCEED/tests/t307-basis-f.f
/libCEED/tests/t310-basis-f.f
/libCEED/tests/t310-basis-f.h
/libCEED/tests/t311-basis-f.f
/libCEED/tests/t311-basis.c
/libCEED/tests/t312-basis-f.f
/libCEED/tests/t312-basis.c
/libCEED/tests/t313-basis-f.f
/libCEED/tests/t313-basis.c
/libCEED/tests/t400-qfunction-f.cu
/libCEED/tests/t400-qfunction-f.f
/libCEED/tests/t400-qfunction.c
/libCEED/tests/t400-qfunction.cu
/libCEED/tests/t401-qfunction-f.cu
/libCEED/tests/t401-qfunction-f.f
/libCEED/tests/t401-qfunction-f.okl
/libCEED/tests/t401-qfunction.c
/libCEED/tests/t401-qfunction.cu
/libCEED/tests/t401-qfunction.okl
/libCEED/tests/t500-operator-f.cu
/libCEED/tests/t500-operator-f.f
/libCEED/tests/t500-operator.cu
/libCEED/tests/t501-operator-f.cu
/libCEED/tests/t501-operator-f.f
/libCEED/tests/t501-operator.cu
/libCEED/tests/t502-operator-f.cu
/libCEED/tests/t502-operator-f.f
/libCEED/tests/t502-operator.cu
/libCEED/tests/t510-operator-f.f
/libCEED/tests/t511-operator-f.f
1dfeef1d12-Dec-2018 jeremylt <jeremy.thompson@colorado.edu>

Make style


/libCEED/.travis.yml
/libCEED/backends/blocked/ceed-blocked-basis.c
/libCEED/backends/blocked/ceed-blocked-operator.c
/libCEED/backends/blocked/ceed-blocked.c
/libCEED/backends/blocked/ceed-blocked.h
/libCEED/backends/magma/ceed-magma.c
/libCEED/backends/occa/ceed-occa-basis.c
/libCEED/backends/occa/ceed-occa-okl.c
/libCEED/backends/occa/ceed-occa-operator.c
/libCEED/backends/occa/ceed-occa-qfunction-noop.c
/libCEED/backends/occa/ceed-occa-qfunction-op.c
/libCEED/backends/occa/ceed-occa-qfunction.c
/libCEED/backends/occa/ceed-occa-restrict.c
/libCEED/backends/occa/ceed-occa-restrict.okl
/libCEED/backends/occa/ceed-occa-vector.c
/libCEED/backends/occa/ceed-occa.c
/libCEED/backends/occa/ceed-occa.h
/libCEED/backends/ref/ceed-ref-basis.c
/libCEED/backends/ref/ceed-ref-operator.c
/libCEED/backends/ref/ceed-ref-qfunction.c
/libCEED/backends/ref/ceed-ref-restriction.c
/libCEED/backends/ref/ceed-ref-vec.c
/libCEED/backends/ref/ceed-ref.c
/libCEED/backends/ref/ceed-ref.h
bp1.c
bp1.h
bp3.c
bp3.h
/libCEED/include/ceed-backend.h
/libCEED/include/ceed-impl.h
/libCEED/include/ceed.h
/libCEED/interface/ceed-basis.c
/libCEED/interface/ceed-elemrestriction.c
/libCEED/interface/ceed-fortran.c
/libCEED/interface/ceed-operator.c
/libCEED/interface/ceed-qfunction.c
/libCEED/interface/ceed-vec.c
/libCEED/interface/ceed.c
/libCEED/tests/t101-vec.c
/libCEED/tests/t102-vec-f.f
/libCEED/tests/t102-vec.c
/libCEED/tests/t103-vec-f.f
/libCEED/tests/t103-vec.c
/libCEED/tests/t105-vec-f.f
/libCEED/tests/t105-vec.c
/libCEED/tests/t106-vec-f.f
/libCEED/tests/t106-vec.c
/libCEED/tests/t107-vec-f.f
/libCEED/tests/t107-vec.c
/libCEED/tests/t108-vec-f.f
/libCEED/tests/t108-vec.c
/libCEED/tests/t200-elemrestriction-f.f
/libCEED/tests/t200-elemrestriction.c
/libCEED/tests/t201-elemrestriction-f.f
/libCEED/tests/t201-elemrestriction.c
/libCEED/tests/t202-elemrestriction-f.f
/libCEED/tests/t202-elemrestriction.c
/libCEED/tests/t203-elemrestriction-f.f
/libCEED/tests/t203-elemrestriction.c
/libCEED/tests/t204-elemrestriction-f.f
/libCEED/tests/t204-elemrestriction.c
/libCEED/tests/t205-elemrestriction-f.f
/libCEED/tests/t205-elemrestriction.c
/libCEED/tests/t206-elemrestriction-f.f
/libCEED/tests/t206-elemrestriction.c
/libCEED/tests/t207-elemrestriction-f.f
/libCEED/tests/t207-elemrestriction.c
/libCEED/tests/t310-basis.h
/libCEED/tests/t502-operator-f.f
/libCEED/tests/t502-operator-f.okl
/libCEED/tests/t502-operator.c
/libCEED/tests/t502-operator.okl
/libCEED/tests/tap.sh
4dccadb630-Oct-2018 jeremylt <jeremy.thompson@colorado.edu>

Add lmode field to CeedOperatorSetField

5d6bafb226-Oct-2018 jeremylt <jeremy.thompson@colorado.edu>

Improved documentation


/libCEED/CODE_OF_CONDUCT.md
/libCEED/CONTRIBUTING.md
/libCEED/Doxyfile
/libCEED/backends/blocked/ceed-blocked-basis.c
/libCEED/backends/blocked/ceed-blocked-operator.c
/libCEED/backends/blocked/ceed-blocked.c
/libCEED/backends/blocked/ceed-blocked.h
/libCEED/backends/magma/ceed-magma.c
/libCEED/backends/magma/ceed-magma.h
/libCEED/backends/occa/ceed-occa-basis.c
/libCEED/backends/occa/ceed-occa-operator.c
/libCEED/backends/occa/ceed-occa-qfunction-noop.c
/libCEED/backends/occa/ceed-occa-qfunction-op.c
/libCEED/backends/occa/ceed-occa-qfunction.c
/libCEED/backends/occa/ceed-occa-restrict.c
/libCEED/backends/occa/ceed-occa-vector.c
/libCEED/backends/occa/ceed-occa.h
/libCEED/backends/ref/ceed-ref-basis.c
/libCEED/backends/ref/ceed-ref-operator.c
/libCEED/backends/ref/ceed-ref-qfunction.c
/libCEED/backends/ref/ceed-ref-restriction.c
/libCEED/backends/ref/ceed-ref-vec.c
/libCEED/backends/ref/ceed-ref.c
/libCEED/backends/ref/ceed-ref.h
/libCEED/backends/template/ceed-tmpl.c
/libCEED/doc/doxygenlayout.xml
/libCEED/doc/libCEEDapi.md
/libCEED/doc/libCEEDdev.md
/libCEED/examples/BPdescription.md
/libCEED/examples/ceed/ex1.c
/libCEED/examples/mfem/bp1.cpp
/libCEED/examples/mfem/bp1.hpp
/libCEED/examples/mfem/bp3.cpp
/libCEED/examples/mfem/bp3.hpp
/libCEED/examples/nek5000/bp1.usr
/libCEED/examples/nek5000/bp3.usr
bp1.c
bp1.h
bp3.c
bp3.h
/libCEED/include/ceed-backend.h
/libCEED/include/ceed-impl.h
/libCEED/include/ceed.h
/libCEED/interface/ceed-basis.c
/libCEED/interface/ceed-elemrestriction.c
/libCEED/interface/ceed-fortran.c
/libCEED/interface/ceed-operator.c
/libCEED/interface/ceed-qfunction.c
/libCEED/interface/ceed-vec.c
/libCEED/interface/ceed.c
/libCEED/tests/t100-vec.c
/libCEED/tests/t101-vec.c
/libCEED/tests/t105-vec.c
/libCEED/tests/t200-elemrestriction.c
/libCEED/tests/t201-elemrestriction.c
/libCEED/tests/t306-basis.c
/libCEED/tests/t307-basis.c
9479a26418-Oct-2018 Jed Brown <jed@jedbrown.org>

petsc: support post-3.10 VecScatterCreateWithData

bc1560d915-Oct-2018 jeremylt <jeremy.thompson@colorado.edu>

Fix PETSC BPs make ordering

e1d5896817-Sep-2018 Jed Brown <jed@jedbrown.org>

examples/petsc: fix parallel bug and small leak

82f9cadf17-Sep-2018 jeremylt <jeremy.thompson@colorado.edu>

Add print number of global dofs for PETSc BPs

164d710904-Sep-2018 Jed Brown <jed@jedbrown.org>

petsc bp3: implement Dirichlet zero boundary conditions

Choose solution satisfying these boundary conditions. We can
implement inhomogeneous Dirichlet conditions if desired.

21a3267a04-Sep-2018 jeremylt <jeremy.thompson@colorado.edu>

Use p+2 qpts for PETSc BPs, fix typo in description

3c8335c201-Sep-2018 jeremylt <jeremy.thompson@colorado.edu>

Add PETSc BP3

ba4bcd9128-Aug-2018 jeremylt <jeremy.thompson@colorado.edu>

Revision of PETSc BP1


/libCEED/Doxyfile
/libCEED/Makefile
/libCEED/README.md
/libCEED/backends/blocked/ceed-blocked-basis.c
/libCEED/backends/blocked/ceed-blocked-operator.c
/libCEED/backends/blocked/ceed-blocked-qfunction.c
/libCEED/backends/blocked/ceed-blocked-restrict.c
/libCEED/backends/blocked/ceed-blocked-vector.c
/libCEED/backends/blocked/ceed-blocked.c
/libCEED/backends/blocked/ceed-blocked.h
/libCEED/backends/magma/ceed-magma.c
/libCEED/backends/occa/ceed-occa-basis.c
/libCEED/backends/occa/ceed-occa.c
/libCEED/backends/occa/ceed-occa.h
/libCEED/backends/ref/ceed-ref-basis.c
/libCEED/backends/ref/ceed-ref-operator.c
/libCEED/backends/ref/ceed-ref.c
/libCEED/backends/ref/ceed-ref.h
/libCEED/backends/template/ceed-tmpl-basis.c
/libCEED/backends/template/ceed-tmpl.c
/libCEED/backends/template/ceed-tmpl.h
/libCEED/examples/nek5000/bp1.usr
/libCEED/examples/nek5000/bp3.usr
bp1.c
bp1.h
bp1.okl
/libCEED/include/ceed-impl.h
/libCEED/include/ceed.h
/libCEED/include/ceedf.h
/libCEED/interface/ceed-basis.c
/libCEED/interface/ceed-fortran.c
/libCEED/interface/ceed.c
/libCEED/output/t310-basis-f.out
/libCEED/output/t310-basis.out
/libCEED/tests/t300-basis.c
/libCEED/tests/t310-basis-f.f
/libCEED/tests/t310-basis-f.h
/libCEED/tests/t310-basis.c
/libCEED/tests/t310-basis.h
/libCEED/tests/t311-basis-f.f
/libCEED/tests/t311-basis.c
/libCEED/tests/t312-basis-f.f
/libCEED/tests/t312-basis.c
/libCEED/tests/t313-basis-f.f
/libCEED/tests/t313-basis.c
/libCEED/tests/t500-operator-f.f
/libCEED/tests/t500-operator.c
/libCEED/tests/t501-operator-f.f
/libCEED/tests/t501-operator-f.okl
/libCEED/tests/t501-operator.c
/libCEED/tests/t501-operator.okl
/libCEED/tests/t510-operator-f.f
/libCEED/tests/t510-operator-f.okl
/libCEED/tests/t510-operator.c
/libCEED/tests/t510-operator.okl
/libCEED/tests/t511-operator-f.f
/libCEED/tests/t511-operator-f.okl
/libCEED/tests/t511-operator.c
/libCEED/tests/t511-operator.okl
/libCEED/tests/tap.sh
783c99b328-Aug-2018 Valeria Barra <valeria.barra@colorado.edu>

Refactored 'colocated' misspelling


/libCEED/.codecov.yml
/libCEED/.travis.yml
/libCEED/Doxyfile
/libCEED/Makefile
/libCEED/backends/magma/ceed-magma.c
/libCEED/backends/occa/ceed-occa-operator.c
/libCEED/backends/occa/ceed-occa-restrict.c
/libCEED/backends/occa/ceed-occa-vector.c
/libCEED/backends/occa/ceed-occa.c
/libCEED/backends/occa/ceed-occa.h
/libCEED/backends/optimized/ceed-opt-basis.c
/libCEED/backends/optimized/ceed-opt-operator.c
/libCEED/backends/ref/ceed-ref-operator.c
/libCEED/examples/ceed/ex1.c
/libCEED/examples/mfem/bp1.cpp
/libCEED/examples/mfem/bp1.hpp
/libCEED/examples/mfem/bp3.cpp
/libCEED/examples/mfem/bp3.hpp
/libCEED/examples/nek5000/bp1.usr
/libCEED/examples/nek5000/bp3.usr
/libCEED/examples/nek5000/make-nek-examples.sh
/libCEED/examples/nek5000/run-nek-example.sh
bp1.c
/libCEED/include/ceed-impl.h
/libCEED/include/ceed.h
/libCEED/include/ceedf.h
/libCEED/interface/ceed-basis.c
/libCEED/interface/ceed-elemrestriction.c
/libCEED/interface/ceed-fortran.c
/libCEED/interface/ceed-operator.c
/libCEED/interface/ceed-qfunction.c
/libCEED/interface/ceed-vec.c
/libCEED/interface/ceed.c
/libCEED/tests/t100-vec-f.f
/libCEED/tests/t101-vec-f.f
/libCEED/tests/t101-vec.c
/libCEED/tests/t102-vec-f.f
/libCEED/tests/t102-vec.c
/libCEED/tests/t103-vec-f.f
/libCEED/tests/t103-vec.c
/libCEED/tests/t104-vec-f.f
/libCEED/tests/t104-vec.c
/libCEED/tests/t105-vec-f.f
/libCEED/tests/t105-vec.c
/libCEED/tests/t200-elemrestriction-f.f
/libCEED/tests/t201-elemrestriction-f.f
/libCEED/tests/t202-elemrestriction-f.f
/libCEED/tests/t203-elemrestriction-f.f
/libCEED/tests/t304-basis-f.f
/libCEED/tests/t307-basis-f.f
/libCEED/tests/t307-basis.c
/libCEED/tests/t500-operator.c
/libCEED/tests/tap.sh

1...<<111213