Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ff2a97 commit d61dca3Copy full SHA for d61dca3
13_MemoryFences/src/main.cu
@@ -166,7 +166,7 @@ int main()
166
cudaDeviceSynchronize();
167
168
// Producer / consumer scenario across blocks in global memory, using atomic + threadfence
169
- std::cout << "\nProducer / consumer pair with volatile + atomic" << std::endl;
+ std::cout << "\nProducer / consumer pair with atomic + threadfence" << std::endl;
170
ProducerConsumer<N, true><<<numBlocks * 2, blockSize>>>(dFooPtr, dFooReadyPtr);
171
172
0 commit comments