View Source Evision.OCL (Evision v0.1.37)

Summary

Types

t()

Type that represents an OCL struct.

Functions

finish

haveAmdBlas

haveAmdFft

haveOpenCL

setUseOpenCL

useOpenCL

Types

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

Type that represents an OCL struct.

  • ref. reference()

    The underlying erlang resource variable.

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