Hi,
after I’ve got my denoising to work I wanted to check my source code using cuda-memcheck. synccheck and leak check are fine. However when I run cuda-memcheck with raceckeck tool i get some ‘hazards’ like
========= ERROR: Race reported between Read access at 0x000024b0 in void optix_exp::nchwToNhwcKernel<__half, __half>(int, int, int, int, int, __half const , __half)
========= and Write access at 0x00001150 in void optix_exp::nchwToNhwcKernel<__half, __half>(int, int, int, int, int, __half const , __half) [6 hazards]
========= and Write access at 0x00001170 in void optix_exp::nchwToNhwcKernel<__half, __half>(int, int, int, int, int, __half const , __half) [10 hazards]
========= and Write access at 0x000012d0 in void optix_exp::nchwToNhwcKernel<__half, __half>(int, int, int, int, int, __half const , __half) [37 hazards]
========= and Write access at 0x000012c0 in void optix_exp::nchwToNhwcKernel<__half, __half>(int, int, int, int, int, __half const , __half) [1 hazards]
========= and Write access at 0x000011b0 in void optix_exp::nchwToNhwcKernel<__half, __half>(int, int, int, int, int, __half const , __half) [44 hazards]
========= and Write access at 0x000012e0 in void optix_exp::nchwToNhwcKernel<__half, __half>(int, int, int, int, int, __half const , __half) [57 hazards]
=========
I get two read and four write hazards.
As optix_exp::nchwToNhwcKernel is out of my scope I would like to know whether I can ignore this.
Regards,
Franz