Skip to main content

Mojo function

has_avx2

has_avx2() -> Bool

Returns True if the host system has AVX2, otherwise returns False.

Deprecated:

Use CompilationTarget.has_avx2() instead.

Returns:

True if the host system has AVX2, otherwise returns False.

Was this page helpful?