Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix C++17 version detection in helper_macros.hpp (NVIDIA#1479)
* It seems that __cplusplus can be inconsistent with _MSVC_LANG when discerning C++17 version. See NVIDIA#1474. Added switch to check _MSVC_LANG in addition to __cplusplus * Fixed typo. * Oops, another typo. * Changed incorrect logic, ifndef to ifdef * Define CUTLAS_CPLUSPLUS for language version testing Co-authored-by: Mark Hoemmen <[email protected]> --------- Co-authored-by: Mark Hoemmen <[email protected]>
- Loading branch information