check for --expt-relaxed-constexpr

Hi,
is there any way to know via preprocessor macros if nvcc is being run with the --expt-relaxed-constexpr flag ?

Thank you,
.Andrea

Found it [url]https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#constexpr-functions[/url]:

F.3.16.4. Constexpr functions and function templates

By default, a constexpr function cannot be called from a function with incompatible execution space. The experimental nvcc flag --expt-relaxed-constexpr removes this restriction. When this flag is specified, host code can invoke a device constexpr function and device code can invoke a host constexpr function. nvcc will define the macro CUDACC_RELAXED_CONSTEXPR when --expt-relaxed-constexpr has been specified.