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

Summary

Types

t()

Type that represents an CUDA.DeviceInfo struct.

Functions

asyncEngineCount

canMapHostMemory

concurrentKernels

Returns system index of the CUDA device starting with 0.

DeviceInfo

The constructors.

Checks the CUDA module and device compatibility.

kernelExecTimeoutEnabled

maxSurface1DLayered

maxSurface2DLayered

maxSurfaceCubemap

maxSurfaceCubemapLayered

maxTexture1DLayered

maxTexture1DLinear

maxTexture1DMipmap

maxTexture2DGather

maxTexture2DLayered

maxTexture2DLinear

maxTexture2DMipmap

maxTextureCubemap

maxTextureCubemapLayered

maxThreadsPerBlock

maxThreadsPerMultiProcessor

memoryClockRate

multiProcessorCount

sharedMemPerBlock

surfaceAlignment

textureAlignment

texturePitchAlignment

unifiedAddressing

Types

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

Type that represents an CUDA.DeviceInfo struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

Link to this function

asyncEngineCount(named_args)

View Source
@spec asyncEngineCount(Keyword.t()) :: any() | {:error, String.t()}
@spec asyncEngineCount(t()) :: integer() | {:error, String.t()}

asyncEngineCount

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: integer()

Python prototype (for reference only):

asyncEngineCount() -> retval
Link to this function

canMapHostMemory(named_args)

View Source
@spec canMapHostMemory(Keyword.t()) :: any() | {:error, String.t()}
@spec canMapHostMemory(t()) :: boolean() | {:error, String.t()}

canMapHostMemory

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: bool

Python prototype (for reference only):

canMapHostMemory() -> retval
@spec clockRate(Keyword.t()) :: any() | {:error, String.t()}
@spec clockRate(t()) :: integer() | {:error, String.t()}

clockRate

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: integer()

Python prototype (for reference only):

clockRate() -> retval
@spec computeMode(Keyword.t()) :: any() | {:error, String.t()}
@spec computeMode(t()) ::
  Evision.CUDA.DeviceInfo.ComputeMode.enum() | {:error, String.t()}

computeMode

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: DeviceInfo::ComputeMode

Python prototype (for reference only):

computeMode() -> retval
Link to this function

concurrentKernels(named_args)

View Source
@spec concurrentKernels(Keyword.t()) :: any() | {:error, String.t()}
@spec concurrentKernels(t()) :: boolean() | {:error, String.t()}

concurrentKernels

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: bool

Python prototype (for reference only):

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

Returns system index of the CUDA device starting with 0.

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: integer()

Python prototype (for reference only):

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

DeviceInfo

Return
  • self: Evision.CUDA.DeviceInfo.t()

Python prototype (for reference only):

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

The constructors.

Positional Arguments
  • device_id: integer().

    System index of the CUDA device starting with 0.

Return
  • self: Evision.CUDA.DeviceInfo.t()

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 only):

DeviceInfo(device_id) -> <cuda_DeviceInfo object>
@spec eccEnabled(Keyword.t()) :: any() | {:error, String.t()}
@spec eccEnabled(t()) :: boolean() | {:error, String.t()}

ECCEnabled

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: bool

Python prototype (for reference only):

ECCEnabled() -> retval
@spec freeMemory(Keyword.t()) :: any() | {:error, String.t()}
@spec freeMemory(t()) :: integer() | {:error, String.t()}

freeMemory

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: size_t

Python prototype (for reference only):

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

integrated

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: bool

Python prototype (for reference only):

integrated() -> retval
Link to this function

isCompatible(named_args)

View Source
@spec isCompatible(Keyword.t()) :: any() | {:error, String.t()}
@spec isCompatible(t()) :: boolean() | {:error, String.t()}

Checks the CUDA module and device compatibility.

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
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 only):

isCompatible() -> retval
Link to this function

kernelExecTimeoutEnabled(named_args)

View Source
@spec kernelExecTimeoutEnabled(Keyword.t()) :: any() | {:error, String.t()}
@spec kernelExecTimeoutEnabled(t()) :: boolean() | {:error, String.t()}

kernelExecTimeoutEnabled

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: bool

Python prototype (for reference only):

kernelExecTimeoutEnabled() -> retval
@spec l2CacheSize(Keyword.t()) :: any() | {:error, String.t()}
@spec l2CacheSize(t()) :: integer() | {:error, String.t()}

l2CacheSize

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: integer()

Python prototype (for reference only):

l2CacheSize() -> retval
Link to this function

majorVersion(named_args)

View Source
@spec majorVersion(Keyword.t()) :: any() | {:error, String.t()}
@spec majorVersion(t()) :: integer() | {:error, String.t()}

majorVersion

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: integer()

Python prototype (for reference only):

