You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SYCL][NATIVECPU] Point oneAPI Construction Kit tag to main branch (#12940)
This PR changes the git tag for the oneAPI Construction Kit, pointing to
a commit in the `main` branch. It also adds CMake variables to either
use a local checkout of the OCK, or overwrite the git repo/tag used by
`FetchContent`.
Copy file name to clipboardExpand all lines: sycl/doc/design/SYCLNativeCPU.md
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,9 @@ python3 buildbot/configure.py \
46
46
--cmake-opt=-DNATIVECPU_USE_OCK=Off
47
47
```
48
48
49
+
By default the oneAPI Construction Kit is pulled at the project's configure time using CMake `FetchContent`. This behaviour can be overridden by setting `NATIVECPU_OCK_USE_FETCHCONTENT=Off` and `OCK_SOURCE_DIR=<path>`
50
+
in order to use a local checkout of the oneAPI Construction Kit. The CMake variables `OCK_GIT_TAG` and `OCK_GIT_REPO` can be used to override the default git tag and repository used by `FetchContent`.
51
+
49
52
The SYCL Native CPU device needs to be selected at runtime by setting the environment variable `ONEAPI_DEVICE_SELECTOR=native_cpu:cpu`.
0 commit comments