|
@@ -119,7 +119,7 @@
|
|
"cell_type": "markdown",
|
|
"cell_type": "markdown",
|
|
"metadata": {},
|
|
"metadata": {},
|
|
"source": [
|
|
"source": [
|
|
- "Now, lets start modifying the original code and add the OpenACC directives. From the top menu, click on *File*, and *Open* `rdf.cpp` and `dcdread.h` from the current directory at `C/source_code/openacc` directory. Remember to **SAVE** your code after changes, before running below cells."
|
|
|
|
|
|
+ "Now, lets start modifying the original code and add the OpenACC directives. Click on the <b>[rdf.cpp](../../source_code/openacc/rdf.cpp)</b> and <b>[dcdread.h](../../source_code/openacc/dcdread.h)</b> links, and modify `rdf.cpp` and `dcdread.h`. Remember to **SAVE** your code after changes, before running below cells."
|
|
]
|
|
]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -352,7 +352,7 @@
|
|
" }\n",
|
|
" }\n",
|
|
"} \n",
|
|
"} \n",
|
|
"```\n",
|
|
"```\n",
|
|
- "Now, lets start modifying the original code and add the OpenACC kernel directive. From the top menu, click on *File*, and *Open* `rdf.cpp` and `dcdread.h` from the current directory at `C/source_code/openacc` directory. Remember to **SAVE** your code after changes, before running below cells."
|
|
|
|
|
|
+ "Now, lets start modifying the original code and add the OpenACC directives. Click on the <b>[rdf.cpp](../../source_code/openacc/rdf.cpp)</b> and <b>[dcdread.h](../../source_code/openacc/dcdread.h)</b> links, and modify `rdf.cpp` and `dcdread.h`. Remember to **SAVE** your code after changes, before running below cells."
|
|
]
|
|
]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -414,7 +414,8 @@
|
|
" }\n",
|
|
" }\n",
|
|
"} \n",
|
|
"} \n",
|
|
"```\n",
|
|
"```\n",
|
|
- "Now, lets start modifying the original code and add the OpenACC kernel directive. From the top menu, click on *File*, and *Open* `rdf.cpp` and `dcdread.h` from the current directory at `C/source_code/openacc` directory. Remember to **SAVE** your code after changes, before running below cells."
|
|
|
|
|
|
+ "\n",
|
|
|
|
+ "Now, lets start modifying the original code and add the OpenACC directives. Click on the <b>[rdf.cpp](../../source_code/openacc/rdf.cpp)</b> and <b>[dcdread.h](../../source_code/openacc/dcdread.h)</b> links, and modify `rdf.cpp` and `dcdread.h`. Remember to **SAVE** your code after changes, before running below cells."
|
|
]
|
|
]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -539,7 +540,7 @@
|
|
"Let us try adding a data clause to our code and observe any performance differences between the two. \n",
|
|
"Let us try adding a data clause to our code and observe any performance differences between the two. \n",
|
|
"**Note: We have removed the managed clause in order to handle data management explicitly.**\n",
|
|
"**Note: We have removed the managed clause in order to handle data management explicitly.**\n",
|
|
"\n",
|
|
"\n",
|
|
- "From the top menu, click on *File*, and *Open* `rdf.cpp`, `dcdread.h` and `Makefile` from the current directory at `C/source_code/openacc` directory. Remember to **SAVE** your code after changes, before running below cells."
|
|
|
|
|
|
+ "Now, lets start modifying the original code and add the OpenACC directives. Click on the <b>[rdf.cpp](../../source_code/openacc/rdf.cpp)</b>, <b>[dcdread.h](../../source_code/openacc/dcdread.h)</b> and <b>[Makefile](../../source_code/openacc/Makefile)</b> links, and modify `rdf.cpp`, `dcdread.h` and `Makefile`. Remember to **SAVE** your code after changes, before running below cells."
|
|
]
|
|
]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -690,7 +691,7 @@
|
|
"name": "python",
|
|
"name": "python",
|
|
"nbconvert_exporter": "python",
|
|
"nbconvert_exporter": "python",
|
|
"pygments_lexer": "ipython3",
|
|
"pygments_lexer": "ipython3",
|
|
- "version": "3.7.4"
|
|
|
|
|
|
+ "version": "3.8.5"
|
|
}
|
|
}
|
|
},
|
|
},
|
|
"nbformat": 4,
|
|
"nbformat": 4,
|