Skip to content

Commit

Permalink
doc - update OCCA info in release notes + README
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylt committed Oct 11, 2022
1 parent d8f39b6 commit 7986387
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ There are multiple supported backends, which can be selected at runtime in the e
| `/*/occa` | Selects backend based on available OCCA modes | Yes |
| `/cpu/self/occa` | OCCA backend with serial CPU kernels | Yes |
| `/cpu/openmp/occa` | OCCA backend with OpenMP kernels | Yes |
| `/cpu/dpcpp/occa` | OCCA backend with CPC++ kernels | Yes |
| `/gpu/cuda/occa` | OCCA backend with CUDA kernels | Yes |
| `/gpu/hip/occa`~ | OCCA backend with HIP kernels | Yes |

Expand Down Expand Up @@ -198,8 +199,9 @@ For example:
The `/*/occa` backends rely upon the [OCCA](http://github.com/libocca/occa) package to provide cross platform performance.
To enable the OCCA backend, the environment variable `OCCA_DIR` must point to the top-level OCCA directory, with the OCCA library located in the `${OCCA_DIR}/lib` (By default, `OCCA_DIR` is set to `../occa`).
OCCA version 1.4.0 or newer is required.

Additionally, users can pass specific OCCA device properties after setting the CEED resource.
Users can pass specific OCCA device properties after setting the CEED resource.
For example:

> - `"/*/occa:mode='CUDA',device_id=0"`
Expand Down
1 change: 1 addition & 0 deletions doc/sphinx/source/releasenotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ On this page we provide a summary of the main API changes, new features and exam
- Update `/cpu/self/memcheck/*` backends to help verify `CeedQFunctionContext` data sizes provided by user.
- Added `CeedInt_FMT` to support potential future use of larger interger sizes.
- Added CEED_QFUNCTION_ATTR for setting compiler attributes/pragmas to CEED_QFUNCTION_HELPER and CEED_QFUNCTION
- OCCA backend updated to latest OCCA release; DPC++ and OMP OCCA modes enabled.

### Bugfix

Expand Down

0 comments on commit 7986387

Please sign in to comment.