"External calls are not supported"

i have my program and im “breaking” the code in different files.
In “kernels.cu” file i put all my kernels and on “aux.cu” all my device functions.

Well, when i try to compile i get this:
./kernels.cu(30): Error: External calls are not supported (found non-inlined call to _Z1vff)

On line 30 im calling a function that is on “aux.cu” file.

What’s going on? NVCC doesnt support devices functions on different files than the kernels?

Correct, nvcc doesn’t have a device-side linker, so you can’t do that.

Sad to hear it.

Thanks tmurray.