array iterators and cython prange
Oct. 23, 2011
1:21 p.m.
I coded a bilateral filter class in cython based on numpy's neighborhood iterator (thanks to T. J's code example). I tried to parallel the code by replacing the standard loop (commented line 150) by a prange loop (line 151). The result are series of compilation errors mainly due the the use of iterators. Is there an *easy* way to work with nmpy iterators while the GIL is released? Platfoem: numpy 1.6.1 on python 2.7.2 and cython 0.15.1 system: gcc on linux Nadav
5322
Age (days ago)
5322
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nadav Horesh