ComputationalRadiationPhysics / cuda_memtest

Fork of CUDA GPU memtest :eyeglasses:
http://sourceforge.net/projects/cudagpumemtest
110 stars 31 forks source link

error met during make. #41

Open oenpig opened 1 year ago

oenpig commented 1 year ago

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!

linjianshu commented 9 months ago

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

psychocoderHPC commented 9 months ago

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: