Project Name Stock App ThreadsafeExit? 3rdParty App ThreadSafeExit?------------- ------------------------- ----------------------------Collatz No N/AEinstein@Home No (reportedly being updated) ?GPUGrid No (fall/Autumn update) ?PrimeGrid No ?Seti@Home No (version updates in progress) Yes (Later Lunatics builds)Last updated: 4th September, 2011
* The CUDA driver creates worker threads on all platforms, and this can cause issues at process cleanup in some multithreaded applications on all supported operating systems. On Linux, for example, if an application spawns multiple host pthreads, calls into CUDART, and then exits all user-spawned threads with pthread_exit(), the process may never terminate. Driver threads will not automatically exit once the user's threads have gone down. The proper solution is to either:(1) call cudaDeviceReset()* on all used devices before termination of host threads, or,(2) trigger process termination directly (i.e, with exit()) rather than relying on the process to die after only user-spawned threads have been individually exited.
Collatz No N/A
Update: 18th November 2011.How to determine if your Cuda enabled Boinc project science application might be using non-threadsafe exit code, that can induce 'sticky downlclocks' on any kind of snooze/completion/exit- Ensure a task for the project is processing 'normally'- Suspend all inactive tasks (so new ones won't start)- Monitor GPU clock rate in something like GPU-Z, nVidia Inspector or similar- repeatedly snooze then resume the running task, a threadsafe snooze shutdown should always return to full normal clocks when resumed.
Probably. We have to do it a bit differently, but yes.
We will probably postpone this new application in 2012 to focus on upgrading the server and the new AMD alpha application.
... the ... community has subsisted for so long on sloppy design & bodgy bandaid workarounds that the addition of true heterogeneous processing capability & secure virtualised environment is going to bring many tears along the way.
So unlike our own dear BOINC
I've done my first post over at PrimeGrid: Message 43381Claggy