Skip to content

Commit a8add77

Browse files
Add W/A to README of histogram sample to avoid some issues on GPU with L0 (#141)
Signed-off-by: Sobolev, Dmitriy <[email protected]>
1 parent 326a1b6 commit a8add77

File tree

1 file changed

+9
-0
lines changed
  • DirectProgramming/DPC++/ParallelPatterns/histogram

1 file changed

+9
-0
lines changed

DirectProgramming/DPC++/ParallelPatterns/histogram/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,15 @@ Error 'dpc_common.hpp' file not found
5757
```
5858
You need to add the following directory to the list of include folders, that are required by your project, in your project's Visual Studio project property panel. The missing include folder is located at `%ONEAPI_ROOT%\dev-utilities\latest\include` on your development system.
5959

60+
## Known issues
61+
62+
The sample is prone to ``Floating point exception`` and `CL_INVALID_WORK_GROUP_SIZE` errors on GPU with DPC++ L0 backend, which can be avoided
63+
by setting `_PSTL_COMPILE_KERNEL` macro to `0`. You can do it using the following command before running `cmake`:
64+
65+
```
66+
export CXXFLAGS=-D_PSTL_COMPILE_KERNEL=0
67+
```
68+
6069
## Running the Sample
6170

6271
Application Parameters

0 commit comments

Comments
 (0)