You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CMakeLists.txt
+3-3
Original file line number
Diff line number
Diff line change
@@ -44,9 +44,9 @@ option(GINKGO_FAST_TESTS "Reduces the input size for a few tests known to be tim
44
44
option(GINKGO_TEST_NONDEFAULT_STREAM "Uses non-default streams in CUDA and HIP tests"OFF)
45
45
option(GINKGO_MIXED_PRECISION "Instantiate true mixed-precision kernels (otherwise they will be conversion-based using implicit temporary storage)"OFF)
46
46
option(GINKGO_ENABLE_HALF "Enable the use of half precision"ON)
47
-
# We do not support half precision in MSVC.
48
-
if(MSVC)
49
-
message(STATUS"We do not support half precision in MSVC.")
47
+
# We do not support half precision in MSVC and msys2 (MINGW).
48
+
if(MSVCOR MINGW)
49
+
message(STATUS"We do not support half precision in MSVC and MINGW.")
50
50
set(GINKGO_ENABLE_HALF OFFCACHEBOOL"Enable the use of half precision" FORCE)
0 commit comments