Skip to content

Commit f37db70

Browse files
authored
change compiler for new oneDNN release (#1435)
1 parent cd2b497 commit f37db70

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Libraries/oneDNN/getting_started/sample.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"steps": [
1717
"mkdir build",
1818
"cd build",
19-
"cmake .. -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=dpcpp",
19+
"cmake .. -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icx",
2020
"make getting-started-cpp",
2121
"SYCL_BE=PI_OPENCL ./bin/getting-started-cpp gpu"
2222
]

Libraries/oneDNN/tutorials/tutorial_getting_started.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,10 @@
171171
"source": [
172172
"#### Script - build.sh\n",
173173
"The script **build.sh** encapsulates the compiler **dpcpp** command and flags that will generate the exectuable.\n",
174-
"In order to use DPC++ compiler and related SYCL runtime, some definitions must be passed as cmake arguments.\n",
174+
"In order to use icx compiler and related DPCPP runtime, some definitions must be passed as cmake arguments.\n",
175175
"Here are related cmake arguments for DPC++ configuration : \n",
176176
"\n",
177-
" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=dpcpp -DDNNL_CPU_RUNTIME=SYCL -DDNNL_GPU_RUNTIME=SYCL"
177+
" -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icx -DDNNL_CPU_RUNTIME=DPCPP -DDNNL_GPU_RUNTIME=DPCPP"
178178
]
179179
},
180180
{
@@ -189,7 +189,7 @@
189189
"export EXAMPLE_ROOT=./lab/\n",
190190
"mkdir dpcpp\n",
191191
"cd dpcpp\n",
192-
"cmake .. -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=dpcpp -DDNNL_CPU_RUNTIME=SYCL -DDNNL_GPU_RUNTIME=SYCL\n",
192+
"cmake .. -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icx -DDNNL_CPU_RUNTIME=DPCPP -DDNNL_GPU_RUNTIME=DPCPP\n",
193193
"make getting-started-cpp\n",
194194
"\n"
195195
]

Libraries/oneDNN/tutorials/tutorial_verbose_jitdump.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,10 @@
191191
"source": [
192192
"#### Script - build.sh\n",
193193
"The script **build.sh** encapsulates the compiler **dpcpp** command and flags that will generate the exectuable.\n",
194-
"To enable use of the DPC++ compiler and the related SYCL runtime, some definitions must be passed as cmake arguments.\n",
194+
"To enable use of the icx compiler and the related DPCPP runtime, some definitions must be passed as cmake arguments.\n",
195195
"Here are the related cmake arguments for the DPC++ configuration: \n",
196196
"\n",
197-
" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=dpcpp -DDNNL_CPU_RUNTIME=SYCL -DDNNL_GPU_RUNTIME=SYCL"
197+
" -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icx -DDNNL_CPU_RUNTIME=DPCPP -DDNNL_GPU_RUNTIME=DPCPP"
198198
]
199199
},
200200
{
@@ -209,7 +209,7 @@
209209
"export EXAMPLE_ROOT=./lab/\n",
210210
"mkdir dpcpp\n",
211211
"cd dpcpp\n",
212-
"cmake .. -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=dpcpp -DDNNL_CPU_RUNTIME=SYCL -DDNNL_GPU_RUNTIME=SYCL\n",
212+
"cmake .. -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icx -DDNNL_CPU_RUNTIME=DPCPP -DDNNL_GPU_RUNTIME=DPCPP\n",
213213
"make cnn-inference-f32-cpp \n"
214214
]
215215
},

0 commit comments

Comments
 (0)