cuda_memtest icon indicating copy to clipboard operation
cuda_memtest copied to clipboard

error met during make.

Open oenpig opened this issue 2 years ago • 2 comments

Hi,

I met a problem when I am trying to install the cudamemtest.

Here is the error info

_

sudo make
[ 25%] Building CUDA object CMakeFiles/cuda_memtest.dir/tests.cpp.o
/root/cuda_memtest/cuda_memtest.h(57): error: identifier "deviceProp_t" is undefined

/root/cuda_memtest/cuda_memtest.h(57): error: expected a ";"

/root/cuda_memtest/cuda_memtest.h(58): error: identifier "apiError_t" is undefined

/root/cuda_memtest/cuda_memtest.h(58): error: expected a ";"

_

I am trying this with A100 and cuda10+driver470+centos 7. Any idea of this?

Thank you so much for this and I appreciate your help!

oenpig avatar Dec 28 '22 13:12 oenpig

你好 请问您解决了嘛 同样的我在V100上make发现了相同的问题

linjianshu avatar Dec 05 '23 07:12 linjianshu

Sry has overseen this issue. Never the less try try to answer it. I think you have not compiled with a CUDA or HIP compiler. For cuda you should have installed nvcc and for AMD HIP hipcc.

Please follow this short description:

psychocoderHPC avatar Dec 05 '23 13:12 psychocoderHPC