Can anyone please give me a simple cuda makefile example using .c and .cu file without the rule “include …/…/common/common.mk”
My header file location \usr\local\cuda\include and linking libraries location \usr\local\cuda\lib64.
Suppose
main.c file contains main function and a call to a c function something like test() which is in the kernel.cu file. and test() calls a kernel in the same kernel.cu file.
Thanks,