Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d61dca3

Browse files
author
Bernhard Kerbl
committed
Fixed output of Sample 13
1 parent 8ff2a97 commit d61dca3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

13_MemoryFences/src/main.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ int main()
166166
cudaDeviceSynchronize();
167167

168168
// Producer / consumer scenario across blocks in global memory, using atomic + threadfence
169-
std::cout << "\nProducer / consumer pair with volatile + atomic" << std::endl;
169+
std::cout << "\nProducer / consumer pair with atomic + threadfence" << std::endl;
170170
ProducerConsumer<N, true><<<numBlocks * 2, blockSize>>>(dFooPtr, dFooReadyPtr);
171171
cudaDeviceSynchronize();
172172

0 commit comments

Comments
 (0)