View Source Evision.CUDA.DeviceInfo (Evision v0.1.15)

Link to this section Summary

Types

t()

Type that represents an Evision.CUDA.DeviceInfo struct.

Functions

Return
  • retval: int

Python prototype (for reference):

Return
  • retval: bool

Python prototype (for reference):

Return
  • retval: int

Python prototype (for reference):

Return
  • retval: DeviceInfo::ComputeMode

Python prototype (for reference):

Return
  • retval: bool

Python prototype (for reference):

Returns system index of the CUDA device starting with 0.

Return

Python prototype (for reference):

The constructors.

Return
  • retval: bool

Python prototype (for reference):

Return
  • retval: size_t

Python prototype (for reference):

Return
  • retval: bool

Python prototype (for reference):

Checks the CUDA module and device compatibility.

Return
  • retval: bool

Python prototype (for reference):

Return
  • retval: int

Python prototype (for reference):

Return
  • retval: int

Python prototype (for reference):

Return
  • retval: Vec3i

Python prototype (for reference):

Return
  • retval: int

Python prototype (for reference):

Return
  • retval: Vec2i

Python prototype (for reference):

Return
  • retval: Vec2i

Python prototype (for reference):

Return
  • retval: Vec3i

Python prototype (for reference):

Return
  • retval: Vec3i

Python prototype (for reference):

Return
  • retval: int

Python prototype (for reference):

Return
  • retval: Vec2i

Python prototype (for reference):

Return
  • retval: int

Python prototype (for reference):

Return
  • retval: Vec2i

Python prototype (for reference):

Return
  • retval: int

Python prototype (for reference):

Return
  • retval: int

Python prototype (for reference):

Return
  • retval: Vec2i

Python prototype (for reference):

Return
  • retval: Vec2i

Python prototype (for reference):

Return
  • retval: Vec3i

Python prototype (for reference):

Return
  • retval: Vec3i

Python prototype (for reference):

Return
  • retval: Vec2i

Python prototype (for reference):

Return
  • retval: Vec3i

Python prototype (for reference):

Return
  • retval: int

Python prototype (for reference):

Return
  • retval: Vec2i

Python prototype (for reference):

Return
  • retval: Vec3i

Python prototype (for reference):

Return
  • retval: int

Python prototype (for reference):

Return
  • retval: int

Python prototype (for reference):

Return
  • retval: int

Python prototype (for reference):

Return
  • retval: int

Python prototype (for reference):

Return
  • retval: size_t

Python prototype (for reference):

Return
  • retval: int

Python prototype (for reference):

Return
  • retval: int

Python prototype (for reference):

Return
  • retval: int

Python prototype (for reference):

Return
  • retval: int

Python prototype (for reference):

Return
  • retval: int

Python prototype (for reference):

Positional Arguments
  • totalMemory: size_t
  • freeMemory: size_t

Python prototype (for reference):

Return
  • retval: int

Python prototype (for reference):

Return
  • retval: size_t

Python prototype (for reference):

Return
  • retval: size_t

Python prototype (for reference):

Return
  • retval: bool

Python prototype (for reference):

Return
  • retval: size_t

Python prototype (for reference):

Return
  • retval: size_t

Python prototype (for reference):

Return
  • retval: size_t

Python prototype (for reference):

Return
  • retval: size_t

Python prototype (for reference):

Return
  • retval: size_t

Python prototype (for reference):

Return
  • retval: bool

Python prototype (for reference):

Return
  • retval: int

Python prototype (for reference):

Link to this section Types

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

Type that represents an Evision.CUDA.DeviceInfo struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

@spec asyncEngineCount(t()) :: integer() | {:error, String.t()}
Return
  • retval: int

Python prototype (for reference):

asyncEngineCount() -> retval
@spec canMapHostMemory(t()) :: boolean() | {:error, String.t()}
Return
  • retval: bool

Python prototype (for reference):

canMapHostMemory() -> retval
@spec clockRate(t()) :: integer() | {:error, String.t()}
Return
  • retval: int

Python prototype (for reference):

clockRate() -> retval
@spec computeMode(t()) :: integer() | {:error, String.t()}
Return
  • retval: DeviceInfo::ComputeMode

Python prototype (for reference):

computeMode() -> retval
@spec concurrentKernels(t()) :: boolean() | {:error, String.t()}
Return
  • retval: bool

Python prototype (for reference):

concurrentKernels() -> retval
@spec deviceID(t()) :: integer() | {:error, String.t()}

Returns system index of the CUDA device starting with 0.

Return
  • retval: int

Python prototype (for reference):

deviceID() -> retval
@spec deviceInfo() :: t() | {:error, String.t()}
Return

Python prototype (for reference):

DeviceInfo() -> <cuda_DeviceInfo object>
@spec deviceInfo(integer()) :: t() | {:error, String.t()}

The constructors.

Positional Arguments
  • device_id: int.

    System index of the CUDA device starting with 0.

Return

Constructs the DeviceInfo object for the specified device. If device_id parameter is missed, it constructs an object for the current device.

