Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion moreCUDA/cooperative_groups/cg_eg.cu
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ __global__ void sum_kernel_block(int *sum, int *input, int n)
int my_sum = thread_sum(input, n);

extern __shared__ int temp[];
auto g = cg::this_thread_block();
cg::thread_block g = cg::this_thread_block();
// cg::thread_block g = cg::this_thread
int block_sum = reduce_sum(g,temp,my_sum);

Expand Down