extern device constant? share device constant between kernels

Hi -

I’m wondering if it’s possible for a device constant variable to be “externed” so it can be referenced by another .cu file?

My main.cu file is growing out of hand and I’d like to be able to split it up.


I made a constant.h and included it inside other .cu files this worked for me.