openhackathons-org / gpubootcamp

This repository consists for gpu bootcamp material for HPC and AI
Apache License 2.0
524 stars 253 forks source link

Bugfix for stdpar #34

Closed jeng1220 closed 3 years ago

jeng1220 commented 3 years ago

rdf.cpp

  1. remove incorrect include directive. It should includes a file instead of a folder.
  2. add missing include header of NVTX

nways_stdpar.ipynb

  1. add missing include path for NVTX header and NVTX library
  2. add -fopemmp flag due to Thrust. Otherwise, it will encounter following error:
    "/opt/nvidia/hpc_sdk/Linux_x86_64/21.3/cuda/11.2/include/thrust/system/omp/detail/for_each.inl", line 53: error: static assertion failed with "OpenMP compiler support is not enabled"
  3. correct typo. It should be -DUSE_COUNTING_ITERATOR instead of -DUSE_COUNTING_ITERATIOR