General OpenMP discussion
I read that there is no way to use reduction for arrays in C/C++ as there is no way for openmp to know whether a variable is array or not. With new C++ come fixed size array containers, vectors existed for some time. I suppose these are not considered "arrays" of C++. I would like ask if there are plans to enable using them as arrays in fortran (from "reduction" point of view).
- Posts: 12
- Joined: Tue Mar 01, 2011 1:13 pm
- Location: Kraków, Poland
The OpenMP Language Committee is currently considering adding support for user-defined reduction operators. When this feature becomes available you will be able to handle this case!
- Posts: 450
- Joined: Thu Jan 08, 2009 10:12 am
- Location: EPCC, University of Edinburgh
Return to Using OpenMP
Who is online
Users browsing this forum: Exabot [Bot], Google [Bot], Yahoo [Bot] and 10 guests