Search found 1 match

by MarcelR
Tue Oct 08, 2019 7:06 am
Forum: Accelerator Programming
Topic: Matching C++ classes with openACC's data handling
Replies: 1
Views: 104

Matching C++ classes with openACC's data handling

Hello, I currently have a C++ project which I want to accelerate using OpenACC. Unfortunately, I am quite fresh to OpenAcc. However, the access of data members crashes the program. I have reproduced the error with the following code. The data class: class Data{ private: double * ptr_ = nullptr; cons...