We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a924e74 commit 9fc2507Copy full SHA for 9fc2507
1 file changed
06_MemoryBasics/src/main.cu
@@ -3,7 +3,7 @@
3
4
5
// Declaration of a device variable in constant memory
6
-__device__ __constant__ int cFoo;
+__constant__ int cFoo;
7
8
__global__ void ReadConstantMemory()
9
{
0 commit comments