If I have a
__device__ int data;
If I start a kernel with multiple threads to write to data with integer values between 1 ~ 10, and read from it in the kernel; is it possible to read a value of data that is not an integer between 1 ~ 10?
If the threads all write the same integer A to data, is it possible to read a value that is not A?
If the data is not corrupted, what is the size that is valid for the data? 8bit? 16? 32? 64?
No atomic/sync is done for both read and write.