HAIS icon indicating copy to clipboard operation
HAIS copied to clipboard

fix: initialize allocated cuda memory to 0

Open eamonn-zh opened this issue 3 years ago • 0 comments

The allocated CUDA memory was not initialized but was assumed to be all 0, which may cause CUDA kernel failed: an illegal memory access was encountered. cudaMemset code was added to fix this problem.

eamonn-zh avatar Aug 04 '22 07:08 eamonn-zh