|
78 | 78 | "metadata": {},
|
79 | 79 | "outputs": [],
|
80 | 80 | "source": [
|
81 |
| - "!rm -rf lab;mkdir -p lab" |
| 81 | + "!rm -rf lab; mkdir -p lab" |
82 | 82 | ]
|
83 | 83 | },
|
84 | 84 | {
|
|
100 | 100 | "metadata": {},
|
101 | 101 | "outputs": [],
|
102 | 102 | "source": [
|
103 |
| - "!cp $ONEAPI_INSTALL/ccl/latest/examples/cpu/cpu_allreduce_test.cpp lab/" |
| 103 | + "!cp $ONEAPI_INSTALL/ccl/latest/share/doc/ccl/examples/cpu/cpu_allreduce_test.cpp lab/" |
104 | 104 | ]
|
105 | 105 | },
|
106 | 106 | {
|
|
116 | 116 | "metadata": {},
|
117 | 117 | "outputs": [],
|
118 | 118 | "source": [
|
119 |
| - "!cp $ONEAPI_INSTALL/ccl/latest/examples/cpu/CMakeLists.txt lab/\n", |
120 |
| - "!cp $ONEAPI_INSTALL/ccl/latest/examples/include/base.hpp lab/" |
| 119 | + "!cp $ONEAPI_INSTALL/ccl/latest/share/doc/ccl/examples/cpu/CMakeLists.txt lab/\n", |
| 120 | + "!cp $ONEAPI_INSTALL/ccl/latest/share/doc/ccl/examples/include/base.hpp lab/" |
121 | 121 | ]
|
122 | 122 | },
|
123 | 123 | {
|
|
204 | 204 | "metadata": {},
|
205 | 205 | "outputs": [],
|
206 | 206 | "source": [
|
207 |
| - "!rm -rf cpu_gomp; chmod 755 q; chmod 755 build.sh; chmod 755 run.sh;if [ -x \"$(command -v qsub)\" ]; then ./q build.sh; ./q run.sh; else ./build.sh; ./run.sh; fi" |
| 207 | + "!rm -rf cpu_gomp; chmod 755 build.sh; chmod 755 run.sh; ./build.sh; ./run.sh;" |
208 | 208 | ]
|
209 | 209 | },
|
210 | 210 | {
|
|
258 | 258 | "metadata": {},
|
259 | 259 | "outputs": [],
|
260 | 260 | "source": [
|
261 |
| - "! chmod 755 vtune_collect.sh; if [ -x \"$(command -v qsub)\" ]; then ./q vtune_collect.sh; else ./vtune_collect.sh; fi" |
| 261 | + "! chmod 755 vtune_collect.sh; ./vtune_collect.sh;" |
262 | 262 | ]
|
263 | 263 | },
|
264 | 264 | {
|
|
329 | 329 | "metadata": {},
|
330 | 330 | "outputs": [],
|
331 | 331 | "source": [
|
332 |
| - "! chmod 755 vtune_collect.sh; if [ -x \"$(command -v qsub)\" ]; then ./q vtune_collect.sh; else ./vtune_collect.sh; fi" |
| 332 | + "! chmod 755 vtune_collect.sh; ./vtune_collect.sh;" |
333 | 333 | ]
|
334 | 334 | },
|
335 | 335 | {
|
|
408 | 408 | "metadata": {},
|
409 | 409 | "outputs": [],
|
410 | 410 | "source": [
|
411 |
| - "!cp $ONEAPI_INSTALL/ccl/latest/examples/sycl/CMakeLists.txt lab/\n", |
412 |
| - "!cp $ONEAPI_INSTALL/ccl/latest/examples/include/sycl_base.hpp lab/\n", |
413 |
| - "!cp $ONEAPI_INSTALL/ccl/latest/examples/include/base_utils.hpp lab/" |
| 411 | + "!cp $ONEAPI_INSTALL/ccl/latest/share/doc/ccl/examples/sycl/CMakeLists.txt lab/\n", |
| 412 | + "!cp $ONEAPI_INSTALL/ccl/latest/share/doc/ccl/examples/include/sycl_base.hpp lab/\n", |
| 413 | + "!cp $ONEAPI_INSTALL/ccl/latest/share/doc/ccl/examples/include/base_utils.hpp lab/" |
414 | 414 | ]
|
415 | 415 | },
|
416 | 416 | {
|
|
426 | 426 | "metadata": {},
|
427 | 427 | "outputs": [],
|
428 | 428 | "source": [
|
429 |
| - "!cp $ONEAPI_INSTALL/ccl/latest/examples/sycl/sycl_allreduce_test.cpp lab/" |
| 429 | + "!cp $ONEAPI_INSTALL/ccl/latest/share/doc/ccl/examples/sycl/sycl_allreduce_test.cpp lab/" |
430 | 430 | ]
|
431 | 431 | },
|
432 | 432 | {
|
|
627 | 627 | "metadata": {},
|
628 | 628 | "outputs": [],
|
629 | 629 | "source": [
|
630 |
| - "!rm -rf dpcpp; chmod 755 q; chmod 755 build.sh; chmod 755 run.sh;if [ -x \"$(command -v qsub)\" ]; then ./q build.sh; ./q run.sh; else ./build.sh; ./run.sh; fi" |
| 630 | + "!rm -rf dpcpp; chmod 755 build.sh; chmod 755 run.sh; ./build.sh; ./run.sh;" |
631 | 631 | ]
|
632 | 632 | },
|
633 | 633 | {
|
|
681 | 681 | "metadata": {},
|
682 | 682 | "outputs": [],
|
683 | 683 | "source": [
|
684 |
| - "! chmod 755 vtune_collect.sh; if [ -x \"$(command -v qsub)\" ]; then ./q vtune_collect.sh; else ./vtune_collect.sh; fi" |
| 684 | + "! chmod 755 vtune_collect.sh; ./vtune_collect.sh;" |
685 | 685 | ]
|
686 | 686 | },
|
687 | 687 | {
|
|
746 | 746 | "metadata": {},
|
747 | 747 | "outputs": [],
|
748 | 748 | "source": [
|
749 |
| - "! chmod 755 vtune_collect.sh; if [ -x \"$(command -v qsub)\" ]; then ./q vtune_collect.sh; else ./vtune_collect.sh; fi" |
| 749 | + "! chmod 755 vtune_collect.sh; ./vtune_collect.sh;" |
750 | 750 | ]
|
751 | 751 | },
|
752 | 752 | {
|
|
0 commit comments