Skip to content

Commit

Permalink
Hope that's it
Browse files Browse the repository at this point in the history
  • Loading branch information
gevtushenko committed May 10, 2023
1 parent 0a50907 commit a4a4d99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cub/agent/agent_scan.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,8 @@ struct AgentScan
}

// Wait for all threads in the cluster to finish loading / dsmem initialization
CTA_SYNC();
cooperative_groups::cluster_group::barrier_wait(std::move(token));
__threadfence();

// Perform tile scan
if (tile_idx == 0)
Expand Down
2 changes: 1 addition & 1 deletion cub/agent/single_pass_scan_operators.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ struct ClusterTilePrefixCallbackOp
descriptor->status = StatusWord(SCAN_TILE_INVALID);

if (threadIdx.x < CUB_DETAIL_CLUSTER_SIZE) {
lsmem_st_relaxed(temp_storage.dsmem + threadIdx.x, val);
temp_storage.dsmem[threadIdx.x] = val;
}
}
};
Expand Down

0 comments on commit a4a4d99

Please sign in to comment.