Skip to content

Commit c399be6

Browse files
committed
SystemAtomic scope should be system not device
1 parent 946c91f commit c399be6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

crates/cuda_std/src/atomic.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,5 +252,5 @@ atomic_float!(f32, AtomicF32, 4, device, 32);
252252
atomic_float!(f64, AtomicF64, 8, device, 64);
253253
atomic_float!(f32, BlockAtomicF32, 4, block, 32, unsafe);
254254
atomic_float!(f64, BlockAtomicF64, 8, block, 64, unsafe);
255-
atomic_float!(f32, SystemAtomicF32, 4, device, 32);
256-
atomic_float!(f64, SystemAtomicF64, 8, device, 64);
255+
atomic_float!(f32, SystemAtomicF32, 4, system, 32);
256+
atomic_float!(f64, SystemAtomicF64, 8, system, 64);

0 commit comments

Comments
 (0)