Skip to content

Commit 6d0b326

Browse files
v-klochkovvladimirlaz
authored andcommitted
[SYCL][DOC] Require running x64 MSVC command prompt for build/run process
This is needed to avoid users running other MSVC command prompts that may set environment to 32-bit, which is not supported now. Signed-off-by: Vyacheslav N Klochkov <[email protected]>
1 parent 0744ae4 commit 6d0b326

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

sycl/doc/GetStartedWithSYCLCompiler.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ export SYCL_HOME=/export/home/sycl_workspace
4242
mkdir $SYCL_HOME
4343
```
4444

45-
**Windows**
45+
**Windows (64-bit)**
4646

4747
Open a developer command prompt using one of two methods:
4848

49-
- Click start menu and search for "Developer Command Prompt for VS XX", where
50-
XX is a version of installed Visual Studio.
49+
- Click start menu and search for "**x64** Native Tools Command Prompt for VS XXXX", where
50+
XXXX is a version of installed Visual Studio.
5151
- Ctrl-R, write "cmd", click enter, then run
5252
`"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64`
5353

@@ -75,7 +75,7 @@ $SYCL_HOME/llvm/llvm
7575
make -j`nproc` sycl-toolchain
7676
```
7777

78-
**Windows**
78+
**Windows (64-bit)**
7979
```bat
8080
cd %SYCL_HOME%
8181
git clone https://github.com/intel/llvm -b sycl
@@ -153,7 +153,7 @@ echo /opt/intel/oclcpuexp/x64/libintelocl.so > /etc/OpenCL/vendors/intel_expcpu.
153153
echo /opt/intel/oclcpuexp/x64 > /etc/ld.so.conf.d/libintelopenclexp.conf
154154
ldconfig -f /etc/ld.so.conf.d/libintelopenclexp.conf
155155
```
156-
**Windows**
156+
**Windows (64-bit)**
157157
1) If you need `GPU` as well, then update/install it first. Do it **before**
158158
installing `CPU` runtime as `GPU` runtime installer may re-write some important
159159
files or settings and make existing `CPU` runtime not working properly.
@@ -180,7 +180,7 @@ To verify that built SYCL toolchain is working correctly, run:
180180
make -j`nproc` check-all
181181
```
182182

183-
**Windows**
183+
**Windows (64-bit)**
184184
```bat
185185
ninja check-all
186186
```
@@ -206,7 +206,7 @@ To configure testing of "Intel SYCL" toochain set
206206
cmake -DIntel_SYCL_ROOT=$SYCL_HOME/deploy -DSYCL_IMPLEMENTATION=Intel_SYCL ...
207207
```
208208

209-
**Windows**
209+
**Windows (64-bit)**
210210
```bat
211211
cmake -DIntel_SYCL_ROOT=%SYCL_HOME%\deploy -DSYCL_IMPLEMENTATION=Intel_SYCL ...
212212
```
@@ -281,7 +281,7 @@ export PATH=$SYCL_HOME/build/bin:$PATH
281281
export LD_LIBRARY_PATH=$SYCL_HOME/build/lib:$LD_LIBRARY_PATH
282282
```
283283

284-
**Windows**
284+
**Windows (64-bit)**
285285
```bat
286286
set PATH=%SYCL_HOME%\build\bin;%PATH%
287287
set LIB=%SYCL_HOME%\build\lib;%LIB%
@@ -361,6 +361,7 @@ int main() {
361361
- SYCL device compiler fails if the same kernel was used in different
362362
translation units.
363363
- SYCL host device is not fully supported.
364+
- 32-bit host/target is not supported.
364365
- SYCL works only with OpenCL implementations supporting out-of-order queues.
365366
- On Windows linking SYCL applications with `/MTd` flag is known to cause crashes.
366367

0 commit comments

Comments
 (0)