Guys, I have some issues regarding a routine that I implemented in CUDA. I get different results between EMUDEBUG and RELEASE mode. From a reference I read that : “When a memory location is accessed in multiple threads within the grid at potentially the same time, the results when running in device emulation mode potentially differ from the results when running on the device, since in emulation mode threads execute sequentially”. Actually this is what is most likely to occur in my functions. What should I do then?
YDD
2
If this is about reads, it’s not a problem. If it’s about writes, then you need to make your code thread safe.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| emulation mode and debug mode gave me totally different results! | 2 | 1700 | May 21, 2009 | |
| Different results with and without emulation mode | 6 | 1782 | February 1, 2010 | |
| Different results in emu vs. release mode | 2 | 1267 | October 27, 2008 | |
| emudebug and release mode | 1 | 1264 | February 19, 2010 | |
| expected results in EmuRelease and EmuDebug | 2 | 2955 | November 9, 2008 | |
| why emurelease mode's result differs from CPU version? | 0 | 2401 | December 31, 2008 | |
| Problem:Different results on EMULATION and RELEASE Problem on release and debug mode | 4 | 1968 | June 5, 2008 | |
| result of emdebug and release | 0 | 1416 | July 13, 2009 | |
| Different result between emulation and real intractable bug | 2 | 4236 | December 13, 2007 | |
| discrepancy between results from emulation mode and actual device mode | 1 | 5514 | November 25, 2009 |