Skip to content

Commit

Permalink
Update README to mention the newly added Findlevel_zero.cmake file.
Browse files Browse the repository at this point in the history
  • Loading branch information
breyerml committed Oct 8, 2024
1 parent 5d2bc91 commit eb4b2f1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ export CPLUS_INCLUDE_PATH=${CMAKE_INSTALL_PREFIX}/include:${CPLUS_INCLUDE_PATH}
export PYTHONPATH=${CMAKE_INSTALL_PREFIX}/lib:${CMAKE_INSTALL_PREFIX}/lib64:${PYTHONPATH}
```

Note: when using Intel GPUs and segmentation faults are encountered in calls to `zes` functions, it may be necessary to set `export ZES_ENABLE_SYSMAN=1`.
**Note:** when using Intel GPUs, the `CMAKE_MODULE_PATH` should be updated to point to our `cmake` directory containing the
`Findlevel_zero.cmake` file and `export ZES_ENABLE_SYSMAN=1` should be set.

## Available samples

Expand Down Expand Up @@ -256,8 +257,8 @@ sampler = hws.CpuHardwareSampler()
sampler.start()

sampler.add_event("init")
A = np.random.rand(2**14, 2**14)
B = np.random.rand(2**14, 2**14)
A = np.random.rand(2 ** 14, 2 ** 14)
B = np.random.rand(2 ** 14, 2 ** 14)

sampler.add_event("matmul")
C = A @ B
Expand Down

0 comments on commit eb4b2f1

Please sign in to comment.