Poll the signal from one thread instead of all
[ROCm/rocshmem commit: 0659f8d93c]
Este commit está contenido en:
@@ -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:
|
||||
|
||||
Referencia en una nueva incidencia
Block a user