Constants

If I have a variable ‘constant int blarg = 1;’, is there any way to read this from both host and device code without playing with macros?

Ben