Variables#
Note
Generated from the C++ headers by apiary --emit-cpp-docs-json.
Defined in header Einsums/GPU/Platform.hpp.
-
inline constexpr bool has_fp16_gemm#
True if the active backend implements FP16 GEMM (gpu::blas::hgemm).
MPS only; the CUDA bodies throw.
-
inline constexpr bool has_fp8_gemm#
True if the active backend implements FP8 E4M3 GEMM (gpu::blas::fp8gemm).
No backend does yet. Whether the hardware could is device_capabilities().fp8_gemm.
-
inline constexpr bool has_gpu#
True if any real GPU backend is available.
-
inline constexpr bool has_mock_discrete#
True when the mock backend is configured to imitate a DISCRETE device (EINSUMS_WITH_GPU_MOCK_DISCRETE=ON).
The plain mock never runs the transfer path. Mock-discrete behaves like a discrete card (no unified memory, device pointers fault on the host), so CI exercises those paths without a GPU.
-
inline constexpr bool has_unified_memory#
True if host and device share memory: MPS and the plain mock, not CUDA or mock-discrete. The executor then skips device shadows.
-
inline constexpr bool is_mock#
True if running with the mock CPU backend, meaning no real GPU.