Skip to content

module sgemm


class Sgemm

An Sgemm model vAccel resource.

Attributes:

  • def_arg_write (bytes): The result of the operation
  • __op__: The genop operation type

classmethod sgemm

sgemm(m: int, n: int, k: int, alpha: float, lda: int, ldb: int, beta: float)

Performs the Sgemm using vAccel over genop.

Args:

  • m: An integer for m dimension
  • n: An integer for m dimension
  • k: An integer for m dimension
  • alpha: A float for scalar constant
  • lda: An integer for the dimension
  • ldb: An integer for the dimension
  • beta: A float for scalar constant

Returns:

  • ldc: An integer