Hi DK,
Typically when you see error 700, there’s some type of memory error. Since you’re code uses external packages (openCV, boost) and files I’m not able to build or run your example so don’t know exactly what’s wrong. Though in looking through your code, I see two issues.
First, you have “#pragma void routine seq” which should be “#pragma acc routine seq”. Hence, I doubt your code actually generated an OpenACC device routine. What does the compiler feedback messages show (i.e. -Minfo=accel)? I suspect you wont see any messages for this routine.
Second, you haven’t copied any data to the device. The compiler’s not going to be able to do this automatically here so you need to add in data regions. Try following the example I wrote for you in your first post: about FATAL ERROR (c++, PGI 14.7)
- Mat