View Source Evision.CUDA.DeviceInfo (Evision v0.2.9)
Summary
Functions
asyncEngineCount
canMapHostMemory
clockRate
computeMode
concurrentKernels
Returns system index of the CUDA device starting with 0.
DeviceInfo
The constructors.
ECCEnabled
freeMemory
integrated
Checks the CUDA module and device compatibility.
kernelExecTimeoutEnabled
l2CacheSize
majorVersion
maxGridSize
maxSurface1D
maxSurface1DLayered
maxSurface2D
maxSurface2DLayered
maxSurface3D
maxSurfaceCubemap
maxSurfaceCubemapLayered
maxTexture1D
maxTexture1DLayered
maxTexture1DLinear
maxTexture1DMipmap
maxTexture2D
maxTexture2DGather
maxTexture2DLayered
maxTexture2DLinear
maxTexture2DMipmap
maxTexture3D
maxTextureCubemap
maxTextureCubemapLayered
maxThreadsDim
maxThreadsPerBlock
maxThreadsPerMultiProcessor
memoryBusWidth
memoryClockRate
memPitch
minorVersion
multiProcessorCount
pciBusID
pciDeviceID
pciDomainID
queryMemory
regsPerBlock
sharedMemPerBlock
surfaceAlignment
tccDriver
textureAlignment
texturePitchAlignment
totalConstMem
totalGlobalMem
totalMemory
unifiedAddressing
warpSize
Types
@type t() :: %Evision.CUDA.DeviceInfo{ref: reference()}
Type that represents an CUDA.DeviceInfo
struct.
ref.
reference()
The underlying erlang resource variable.
Functions
@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
@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
@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
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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
queryMemory
Positional Arguments
- self:
Evision.CUDA.DeviceInfo.t()
- totalMemory:
size_t
- freeMemory:
size_t
Python prototype (for reference only):
queryMemory(totalMemory, freeMemory) -> None
@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
@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
@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
@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
@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
@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
@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