Python prototype (for reference):

DeviceInfo(device_id) -> <cuda_DeviceInfo object>
@spec eccEnabled(t()) :: boolean() | {:error, String.t()}
Return
  • retval: bool

Python prototype (for reference):

ECCEnabled() -> retval
@spec freeMemory(t()) :: integer() | {:error, String.t()}
Return
  • retval: size_t

Python prototype (for reference):

freeMemory() -> retval
@spec integrated(t()) :: boolean() | {:error, String.t()}
Return
  • retval: bool

Python prototype (for reference):

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

Checks the CUDA module and device compatibility.

Return
  • retval: bool

This function returns true if the CUDA module can be run on the specified device. Otherwise, it returns false .

Python prototype (for reference):

isCompatible() -> retval
Link to this function

kernelExecTimeoutEnabled(self)

View Source
@spec kernelExecTimeoutEnabled(t()) :: boolean() | {:error, String.t()}
Return
  • retval: bool

Python prototype (for reference):

kernelExecTimeoutEnabled() -> retval
@spec l2CacheSize(t()) :: integer() | {:error, String.t()}
Return
  • retval: int

Python prototype (for reference):

l2CacheSize() -> retval
@spec majorVersion(t()) :: integer() | {:error, String.t()}
Return
  • retval: int

Python prototype (for reference):

majorVersion() -> retval
@spec maxGridSize(t()) :: {integer(), integer(), integer()} | {:error, String.t()}
Return
  • retval: Vec3i

Python prototype (for reference):

maxGridSize() -> retval
@spec maxSurface1D(t()) :: integer() | {:error, String.t()}
Return
  • retval: int

Python prototype (for reference):

maxSurface1D() -> retval
Link to this function

maxSurface1DLayered(self)

View Source
@spec maxSurface1DLayered(t()) :: {integer(), integer()} | {:error, String.t()}
Return
  • retval: Vec2i

Python prototype (for reference):

maxSurface1DLayered() -> retval
@spec maxSurface2D(t()) :: {integer(), integer()} | {:error, String.t()}
Return
  • retval: Vec2i

Python prototype (for reference):

maxSurface2D() -> retval
Link to this function

maxSurface2DLayered(self)

View Source
@spec maxSurface2DLayered(t()) ::
  {integer(), integer(), integer()} | {:error, String.t()}
Return
  • retval: Vec3i

Python prototype (for reference):

maxSurface2DLayered() -> retval
@spec maxSurface3D(t()) :: {integer(), integer(), integer()} | {:error, String.t()}
Return
  • retval: Vec3i

Python prototype (for reference):

maxSurface3D() -> retval
@spec maxSurfaceCubemap(t()) :: integer() | {:error, String.t()}
Return
  • retval: int

Python prototype (for reference):

maxSurfaceCubemap() -> retval
Link to this function

maxSurfaceCubemapLayered(self)

View Source
@spec maxSurfaceCubemapLayered(t()) :: {integer(), integer()} | {:error, String.t()}
Return
  • retval: Vec2i

Python prototype (for reference):

maxSurfaceCubemapLayered() -> retval
@spec maxTexture1D(t()) :: integer() | {:error, String.t()}
Return
  • retval: int

Python prototype (for reference):

maxTexture1D() -> retval
Link to this function

maxTexture1DLayered(self)

View Source
@spec maxTexture1DLayered(t()) :: {integer(), integer()} | {:error, String.t()}
Return
  • retval: Vec2i

Python prototype (for reference):

maxTexture1DLayered() -> retval
Link to this function

maxTexture1DLinear(self)

View Source
@spec maxTexture1DLinear(t()) :: integer() | {:error, String.t()}
Return
  • retval: int

Python prototype (for reference):

maxTexture1DLinear() -> retval
Link to this function

maxTexture1DMipmap(self)

View Source
@spec maxTexture1DMipmap(t()) :: integer() | {:error, String.t()}
Return
  • retval: int

Python prototype (for reference):

maxTexture1DMipmap() -> retval
@spec maxTexture2D(t()) :: {integer(), integer()} | {:error, String.t()}
Return
  • retval: Vec2i

Python prototype (for reference):

maxTexture2D() -> retval
Link to this function

maxTexture2DGather(self)

View Source
@spec maxTexture2DGather(t()) :: {integer(), integer()} | {:error, String.t()}
Return
  • retval: Vec2i

Python prototype (for reference):

maxTexture2DGather() -> retval
Link to this function

maxTexture2DLayered(self)

View Source
@spec maxTexture2DLayered(t()) ::
  {integer(), integer(), integer()} | {:error, String.t()}
Return
  • retval: Vec3i

Python prototype (for reference):

maxTexture2DLayered() -> retval
Link to this function

maxTexture2DLinear(self)

View Source
@spec maxTexture2DLinear(t()) ::
  {integer(), integer(), integer()} | {:error, String.t()}
Return
  • retval: Vec3i

Python prototype (for reference):

maxTexture2DLinear() -> retval
Link to this function

maxTexture2DMipmap(self)

