Skip to content
markrosslonergan edited this page Sep 17, 2018 · 2 revisions

CMAKE_CXX_FLAGS to Run

-ta=multicore -Minfo=accel -acc

With ta being target accelerator. With Minfo being a compiler feedback message

-gopt : debug without reducing optimiation

pgprof -o [executable]

export PGI_ACC_TIME=1 for some simple profiling

Host parallalization -ta=multicore -Minfo=accel -acc

Device parallalization -ta=tesla -Minfo=accel -acc

Clone this wiki locally