koblas

openBlas

expect fun openBlas(only: Vendor? = null): Blas?(source)

Opens the preferred available vendor for this host, or null when none is installed.

Default engine resolution happens once. A null binding leaves every supported dense and sparse BLAS operation available through portable Kotlin. Explicit callers handle a null result themselves.

only restricts the search to one vendor, which is how a test or an exact benchmark arm reaches a specific library without changing anything process-global. Without it the order is Vendor.select's, so a host with no tuned library still reaches Vendor.OpenBlas at the end of that order rather than nothing.

actual fun openBlas(only: Vendor?): Blas?(source)

Opens an optional desktop FFM binding, or returns null on portable runtimes.

actual fun openBlas(only: Vendor?): Blas?(source)

Opens the preferred available vendor for this host, or null when none is installed.