Skip to content

Commit df4cc9a

Browse files
krisrakJoeOsterpraveenkk123
authored
initial commit for GPU Occupancy Calculator Tool (#706)
* initial commit for GPU Occupancy Calculator Tool * Update third-party-programs.txt * updated Xe LP gpu name * added notes to GPU Occupancy Calculator * Update License.txt Co-authored-by: JoeOster <[email protected]> Co-authored-by: praveenkk123 <[email protected]>
1 parent faa7061 commit df4cc9a

File tree

4 files changed

+1671
-0
lines changed

4 files changed

+1671
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Copyright Intel Corporation
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8+
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Intel(R) GPU Occupancy Calculator
2+
3+
## Purpose
4+
5+
Intel GPU Occupancy Calculator is HTML Web Application to compute GPU Occupancy for GPU/HPC application development.
6+
7+
## Tool Details
8+
9+
* Allows user to pick a GPU SKU, input Global Size of HPC application, Work-Group(WG) size, Sub-Group size, Shared Local Memory(SLM) size and barrier usage.
10+
* Computes Sub-Slice/Dual Sub-Slice (SS/DSS) Theoretical Occupancy based on the inputs.
11+
* Generates charts for Impact of varying Work-Group size and Impact of varying Shared Local Memory size.
12+
* Generates a list of all valid Work-Group sizes that can be used and corresponding Occupancy.
13+
* Generates a list of optimal configuration values for WG, SG and SLM limit that will get 100% Occupancy.
14+
15+
## Usage
16+
* Open Page: [oneapi-src.github.io/oneAPI-Samples/Tools/GPU-Occupancy-Calculator/](https://oneapi-src.github.io/oneAPI-Samples/Tools/GPU-Occupancy-Calculator/)
17+
* Select a GPU from the dropdown and change "EU Count" if necessary OR select the option to enter PCI ID for GPU.
18+
* The tool will load some default values for Global Size, WG size, SG size, SLM size and will compute Occupancy and generate graphs.
19+
* Change the values of GPU target, Global size, WG size, SG size, SLM size or Barrier usage based on your HPC application to calculate Occupancy and tune application.
20+
21+
## License
22+
23+
Code samples are licensed under the MIT license. See _License.txt_ for details.
24+
25+
Third party program Licenses can be found in _third-party-programs.txt_

Tools/GPU-Occupancy-Calculator/index.html

Lines changed: 1181 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)