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

Samples/0_Introduction/matrixMul_nvrtc runtime error: cannot open source file #303

Open
risinyoung opened this issue Oct 10, 2024 · 0 comments

Comments

@risinyoung
Copy link

Samples/0_Introduction/matrixMul_nvrtc can be compiled, but error shows

./cooperative_groups/details/info.h(167): catastrophic error: cannot open source file

I add some include path in makefile then it can run successfully.

build: matrixMul_nvrtc
        $(EXEC) cp "$(CUDA_PATH)/include/cooperative_groups.h" .
        $(EXEC) cp -r "$(CUDA_PATH)/include/cooperative_groups" .

add some lines to

build: matrixMul_nvrtc
        $(EXEC) cp "$(CUDA_PATH)/include/cooperative_groups.h" .
        $(EXEC) cp -r "$(CUDA_PATH)/include/cooperative_groups" .
        $(EXEC) cp -r "$(CUDA_PATH)/include/nv" .
        $(EXEC) cp -r "$(CUDA_PATH)/include/cuda" .
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