I am new to OpenMP and I discovered today that there is no real way to perform class member variable privatization under OpenMP. So, if you have some code like-
#pragma omp parallel private (m_var)
This is not allowed and I think it sucks to not have any way to reference class-scoped variables and let the compiler know about them. I am using Intel's OpenMP implementation. Any suggestions?