We turn off this warning for `.cu` files, because nvcc call C compiler, which doesn't support `-Wno-sign-promo`:

    cc1: warning: command line option ‘-Wno-sign-promo’ is valid for C++/ObjC++ but not for C [enabled by default]