Poll the signal from one thread instead of all
Этот коммит содержится в:
@@ -78,9 +78,12 @@ class Notifier {
|
||||
}
|
||||
}
|
||||
|
||||
while (detail::atomic::load<uint32_t, scope>(&signal_, orders_) != done) {
|
||||
;
|
||||
if (executor) {
|
||||
while (detail::atomic::load<uint32_t, scope>(&signal_, orders_) != done) {
|
||||
;
|
||||
}
|
||||
}
|
||||
__syncthreads();
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Ссылка в новой задаче
Block a user