I’m sorry because of all my cudaMalloc troubles. :">
This code runs without any trouble in normal mode, but it causes “Access violation reading location 0x0000006b.” error in emulation mode
allocbytes = sizeof(COST) * count;
cudaMalloc((void**) &costs, allocbytes);
I need emulation mode to debug some errors.
Any help is really appreciated, my university project’s timelimit is about to come, thanks to every one in this forum.