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
{{ message }}
Repository navigation
Commit 720ab81
Browse filesBrowse the repository at this point in the historyBrowse files
GPU CMake: enable the Metal backend by default where the toolchain supports it
ENABLE_METAL defaults to AUTO like the other backends: it is used when the
Metal toolchain compiles MSL 4.1 (macOS 27) and silently skipped otherwise.
Notice that in any case by default we use the CPU, even when Metal is available.
message(FATAL_ERROR"Metal frameworks not available")
489
487
endif()
490
-
message(FATAL_ERROR"The Metal backend needs MSL 4.1: this toolchain rejects -std=metal4.1, and the result would need macOS 27 to run")
488
+
message(FATAL_ERROR"The Metal backend needs MSL 4.1: this toolchain rejects -std=metal4.1, and the result would need macOS 27 to run\n${GPUCA_METAL_PROBE_ERROR}")
491
489
else()
490
+
message(STATUS"Metal backend disabled, the toolchain does not compile MSL 4.1: ${GPUCA_METAL_PROBE_ERROR}")
0 commit comments