onnxruntime
9f1e61be - Check whether nvcc supports -Wstrict-aliasing before adding the flag. (#7509)

Commit
4 years ago
Check whether nvcc supports -Wstrict-aliasing before adding the flag. (#7509) * Check whether nvcc supports -Wstrict-aliasing before adding the compiler flag in CMakeList.txt. * Removed reinterpret_cast to not cause strict aliasing violation errors or require -Wno-strict-aliasing when it is not available.
Parents
Loading