lion03 / thrust

Automatically exported from code.google.com/p/thrust
Apache License 2.0
0 stars 0 forks source link

make routines in cuda::arch thread-safe #303

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The static map<> containers should be protected by a mutex:
http://code.google.com/p/thrust/source/browse/thrust/detail/device/cuda/arch.inl
#46

Original issue reported on code.google.com by wnbell on 8 Feb 2011 at 4:45

GoogleCodeExporter commented 8 years ago
Alternatively, we could ask that the underlying cudart API functions be 
improved so there is no need to cache the result.

I'll time the functions and report a bug against them (assuming they're still 
slow).

Original comment by wnbell on 8 Feb 2011 at 4:54

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 9f63ded4f706.

Original comment by jaredhoberock on 8 Sep 2011 at 8:59