Skip to content

Commit f7120ce

Browse files
authored
docs: add build directory creation to SYCL build instructions (#2352)
1 parent ca4e755 commit f7120ce

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎docs/build.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,9 @@ Using SYCL makes the computation run on the Intel GPU. Please make sure you have
324324
# Export relevant ENV variables
325325
source /opt/intel/oneapi/setvars.sh
326326
327+
# Make and enter build dir
328+
mkdir build && cd build
329+
327330
# Option 1: Use FP32 (recommended for better performance in most cases)
328331
cmake .. -DSD_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx
329332

0 commit comments

Comments
 (0)