View Source Evision.OCL (Evision v0.1.21)

Link to this section Summary

Types

t()

Type that represents an Evision.OCL struct.

Functions

finish

haveAmdBlas

haveAmdFft

haveOpenCL

setUseOpenCL

useOpenCL

Link to this section Types

@type t() :: %Evision.OCL{ref: reference()}

Type that represents an Evision.OCL struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

@spec finish() :: :ok | {:error, String.t()}

finish

Python prototype (for reference only):

finish() -> None
@spec haveAmdBlas() :: boolean() | {:error, String.t()}

haveAmdBlas

Return
  • retval: bool

Python prototype (for reference only):

haveAmdBlas() -> retval
@spec haveAmdFft() :: boolean() | {:error, String.t()}

haveAmdFft

Return
  • retval: bool

Python prototype (for reference only):

haveAmdFft() -> retval
@spec haveOpenCL() :: boolean() | {:error, String.t()}

haveOpenCL

Return
  • retval: bool

Python prototype (for reference only):

haveOpenCL() -> retval
@spec setUseOpenCL(boolean()) :: :ok | {:error, String.t()}

setUseOpenCL

Positional Arguments
  • flag: bool

Python prototype (for reference only):

setUseOpenCL(flag) -> None
@spec useOpenCL() :: boolean() | {:error, String.t()}

useOpenCL

Return
  • retval: bool

Python prototype (for reference only):

useOpenCL() -> retval