Closed Da1sypetals closed 1 month ago
You should not expose any cuda-related code to a normal cpp source.
So, anything about muda should not be included in a .cpp
file.
It May be the time to learn from https://github.com/phys-sim-book/solid-sim-tutorial-gpu, how to hide the backend implementation from the normal host cpp program.
Get it. It is just the error message is too unrelated to cuda :sob: I will learn from the repo, thanks!
From muda-app code, changing
hello_muda.h
to the following causes thousands of lines of compilation error.hello_muda.h
:terminal output: output.txt first few lines:
I believe this is some configuration mistake but I just cannot figure it out. Thanks a lot in advance.