NVlabs / NVBit

224 stars 21 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 2 years ago

Diksha-Moolchandani commented 2 years 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 2 years 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.