[Cython] [Re] OpenMP thread private variable not recognized (bug report + discussion)

2014-08-13 Thread Leon Bottou
> > I am making heavy uses of OpenBlas which also uses OpenMP. > > Using the same queue manager prevents lots of CPU provisioning problem. > > Using multiple queue managers in the same code does not work as well > > because they are not aware of what the other one is doing. > > Normally OpenBLAS i

[Cython] [Re] OpenMP thread private variable not recognized (bug report + discussion)

2014-08-12 Thread Leon Bottou
On Tue, 12 Aug 2014 14:26:31, Sturla Molden wrote: > Cython does not do an error here:[... > - i is recognized as private > - r is recognized as reduction > - w is (correctly) recognized as shared Not according to the documentation. http://docs.cython.org/src/userguide/parallelism.html documentati

[Cython] OpenMP thread private variable not recognized (bug report + discussion)

2014-08-11 Thread Leon Bottou
The attached cython program uses an extension class to represent a unit of work. The with parallel block temporarily gets the gil to allocate the object, then release the gil and performs the task with a for i in prange(...) statement. My expectation was to have w recognized as a thread private