View Source Evision.CUDA.Event (Evision v0.2.9)
Summary
Types
@type t() :: %Evision.CUDA.Event{ref: reference()}
Type that represents an CUDA.Event
struct.
ref.
reference()
The underlying erlang resource variable.
Functions
elapsedTime
Positional Arguments
- start:
Evision.CUDA.Event.t()
- end_arg:
Evision.CUDA.Event.t()
Return
- retval:
float
Python prototype (for reference only):
elapsedTime(start, end) -> retval
Event
Keyword Arguments
- flags:
Event_CreateFlags
.
Return
- self:
Evision.CUDA.Event.t()
Python prototype (for reference only):
Event([, flags]) -> <cuda_Event object>
@spec event(Keyword.t()) :: any() | {:error, String.t()}
@spec event([{:flags, term()}] | nil) :: t() | {:error, String.t()}
Event
Keyword Arguments
- flags:
Event_CreateFlags
.
Return
- self:
Evision.CUDA.Event.t()
Python prototype (for reference only):
Event([, flags]) -> <cuda_Event object>
@spec queryIfComplete(Keyword.t()) :: any() | {:error, String.t()}
@spec queryIfComplete(t()) :: boolean() | {:error, String.t()}
queryIfComplete
Positional Arguments
- self:
Evision.CUDA.Event.t()
Return
- retval:
bool
Python prototype (for reference only):
queryIfComplete() -> retval
@spec record(Keyword.t()) :: any() | {:error, String.t()}
@spec record(t()) :: t() | {:error, String.t()}
record
Positional Arguments
- self:
Evision.CUDA.Event.t()
Keyword Arguments
- stream:
Evision.CUDA.Stream.t()
.
Python prototype (for reference only):
record([, stream]) -> None
record
Positional Arguments
- self:
Evision.CUDA.Event.t()
Keyword Arguments
- stream:
Evision.CUDA.Stream.t()
.
Python prototype (for reference only):
record([, stream]) -> None
@spec waitForCompletion(Keyword.t()) :: any() | {:error, String.t()}
@spec waitForCompletion(t()) :: t() | {:error, String.t()}
waitForCompletion
Positional Arguments
- self:
Evision.CUDA.Event.t()
Python prototype (for reference only):
waitForCompletion() -> None