View Source
@spec maxTexture2DMipmap(t()) :: {integer(), integer()} | {:error, String.t()}
Return
  • retval: Vec2i

Python prototype (for reference):

maxTexture2DMipmap() -> retval
@spec maxTexture3D(t()) :: {integer(), integer(), integer()} | {:error, String.t()}
Return
  • retval: Vec3i

Python prototype (for reference):

maxTexture3D() -> retval
@spec maxTextureCubemap(t()) :: integer() | {:error, String.t()}
Return
  • retval: int

Python prototype (for reference):

maxTextureCubemap() -> retval
Link to this function

maxTextureCubemapLayered(self)

View Source
@spec maxTextureCubemapLayered(t()) :: {integer(), integer()} | {:error, String.t()}
Return
  • retval: Vec2i

Python prototype (for reference):

maxTextureCubemapLayered() -> retval
@spec maxThreadsDim(t()) :: {integer(), integer(), integer()} | {:error, String.t()}
Return
  • retval: Vec3i

Python prototype (for reference):

maxThreadsDim() -> retval
Link to this function

maxThreadsPerBlock(self)

View Source
@spec maxThreadsPerBlock(t()) :: integer() | {:error, String.t()}
Return
  • retval: int

Python prototype (for reference):

maxThreadsPerBlock() -> retval
Link to this function

maxThreadsPerMultiProcessor(self)

View Source
@spec maxThreadsPerMultiProcessor(t()) :: integer() | {:error, String.t()}
Return
  • retval: int

Python prototype (for reference):

maxThreadsPerMultiProcessor() -> retval
@spec memoryBusWidth(t()) :: integer() | {:error, String.t()}
Return
  • retval: int

Python prototype (for reference):

memoryBusWidth() -> retval
@spec memoryClockRate(t()) :: integer() | {:error, String.t()}
Return
  • retval: int

Python prototype (for reference):

memoryClockRate() -> retval
@spec memPitch(t()) :: integer() | {:error, String.t()}
Return
  • retval: size_t

Python prototype (for reference):

memPitch() -> retval
@spec minorVersion(t()) :: integer() | {:error, String.t()}
Return
  • retval: int

Python prototype (for reference):

minorVersion() -> retval
Link to this function

multiProcessorCount(self)

View Source
@spec multiProcessorCount(t()) :: integer() | {:error, String.t()}
Return
  • retval: int

Python prototype (for reference):

multiProcessorCount() -> retval
@spec pciBusID(t()) :: integer() | {:error, String.t()}
Return
  • retval: int

Python prototype (for reference):

pciBusID() -> retval
@spec pciDeviceID(t()) :: integer() | {:error, String.t()}
Return
  • retval: int

Python prototype (for reference):

pciDeviceID() -> retval
@spec pciDomainID(t()) :: integer() | {:error, String.t()}
Return
  • retval: int

Python prototype (for reference):

pciDomainID() -> retval
Link to this function

queryMemory(self, totalMemory, freeMemory)

View Source
@spec queryMemory(t(), integer(), integer()) :: :ok | {:error, String.t()}
Positional Arguments
  • totalMemory: size_t
  • freeMemory: size_t

Python prototype (for reference):

queryMemory(totalMemory, freeMemory) -> None
@spec regsPerBlock(t()) :: integer() | {:error, String.t()}
Return
  • retval: int

Python prototype (for reference):

regsPerBlock() -> retval
@spec sharedMemPerBlock(t()) :: integer() | {:error, String.t()}
Return
  • retval: size_t

Python prototype (for reference):

sharedMemPerBlock() -> retval
@spec surfaceAlignment(t()) :: integer() | {:error, String.t()}
Return
  • retval: size_t

Python prototype (for reference):

surfaceAlignment() -> retval
@spec tccDriver(t()) :: boolean() | {:error, String.t()}
Return
  • retval: bool

Python prototype (for reference):

tccDriver() -> retval
@spec textureAlignment(t()) :: integer() | {:error, String.t()}
Return
  • retval: size_t

Python prototype (for reference):

textureAlignment() -> retval
Link to this function

texturePitchAlignment(self)

View Source
@spec texturePitchAlignment(t()) :: integer() | {:error, String.t()}
Return
  • retval: size_t

Python prototype (for reference):

texturePitchAlignment() -> retval
@spec totalConstMem(t()) :: integer() | {:error, String.t()}
Return
  • retval: size_t

Python prototype (for reference):

totalConstMem() -> retval
@spec totalGlobalMem(t()) :: integer() | {:error, String.t()}
Return
  • retval: size_t

Python prototype (for reference):

totalGlobalMem() -> retval
@spec totalMemory(t()) :: integer() | {:error, String.t()}
Return
  • retval: size_t

Python prototype (for reference):

totalMemory() -> retval
@spec unifiedAddressing(t()) :: boolean() | {:error, String.t()}
Return
  • retval: bool

Python prototype (for reference):

unifiedAddressing() -> retval
@spec warpSize(t()) :: integer() | {:error, String.t()}
Return
  • retval: int

Python prototype (for reference):

warpSize() -> retval