Hi have problem with the dependency of header file using nvcc compiler,
it seams that dependency of the header file are not handled correctly by nvcc so when a header file is modified the
source code using it is not recompiled.
I’ve experienced this problem both with ninja and make build.
Is there a compilation flag I need to enable to avoid this problem?
in the attache zip a simple project with make where I verified the above problem.
test1_hello.zip (18.8 KB)
nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_Sep_21_10:33:58_PDT_2022
Cuda compilation tools, release 11.8, V11.8.89
Build cuda_11.8.r11.8/compiler.31833905_0