Hi NV friends,
cuda1.0 can’t watch the contents of shared memory in EmuDebug mode.
Perhaps to make it visible is worthwhile? Thanks!
Don’t have that problem.
declared as:
shared volatile unsigned char table[NUM_BYTES];
Can inspect it in visual studio 2005.
Thanks a lot! it’s my woozy head.
1, why volatile? i can inspect it in vs2005 without “volatile”.
2, why unsigned char? i use shared int packed; and then pack several different types like:
Mystruct* pStruct = (Mystruct*)&packed[0];
as long as all packed types has size no smaller than that of int. Correct?
Thanks!