majorVersion() -> retval
@spec maxGridSize(Keyword.t()) :: any() | {:error, String.t()}
@spec maxGridSize(t()) :: {integer(), integer(), integer()} | {:error, String.t()}

maxGridSize

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: Vec3i

Python prototype (for reference only):

maxGridSize() -> retval
Link to this function

maxSurface1D(named_args)

View Source
@spec maxSurface1D(Keyword.t()) :: any() | {:error, String.t()}
@spec maxSurface1D(t()) :: integer() | {:error, String.t()}

maxSurface1D

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: integer()

Python prototype (for reference only):

maxSurface1D() -> retval
Link to this function

maxSurface1DLayered(named_args)

View Source
@spec maxSurface1DLayered(Keyword.t()) :: any() | {:error, String.t()}
@spec maxSurface1DLayered(t()) :: {integer(), integer()} | {:error, String.t()}

maxSurface1DLayered

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: Vec2i

Python prototype (for reference only):

maxSurface1DLayered() -> retval
Link to this function

maxSurface2D(named_args)

View Source
@spec maxSurface2D(Keyword.t()) :: any() | {:error, String.t()}
@spec maxSurface2D(t()) :: {integer(), integer()} | {:error, String.t()}

maxSurface2D

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: Vec2i

Python prototype (for reference only):

maxSurface2D() -> retval
Link to this function

maxSurface2DLayered(named_args)

View Source
@spec maxSurface2DLayered(Keyword.t()) :: any() | {:error, String.t()}
@spec maxSurface2DLayered(t()) ::
  {integer(), integer(), integer()} | {:error, String.t()}

maxSurface2DLayered

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: Vec3i

Python prototype (for reference only):

maxSurface2DLayered() -> retval
Link to this function

maxSurface3D(named_args)

View Source
@spec maxSurface3D(Keyword.t()) :: any() | {:error, String.t()}
@spec maxSurface3D(t()) :: {integer(), integer(), integer()} | {:error, String.t()}

maxSurface3D

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: Vec3i

Python prototype (for reference only):

maxSurface3D() -> retval
Link to this function

maxSurfaceCubemap(named_args)

View Source
@spec maxSurfaceCubemap(Keyword.t()) :: any() | {:error, String.t()}
@spec maxSurfaceCubemap(t()) :: integer() | {:error, String.t()}

maxSurfaceCubemap

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: integer()

Python prototype (for reference only):

maxSurfaceCubemap() -> retval
Link to this function

maxSurfaceCubemapLayered(named_args)

View Source
@spec maxSurfaceCubemapLayered(Keyword.t()) :: any() | {:error, String.t()}
@spec maxSurfaceCubemapLayered(t()) :: {integer(), integer()} | {:error, String.t()}

maxSurfaceCubemapLayered

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: Vec2i

Python prototype (for reference only):

maxSurfaceCubemapLayered() -> retval
Link to this function

maxTexture1D(named_args)

View Source
@spec maxTexture1D(Keyword.t()) :: any() | {:error, String.t()}
@spec maxTexture1D(t()) :: integer() | {:error, String.t()}

maxTexture1D

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: integer()

Python prototype (for reference only):

maxTexture1D() -> retval
Link to this function

maxTexture1DLayered(named_args)

View Source
@spec maxTexture1DLayered(Keyword.t()) :: any() | {:error, String.t()}
@spec maxTexture1DLayered(t()) :: {integer(), integer()} | {:error, String.t()}

maxTexture1DLayered

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: Vec2i

Python prototype (for reference only):

maxTexture1DLayered() -> retval
Link to this function

maxTexture1DLinear(named_args)

View Source
@spec maxTexture1DLinear(Keyword.t()) :: any() | {:error, String.t()}
@spec maxTexture1DLinear(t()) :: integer() | {:error, String.t()}

maxTexture1DLinear

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: integer()

Python prototype (for reference only):

maxTexture1DLinear() -> retval
Link to this function

maxTexture1DMipmap(named_args)

View Source
@spec maxTexture1DMipmap(Keyword.t()) :: any() | {:error, String.t()}
@spec maxTexture1DMipmap(t()) :: integer() | {:error, String.t()}

maxTexture1DMipmap

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: integer()

Python prototype (for reference only):

maxTexture1DMipmap() -> retval
Link to this function

maxTexture2D(named_args)

View Source
@spec maxTexture2D(Keyword.t()) :: any() | {:error, String.t()}
@spec maxTexture2D(t()) :: {integer(), integer()} | {:error, String.t()}

maxTexture2D

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: Vec2i

Python prototype (for reference only):

maxTexture2D() -> retval
Link to this function

maxTexture2DGather(named_args)

View Source
@spec maxTexture2DGather(Keyword.t()) :: any() | {:error, String.t()}
@spec maxTexture2DGather(t()) :: {integer(), integer()} | {:error, String.t()}

