Closed GoogleCodeExporter closed 8 years ago
Original comment by harr...@gmail.com
on 29 Jul 2009 at 11:15
Comment from John Stone:
A quick look through the code didn't show anything bad until I ran across the
use of
std::map and associated iterators in the plan management code. FYI, STL
templates and
accessors are generally not thread safe. I think if that code was replaced by a
simple
hand-written linked list or growable array, it would likely become thread safe.
Original comment by harr...@gmail.com
on 20 Sep 2009 at 10:39
Revision 22 (r22) fixes this.
I tested the attached simpleCUDPP_OpenMP and all tests pass.
Note that r22 adds interface changes to CUDPP. See the simpleCUDPP example for
details, but basically each thread must create its own instance of the CUDPP
library
object with cudppCreate(), and shut it down with cudppDestroy(). The handle
returned
by cudppCreate() must be passed to any call to cudppPlan().
Original comment by harr...@gmail.com
on 19 Nov 2009 at 1:51
Original issue reported on code.google.com by
jph4...@gmail.com
on 29 Jul 2009 at 11:01Attachments: