View Source Evision.CUDA.BufferPool (Evision v0.1.26-rc1)
Link to this section Summary
Link to this section Types
@type t() :: %Evision.CUDA.BufferPool{ref: reference()}
Type that represents an CUDA.BufferPool
struct.
ref.
reference()
The underlying erlang resource variable.
Link to this section Functions
@spec bufferPool(Evision.CUDA.Stream.t()) :: t() | {:error, String.t()}
BufferPool
Positional Arguments
- stream:
Evision.CUDA.Stream
Return
- self:
Evision.CUDA.Evision.CUDA.BufferPool
Python prototype (for reference only):
BufferPool(stream) -> <cuda_BufferPool object>
getAllocator
Positional Arguments
- self:
Evision.CUDA.Evision.CUDA.BufferPool.t()
Return
- retval:
Evision.CUDA.Evision.CUDA.GpuMat_Allocator
Python prototype (for reference only):
getAllocator() -> retval
getBuffer
Positional Arguments
- self:
Evision.CUDA.Evision.CUDA.BufferPool.t()
- size:
Size
- type:
int
Return
- retval:
Evision.CUDA.Evision.CUDA.GpuMat
Python prototype (for reference only):
getBuffer(size, type) -> retval
getBuffer
Positional Arguments
- self:
Evision.CUDA.Evision.CUDA.BufferPool.t()
- rows:
int
- cols:
int
- type:
int
Return
- retval:
Evision.CUDA.Evision.CUDA.GpuMat
Python prototype (for reference only):
getBuffer(rows, cols, type) -> retval