maxTexture2DGather

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: Vec2i

Python prototype (for reference only):

maxTexture2DGather() -> retval
Link to this function

maxTexture2DLayered(named_args)

View Source
@spec maxTexture2DLayered(Keyword.t()) :: any() | {:error, String.t()}
@spec maxTexture2DLayered(t()) ::
  {integer(), integer(), integer()} | {:error, String.t()}

maxTexture2DLayered

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: Vec3i

Python prototype (for reference only):

maxTexture2DLayered() -> retval
Link to this function

maxTexture2DLinear(named_args)

View Source
@spec maxTexture2DLinear(Keyword.t()) :: any() | {:error, String.t()}
@spec maxTexture2DLinear(t()) ::
  {integer(), integer(), integer()} | {:error, String.t()}

maxTexture2DLinear

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: Vec3i

Python prototype (for reference only):

maxTexture2DLinear() -> retval
Link to this function

maxTexture2DMipmap(named_args)

View Source
@spec maxTexture2DMipmap(Keyword.t()) :: any() | {:error, String.t()}
@spec maxTexture2DMipmap(t()) :: {integer(), integer()} | {:error, String.t()}

maxTexture2DMipmap

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: Vec2i

Python prototype (for reference only):

maxTexture2DMipmap() -> retval
Link to this function

maxTexture3D(named_args)

View Source
@spec maxTexture3D(Keyword.t()) :: any() | {:error, String.t()}
@spec maxTexture3D(t()) :: {integer(), integer(), integer()} | {:error, String.t()}

maxTexture3D

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: Vec3i

Python prototype (for reference only):

maxTexture3D() -> retval
Link to this function

maxTextureCubemap(named_args)

View Source
@spec maxTextureCubemap(Keyword.t()) :: any() | {:error, String.t()}
@spec maxTextureCubemap(t()) :: integer() | {:error, String.t()}

maxTextureCubemap

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: integer()

Python prototype (for reference only):

maxTextureCubemap() -> retval
Link to this function

maxTextureCubemapLayered(named_args)

View Source
@spec maxTextureCubemapLayered(Keyword.t()) :: any() | {:error, String.t()}
@spec maxTextureCubemapLayered(t()) :: {integer(), integer()} | {:error, String.t()}

maxTextureCubemapLayered

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: Vec2i

Python prototype (for reference only):

maxTextureCubemapLayered() -> retval
Link to this function

maxThreadsDim(named_args)

View Source
@spec maxThreadsDim(Keyword.t()) :: any() | {:error, String.t()}
@spec maxThreadsDim(t()) :: {integer(), integer(), integer()} | {:error, String.t()}

maxThreadsDim

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: Vec3i

Python prototype (for reference only):

maxThreadsDim() -> retval
Link to this function

maxThreadsPerBlock(named_args)

View Source
@spec maxThreadsPerBlock(Keyword.t()) :: any() | {:error, String.t()}
@spec maxThreadsPerBlock(t()) :: integer() | {:error, String.t()}

maxThreadsPerBlock

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: integer()

Python prototype (for reference only):

maxThreadsPerBlock() -> retval
Link to this function

maxThreadsPerMultiProcessor(named_args)

View Source
@spec maxThreadsPerMultiProcessor(Keyword.t()) :: any() | {:error, String.t()}
@spec maxThreadsPerMultiProcessor(t()) :: integer() | {:error, String.t()}

maxThreadsPerMultiProcessor

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: integer()

Python prototype (for reference only):

maxThreadsPerMultiProcessor() -> retval
Link to this function

memoryBusWidth(named_args)

View Source
@spec memoryBusWidth(Keyword.t()) :: any() | {:error, String.t()}
@spec memoryBusWidth(t()) :: integer() | {:error, String.t()}

memoryBusWidth

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: integer()

Python prototype (for reference only):

memoryBusWidth() -> retval
Link to this function

memoryClockRate(named_args)

View Source
@spec memoryClockRate(Keyword.t()) :: any() | {:error, String.t()}
@spec memoryClockRate(t()) :: integer() | {:error, String.t()}

memoryClockRate

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: integer()

Python prototype (for reference only):

memoryClockRate() -> retval
@spec memPitch(Keyword.t()) :: any() | {:error, String.t()}
@spec memPitch(t()) :: integer() | {:error, String.t()}

memPitch

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: size_t

Python prototype (for reference only):

memPitch() -> retval
Link to this function

minorVersion(named_args)

View Source
@spec minorVersion(Keyword.t()) :: any() | {:error, String.t()}
@spec minorVersion(t()) :: integer() | {:error, String.t()}

minorVersion

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: integer()

Python prototype (for reference only):

minorVersion() -> retval
Link to this function

multiProcessorCount(named_args)

