func1.cu // here is defined device func1()
func2.cu // here is defined device func2()
kernel.cu // here is defined global kernel()
I use CUDA wizard for MS VS.
My problem is:
when I include func1.cu in kernel.cu compilator says “already defined” - it compiles fun1.cu 2 times…
when I make a header file with only declaration of device func1(); and include it in kernel.cu compilator says “non-inlined call found”…
The only solution I found is to exclude func1.cu and func2.cu from build… is there any other solution?
func1.cu // here is defined device func1()
func2.cu // here is defined device func2()
kernel.cu // here is defined global kernel()
I use CUDA wizard for MS VS.
My problem is:
when I include func1.cu in kernel.cu compilator says “already defined” - it compiles fun1.cu 2 times…
when I make a header file with only declaration of device func1(); and include it in kernel.cu compilator says “non-inlined call found”…
The only solution I found is to exclude func1.cu and func2.cu from build… is there any other solution?