|
152 | 152 | "source": [
|
153 | 153 | "!cp $ONEAPI_INSTALL/dnnl/latest/cpu_dpcpp_gpu_dpcpp/examples/example_utils.hpp lab/\n",
|
154 | 154 | "!cp $ONEAPI_INSTALL/dnnl/latest/cpu_dpcpp_gpu_dpcpp/examples/example_utils.h lab/\n",
|
155 |
| - "!cp $ONEAPI_INSTALL/dnnl/latest/cpu_dpcpp_gpu_dpcpp/examples/CMakeLists.txt lab/" |
| 155 | + "!cp $ONEAPI_INSTALL/dnnl/latest/cpu_dpcpp_gpu_dpcpp/examples/CMakeLists.txt lab/\n", |
| 156 | + "!cp $ONEAPI_INSTALL/dnnl/latest/cpu_dpcpp_gpu_dpcpp/examples/dpcpp_driver_check.cmake lab/" |
156 | 157 | ]
|
157 | 158 | },
|
158 | 159 | {
|
|
271 | 272 | "The following section shows you how to build with G++ and run on CPU."
|
272 | 273 | ]
|
273 | 274 | },
|
| 275 | + { |
| 276 | + "cell_type": "code", |
| 277 | + "execution_count": null, |
| 278 | + "metadata": {}, |
| 279 | + "outputs": [], |
| 280 | + "source": [ |
| 281 | + "!cp $ONEAPI_INSTALL/dnnl/latest/cpu_gomp/examples/CMakeLists.txt lab/" |
| 282 | + ] |
| 283 | + }, |
274 | 284 | {
|
275 | 285 | "cell_type": "markdown",
|
276 | 286 | "metadata": {},
|
|
378 | 388 | "The following section shows you how to build with ICC and run on CPU."
|
379 | 389 | ]
|
380 | 390 | },
|
| 391 | + { |
| 392 | + "cell_type": "code", |
| 393 | + "execution_count": null, |
| 394 | + "metadata": {}, |
| 395 | + "outputs": [], |
| 396 | + "source": [ |
| 397 | + "!cp $ONEAPI_INSTALL/dnnl/latest/cpu_iomp/examples/CMakeLists.txt lab/" |
| 398 | + ] |
| 399 | + }, |
381 | 400 | {
|
382 | 401 | "cell_type": "markdown",
|
383 | 402 | "metadata": {},
|
|
410 | 429 | "export EXAMPLE_ROOT=./lab/\n",
|
411 | 430 | "mkdir cpu_iomp\n",
|
412 | 431 | "cd cpu_iomp\n",
|
413 |
| - "cmake .. -DCMAKE_C_COMPILER=icc -DCMAKE_CXX_COMPILER=icpc -DDNNL_CPU_RUNTIME=OMP -DDNNL_GPU_RUNTIME=NONE\n", |
| 432 | + "cmake .. -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DDNNL_CPU_RUNTIME=OMP -DDNNL_GPU_RUNTIME=NONE\n", |
414 | 433 | "make getting-started-cpp\n",
|
415 | 434 | "\n"
|
416 | 435 | ]
|
|
493 | 512 | "The following section shows you how to build with oneTBB and run on CPU."
|
494 | 513 | ]
|
495 | 514 | },
|
| 515 | + { |
| 516 | + "cell_type": "code", |
| 517 | + "execution_count": null, |
| 518 | + "metadata": {}, |
| 519 | + "outputs": [], |
| 520 | + "source": [ |
| 521 | + "!cp $ONEAPI_INSTALL/dnnl/latest/cpu_tbb/examples/CMakeLists.txt lab/" |
| 522 | + ] |
| 523 | + }, |
496 | 524 | {
|
497 | 525 | "cell_type": "markdown",
|
498 | 526 | "metadata": {},
|
|
619 | 647 | ],
|
620 | 648 | "metadata": {
|
621 | 649 | "kernelspec": {
|
622 |
| - "display_name": "Python 3", |
| 650 | + "display_name": "Python 2", |
623 | 651 | "language": "python",
|
624 |
| - "name": "python3" |
| 652 | + "name": "python2" |
625 | 653 | },
|
626 | 654 | "language_info": {
|
627 | 655 | "codemirror_mode": {
|
628 | 656 | "name": "ipython",
|
629 |
| - "version": 3 |
| 657 | + "version": 2 |
630 | 658 | },
|
631 | 659 | "file_extension": ".py",
|
632 | 660 | "mimetype": "text/x-python",
|
633 | 661 | "name": "python",
|
634 | 662 | "nbconvert_exporter": "python",
|
635 |
| - "pygments_lexer": "ipython3", |
636 |
| - "version": "3.6.9" |
| 663 | + "pygments_lexer": "ipython2", |
| 664 | + "version": "2.7.17" |
637 | 665 | },
|
638 | 666 | "toc": {
|
639 | 667 | "base_numbering": 1,
|
|
0 commit comments