I have a weird problem when loading data into shared memory from global memory.
I have a two dimensional array in shared memory and a one dimensional array in device memory. i access data like this:
shared[i][j] = global[k]
it immediately crashes when debugging normally but doesnt crash in emudebug.
also if i first copy the global portion to a local variable and then copy the local variable to the shared then it works fine
temp = global[k]
shared[i][j] = temp
both global, shared, and temp are of type float3
any help would be appreciated