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

symbol cudaMallocManaged version libcudart.so.11.0 not defined in file libcudart.so.11.0 with link time reference" #320

Open
FinDMee1 opened this issue Mar 17, 2025 · 1 comment

Comments

@FinDMee1
Copy link

When i run the src code which is using Tensor Core i got the problem like this:
"symbol cudaMallocManaged version libcudart.so.11.0 not defined in file libcudart.so.11.0 with link time reference"
and this Code can be compiled & executed on VS as a cuda project(under the windows).

but when i run the src coed which do not use TensoCore(just a VectorAdd),it can compile successfully and can be executed by GPGPU-sim

why this problem occured

GPGPU-sim environment : CUDA11.1 gcc\g++7.5 gdb8.1.1
command:
source setup_environment release
make clean
make

nvcc --cudart shared -arch=sm_70 -o kernel main.cu

@FinDMee1
Copy link
Author

use the command:
nvcc -g -o kernel -arch=sm_70 -lcublas -lcurand kernel.cu
after that it occurs a new problem:
cudaSetDevice failed!

src code here:
Image

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

1 participant