koblas

vendor

Types

Link copied to clipboard

Instruction set architectures the binding layer distinguishes.

Link copied to clipboard
interface Blas

The BLAS entry points, in the shapes the standard gives them.

Link copied to clipboard

The double-precision CBLAS operations Koblas binds, each with the symbol it resolves to.

Link copied to clipboard
class CallRoute(val operation: BlasOperation, val kind: RouteKind, val vendor: Vendor?, val entryPoint: String?, val adapter: String?, val reason: String?)

What a concrete call does, derived from the same decision the call itself makes.

Link copied to clipboard

CPU manufacturers that change the preference order within one architecture.

Link copied to clipboard
class HostPlatform(val operatingSystem: OperatingSystem, val architecture: Architecture, val cpuVendor: CpuVendor)

The host facts Vendor.select reads. Resolved once per process; none of these change while it runs.

Link copied to clipboard

Operating systems the binding layer distinguishes.

Link copied to clipboard

Whether the single compute thread the binding requires was confirmed against the library itself.

Link copied to clipboard
enum Vendor : Enum<Vendor>

The closed set of BLAS libraries Koblas can bind.

Functions

Link copied to clipboard

The platform this process is running on.

The platform this process is running on, read from the JVM's own system properties.

The platform this process is running on, which a Native target largely knows at compile time.

Link copied to clipboard
expect fun openBlas(only: Vendor? = null): Blas?

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

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

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

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

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