Conversation
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Merging this PR will degrade performance by 29.5%
|
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
vortex-cuda/src/stream_pool.rs
Outdated
| // The closure always returns Some, so fetch_update always succeeds. | ||
| let slot_idx = self | ||
| .next_index | ||
| .fetch_update(Ordering::Relaxed, Ordering::Relaxed, |x| { |
There was a problem hiding this comment.
make sure capacity is 2 ^ n. and do % len on the returned value.
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Hopefully it will help not to OOM gpus --------- Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Hopefully it will help not to OOM gpus --------- Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Hopefully it will help not to OOM gpus