Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.3 #590

Merged
merged 21 commits into from
Jun 1, 2022
Merged

v1.3 #590

Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
b055fbb
[Build] Add a script to configure the CMake build. (#556)
kris-rowe Mar 23, 2022
898951d
Enable the CI pipeline for the development branch. (#568)
kris-rowe Mar 29, 2022
34feb59
Issue 565 (#569)
kris-rowe Mar 29, 2022
b5942a6
Replace `tls` class template with C++ `thread_local` keyword (#571)
kris-rowe Apr 12, 2022
7f7b470
Feature ocl device functions (#576)
kris-rowe Apr 13, 2022
2c576fa
Correctly detect last inner block when adding barriers (#579)
noelchalmers May 3, 2022
9b47900
Patch primitive bitwise ops (#581)
kris-rowe May 10, 2022
e22fdae
Add modulefile to configure environment variables. (#580)
kris-rowe May 10, 2022
0d06a5d
Enable math functions (#577)
kris-rowe May 17, 2022
7f5a3c6
OpenCL and DPCPP kernel hashing (#583)
kris-rowe May 18, 2022
70aa7df
[JSON] Fix a json constructor not setting the type (#586)
noelchalmers May 20, 2022
c8a6b7d
Compile directly to cubin instead of ptx since OCCA handles jitting. …
kris-rowe May 23, 2022
81ab4c6
Update README and install guide match community refresh branch. (#588)
kris-rowe May 27, 2022
693106c
Update naming used in CMake package files. (#589)
kris-rowe May 27, 2022
80cd567
Allow the definition of `SYCL_ROOT` to be passed to cmake directly.
kris-rowe May 31, 2022
34a712a
Disable MPI by default.
kris-rowe May 31, 2022
4478ca6
Clean-up CMake configure script.
kris-rowe May 31, 2022
5ad968c
Spelling, grammar.
kris-rowe May 31, 2022
fb1cf8f
Add info about OCCA CLI.
kris-rowe May 31, 2022
8a63c90
Update copyright dates.
kris-rowe May 31, 2022
70c05e9
Fix prepending of qualifiers (addFirst) (#591)
SFrijters Jun 1, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add info about OCCA CLI.
  • Loading branch information
kris-rowe committed May 31, 2022
commit fb1cf8fae27aaebfb296bd76e0bbf79eb2e4809f
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,38 @@ add_library(downstream-lib ...)
target_link_libraries(downstream-lib PUBLIC OCCA::libocca)
```

### Command-line Interface

The OCCA command-line interface can be found in `<install-prefix>/bin/occa`. This tool can be used to query information about hardware and the configuration of OCCA on a given platform.

For example, calling `occa info` will available OCCA backends and related hardware specs, while `occa env` display the values of OCCA related environment variables. To see the list of all available options, call `occa --help`.

```shell
$ occa info
========+======================+=================================
CPU(s) | Processor Name | AMD EPYC 7532 32-Core Processor
| Memory | 251.6 GB
| Clock Frequency | 2.4 MHz
| SIMD Instruction Set | SSE2
| SIMD Width | 128 bits
| L1d Cache Size | 1 MB
| L1i Cache Size | 1 MB
| L2 Cache Size | 16 MB
| L3 Cache Size | 256 MB
========+======================+=================================
OpenCL | Platform 0 | NVIDIA CUDA
|----------------------+---------------------------------
| Device 0 | NVIDIA A100-PCIE-40GB
| Device Type | gpu
| Compute Cores | 108
| Global Memory | 39.40 GB
========+======================+=================================
CUDA | Device Name | NVIDIA A100-PCIE-40GB
| Device ID | 0
| Memory | 39.40 GB
========+======================+=================================
```

## Community

### Support
Expand Down