View Source Evision.CUDA.Event (Evision v0.1.14)

Link to this section Summary

Types

t()

Type that represents an Evision.CUDA.Event struct.

Functions

Positional Arguments
Return
  • retval: float

Python prototype (for reference):

Keyword Arguments
  • flags: Event_CreateFlags.
Return

Python prototype (for reference):

Keyword Arguments
  • flags: Event_CreateFlags.
Return

Python prototype (for reference):

Return
  • retval: bool

Python prototype (for reference):

Keyword Arguments

Python prototype (for reference):

Python prototype (for reference):

Link to this section Types

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

Type that represents an Evision.CUDA.Event struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

Link to this function

elapsedTime(start, end_)

View Source
@spec elapsedTime(t(), t()) :: number() | {:error, String.t()}
Positional Arguments
Return
  • retval: float

Python prototype (for reference):

elapsedTime(start, end_) -> retval
@spec event() :: t() | {:error, String.t()}
Keyword Arguments
  • flags: Event_CreateFlags.
Return

Python prototype (for reference):

Event([, flags]) -> <cuda_Event object>
@spec event([{atom(), term()}, ...] | nil) :: t() | {:error, String.t()}
Keyword Arguments
  • flags: Event_CreateFlags.
Return

Python prototype (for reference):

Event([, flags]) -> <cuda_Event object>
@spec queryIfComplete(t()) :: boolean() | {:error, String.t()}
Return
  • retval: bool

Python prototype (for reference):

queryIfComplete() -> retval
@spec record(t()) :: :ok | {:error, String.t()}
Keyword Arguments

Python prototype (for reference):

record([, stream]) -> None
@spec waitForCompletion(t()) :: :ok | {:error, String.t()}

Python prototype (for reference):

waitForCompletion() -> None