浏览代码

Merge pull request #29 from mozhgan-kch/master

fixed stdpar nvtx issue
Mozhgan Kabiri Chimeh 3 年之前
父节点
当前提交
132c09480e

+ 2 - 2
hpc/nways/nways_labs/nways_MD/English/C/jupyter_notebook/stdpar/nways_stdpar.ipynb

@@ -160,7 +160,7 @@
    "outputs": [],
    "source": [
     "#Compile the code for muticore\n",
-    "!cd ../../source_code/stdpar && nvc++ -std=c++17 -stdpar=multicore -o rdf rdf.cpp -I/opt/nvidia/hpc_sdk/Linux_x86_64/21.3/cuda/11.2/include -ltbb"
+    "!cd ../../source_code/stdpar && nvc++ -std=c++17 -stdpar=multicore -o rdf rdf.cpp -ltbb"
    ]
   },
   {
@@ -378,7 +378,7 @@
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
-   "version": "3.6.2"
+   "version": "3.7.4"
   }
  },
  "nbformat": 4,

+ 1 - 1
hpc/nways/nways_labs/nways_MD/English/C/source_code/stdpar/rdf.cpp

@@ -12,7 +12,7 @@
 #include <algorithm>
 #include <vector>
 #include <atomic>
-#include <nvtx3/nvToolsExt.h>
+#include </opt/nvidia/hpc_sdk/Linux_x86_64/21.3/cuda/11.2/include>
 
 //Note: The addition of execution header file
 #include <execution>