IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).

Mojo function

use_apple_accelerate_lib

def use_apple_accelerate_lib[c_type: DType, a_type: DType, b_type: DType]() -> Bool

Returns whether the Apple Accelerate CBLAS library should be used for this dtype combination.

Returns True on macOS when a_type, b_type, and c_type are all DType.float32.

Returns:

Bool: True if the Accelerate library is available and the dtype combination is supported.

Was this page helpful?