Skip to content

Commit f0cd0bc

Browse files
committed
Fix atomic copy
1 parent e065fb1 commit f0cd0bc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

example/scan/src/scan_single_pass.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,13 +316,13 @@ class Scan_ScanBlocksKernel
316316
predecessorIdx >= 0;
317317
predecessorIdx--)
318318
{
319-
#if ALPAKA_ARCH_PTX
319+
#if ALPAKA_ARCH_PTX && 0
320320
__nanosleep(150);
321321
#endif
322-
auto f = flags[predecessorIdx];
322+
Flag f = flags[predecessorIdx];
323323
while(f == Flag::Uninitialized)
324324
{
325-
#if ALPAKA_ARCH_PTX
325+
#if ALPAKA_ARCH_PTX && 0
326326
__nanosleep(350);
327327
#endif
328328
f = flags[predecessorIdx];

0 commit comments

Comments
 (0)