How to check if libtorch is with cuda by preprocessor?

It will be very helpful if there is a macro