cherry-pick !1682 Add nvc++ support into 3.4
Reference issue
What does this implement/fix?
This is a follow up for !1682 (merged) that cherry-picks the patch into the v3.4 branch to fix compilation errors with nvc++ on with Eigen v3.4.
This is a follow up for !1682 (merged) that cherry-picks the patch into the v3.4 branch to fix compilation errors with nvc++ on with Eigen v3.4.