View Source
@spec multiProcessorCount(Keyword.t()) :: any() | {:error, String.t()}
@spec multiProcessorCount(t()) :: integer() | {:error, String.t()}

multiProcessorCount

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: integer()

Python prototype (for reference only):

multiProcessorCount() -> retval
@spec pciBusID(Keyword.t()) :: any() | {:error, String.t()}
@spec pciBusID(t()) :: integer() | {:error, String.t()}

pciBusID

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: integer()

Python prototype (for reference only):

pciBusID() -> retval
@spec pciDeviceID(Keyword.t()) :: any() | {:error, String.t()}
@spec pciDeviceID(t()) :: integer() | {:error, String.t()}

pciDeviceID

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: integer()

Python prototype (for reference only):

pciDeviceID() -> retval
@spec pciDomainID(Keyword.t()) :: any() | {:error, String.t()}
@spec pciDomainID(t()) :: integer() | {:error, String.t()}

pciDomainID

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: integer()

Python prototype (for reference only):

pciDomainID() -> retval
@spec queryMemory(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

queryMemory(self, totalMemory, freeMemory)

View Source
@spec queryMemory(t(), integer(), integer()) :: t() | {:error, String.t()}

queryMemory

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
  • totalMemory: size_t
  • freeMemory: size_t

Python prototype (for reference only):

queryMemory(totalMemory, freeMemory) -> None
Link to this function

regsPerBlock(named_args)

View Source
@spec regsPerBlock(Keyword.t()) :: any() | {:error, String.t()}
@spec regsPerBlock(t()) :: integer() | {:error, String.t()}

regsPerBlock

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: integer()

Python prototype (for reference only):

regsPerBlock() -> retval
Link to this function

sharedMemPerBlock(named_args)

View Source
@spec sharedMemPerBlock(Keyword.t()) :: any() | {:error, String.t()}
@spec sharedMemPerBlock(t()) :: integer() | {:error, String.t()}

sharedMemPerBlock

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: size_t

Python prototype (for reference only):

sharedMemPerBlock() -> retval
Link to this function

surfaceAlignment(named_args)

View Source
@spec surfaceAlignment(Keyword.t()) :: any() | {:error, String.t()}
@spec surfaceAlignment(t()) :: integer() | {:error, String.t()}

surfaceAlignment

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: size_t

Python prototype (for reference only):

surfaceAlignment() -> retval
@spec tccDriver(Keyword.t()) :: any() | {:error, String.t()}
@spec tccDriver(t()) :: boolean() | {:error, String.t()}

tccDriver

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: bool

Python prototype (for reference only):

tccDriver() -> retval
Link to this function

textureAlignment(named_args)

View Source
@spec textureAlignment(Keyword.t()) :: any() | {:error, String.t()}
@spec textureAlignment(t()) :: integer() | {:error, String.t()}

textureAlignment

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: size_t

Python prototype (for reference only):

textureAlignment() -> retval
Link to this function

texturePitchAlignment(named_args)

View Source
@spec texturePitchAlignment(Keyword.t()) :: any() | {:error, String.t()}
@spec texturePitchAlignment(t()) :: integer() | {:error, String.t()}

texturePitchAlignment

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: size_t

Python prototype (for reference only):

texturePitchAlignment() -> retval
Link to this function

totalConstMem(named_args)

View Source
@spec totalConstMem(Keyword.t()) :: any() | {:error, String.t()}
@spec totalConstMem(t()) :: integer() | {:error, String.t()}

totalConstMem

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: size_t

Python prototype (for reference only):

totalConstMem() -> retval
Link to this function

totalGlobalMem(named_args)

View Source
@spec totalGlobalMem(Keyword.t()) :: any() | {:error, String.t()}
@spec totalGlobalMem(t()) :: integer() | {:error, String.t()}

totalGlobalMem

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: size_t

Python prototype (for reference only):

totalGlobalMem() -> retval
@spec totalMemory(Keyword.t()) :: any() | {:error, String.t()}
@spec totalMemory(t()) :: integer() | {:error, String.t()}

totalMemory

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: size_t

Python prototype (for reference only):

totalMemory() -> retval
Link to this function

unifiedAddressing(named_args)

View Source
@spec unifiedAddressing(Keyword.t()) :: any() | {:error, String.t()}
@spec unifiedAddressing(t()) :: boolean() | {:error, String.t()}

unifiedAddressing

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: bool

Python prototype (for reference only):

unifiedAddressing() -> retval
@spec warpSize(Keyword.t()) :: any() | {:error, String.t()}
@spec warpSize(t()) :: integer() | {:error, String.t()}

warpSize

Positional Arguments
  • self: Evision.CUDA.DeviceInfo.t()
Return
  • retval: integer()

Python prototype (for reference only):

warpSize() -> retval