auto-c++-mode for header and cuda files