NVlabs / NVBit

198 stars 18 forks source link

Cuda error in function 'cudaDeviceSynchronize()' file 'instr_count.cu' in line 226 : an illegal memory access was encountered. #94

Open Diksha-Moolchandani opened 1 year ago

Diksha-Moolchandani commented 1 year ago

Hi,

I am getting the following error when running instruction count tool with the alexnet tensorflow code:

Cuda error in function 'cudaDeviceSynchronize()' file 'instr_count.cu' in line 226 : an illegal memory access was encountered.

Here is the code that I am running: https://github.com/amir-saniyan/AlexNet

Does anyone know why am I getting this error? It does not go away with CUDA_INJECTION64_PATH too.

ovilla commented 1 year ago

Which GPU are you using? Which version of CUDA, cudnn, etc.?

Different GPUs, use different kernels in the many versions of the CUDA libraries. Also, can you please run with VERBOSE=3 (in front of the command line) and attach the output here.