Skip to content

module genop

Global Variables

  • ffi

class VaccelOpType

An enumeration.


class VaccelArg

method __init__

__init__(data) → None

property content


property raw_content


method to_cffi

to_cffi()

class VaccelArgInfo

method __init__

__init__(datatype='', datasize='') → None

method detect_datatype

detect_datatype(arg: VaccelArg) → str

classmethod from_vaccel_arg

from_vaccel_arg(arg: VaccelArg)

class VaccelArgList

method __init__

__init__(args: List[VaccelArg]) → None

method to_cffi

to_cffi()

class Genop

method __init__

__init__()

method genop

genop(
    session: Session,
    arg_read: List[int],
    arg_write: List[VaccelArg]
) → List[str]

Vaccel genop.

Args:

  • session: A vaccel.Session instance
  • arg_read: A list of inputs
  • arg_write: A list of outputs

Returns: List of str.