detect cuda versions and decide if to put a diagnostic inside or outside of a class.
Detect cuda version to decide where to put a diagnostic pragma. If cuda version is less than 8, this pragma has to be outside of class body.
Detect cuda version to decide where to put a diagnostic pragma. If cuda version is less than 8, this pragma has to be outside of class body.