Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error met during make. #41

Open
oenpig opened this issue Dec 28, 2022 · 2 comments
Open

error met during make. #41

oenpig opened this issue Dec 28, 2022 · 2 comments

Comments

@oenpig
Copy link

oenpig commented Dec 28, 2022

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
Copy link

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

@psychocoderHPC
Copy link
Member

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants