View Source Evision.OCL.Device (Evision v0.1.21)

Link to this section Summary

Types

t()

Type that represents an Evision.OCL.Device struct.

Functions

addressBits

available

compilerAvailable

Device

deviceVersionMajor

deviceVersionMinor

doubleFPConfig

driverVersion

endianLittle

errorCorrectionSupport

executionCapabilities

extensions

getDefault

globalMemCacheLineSize

globalMemCacheSize

globalMemCacheType

globalMemSize

halfFPConfig

hostUnifiedMemory

image2DMaxHeight

image2DMaxWidth

image3DMaxDepth

image3DMaxHeight

image3DMaxWidth

imageFromBufferSupport

imageMaxArraySize

imageMaxBufferSize

imageSupport

intelSubgroupsSupport

isAMD

isIntel

isNVidia

linkerAvailable

localMemSize

localMemType

maxClockFrequency

maxComputeUnits

maxConstantArgs

maxConstantBufferSize

maxMemAllocSize

maxParameterSize

maxReadImageArgs

maxSamplers

maxWorkGroupSize

maxWorkItemDims

maxWriteImageArgs

memBaseAddrAlign

name

nativeVectorWidthChar

nativeVectorWidthDouble

nativeVectorWidthFloat

nativeVectorWidthHalf

nativeVectorWidthInt

nativeVectorWidthLong

nativeVectorWidthShort

OpenCL_C_Version

OpenCLVersion

preferredVectorWidthChar

preferredVectorWidthDouble

preferredVectorWidthFloat

preferredVectorWidthHalf

preferredVectorWidthInt

preferredVectorWidthLong

preferredVectorWidthShort

printfBufferSize

profilingTimerResolution

singleFPConfig

type

vendorID

vendorName

version

Link to this section Types

@type t() :: %Evision.OCL.Device{ref: reference()}

Type that represents an Evision.OCL.Device struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

@spec addressBits(t()) :: integer() | {:error, String.t()}

addressBits

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

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

available

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: bool

Python prototype (for reference only):

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

compilerAvailable

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: bool

Python prototype (for reference only):

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

Device

Return

Python prototype (for reference only):

Device() -> <ocl_Device object>
Link to this function

deviceVersionMajor(self)

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

deviceVersionMajor

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

deviceVersionMajor() -> retval
Link to this function

deviceVersionMinor(self)

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

deviceVersionMinor

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

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

doubleFPConfig

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

doubleFPConfig() -> retval
@spec driverVersion(t()) :: binary() | {:error, String.t()}

driverVersion

Positional Arguments
  • self: Evision.OCL.Device.t()
Return

Python prototype (for reference only):

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

endianLittle

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: bool

Python prototype (for reference only):

endianLittle() -> retval
Link to this function

errorCorrectionSupport(self)

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

errorCorrectionSupport

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: bool

Python prototype (for reference only):

errorCorrectionSupport() -> retval
Link to this function

executionCapabilities(self)

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

executionCapabilities

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

executionCapabilities() -> retval
@spec extensions(t()) :: binary() | {:error, String.t()}

extensions

Positional Arguments
  • self: Evision.OCL.Device.t()
Return

Python prototype (for reference only):

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

getDefault

Return

Python prototype (for reference only):

getDefault() -> retval
Link to this function

globalMemCacheLineSize(self)

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

globalMemCacheLineSize

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

globalMemCacheLineSize() -> retval
Link to this function

globalMemCacheSize(self)

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

globalMemCacheSize

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: size_t

Python prototype (for reference only):

globalMemCacheSize() -> retval
Link to this function

globalMemCacheType(self)

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

globalMemCacheType

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

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

globalMemSize

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: size_t

Python prototype (for reference only):

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

halfFPConfig

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

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

hostUnifiedMemory

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: bool

Python prototype (for reference only):

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

image2DMaxHeight

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: size_t

Python prototype (for reference only):

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

image2DMaxWidth

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: size_t

Python prototype (for reference only):

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

image3DMaxDepth

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: size_t

Python prototype (for reference only):

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

image3DMaxHeight

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: size_t

Python prototype (for reference only):

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

image3DMaxWidth

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: size_t

Python prototype (for reference only):

image3DMaxWidth() -> retval
Link to this function

imageFromBufferSupport(self)

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

imageFromBufferSupport

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: bool

Python prototype (for reference only):

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

imageMaxArraySize

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: size_t

Python prototype (for reference only):

imageMaxArraySize() -> retval
Link to this function

imageMaxBufferSize(self)

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

imageMaxBufferSize

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: size_t

Python prototype (for reference only):

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

imageSupport

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: bool

Python prototype (for reference only):

imageSupport() -> retval
Link to this function

intelSubgroupsSupport(self)

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

intelSubgroupsSupport

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: bool

Python prototype (for reference only):

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

isAMD

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: bool

Python prototype (for reference only):

isAMD() -> retval
Link to this function

isExtensionSupported(self, extensionName)

View Source
@spec isExtensionSupported(t(), binary()) :: boolean() | {:error, String.t()}

isExtensionSupported

Positional Arguments
  • self: Evision.OCL.Device.t()
  • extensionName: String
Return
  • retval: bool

Python prototype (for reference only):

isExtensionSupported(extensionName) -> retval
@spec isIntel(t()) :: boolean() | {:error, String.t()}

isIntel

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: bool

Python prototype (for reference only):

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

isNVidia

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: bool

Python prototype (for reference only):

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

linkerAvailable

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: bool

Python prototype (for reference only):

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

localMemSize

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: size_t

Python prototype (for reference only):

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

localMemType

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

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

maxClockFrequency

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

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

maxComputeUnits

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

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

maxConstantArgs

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

maxConstantArgs() -> retval
Link to this function

maxConstantBufferSize(self)

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

maxConstantBufferSize

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: size_t

Python prototype (for reference only):

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

maxMemAllocSize

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: size_t

Python prototype (for reference only):

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

maxParameterSize

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: size_t

Python prototype (for reference only):

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

maxReadImageArgs

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

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

maxSamplers

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

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

maxWorkGroupSize

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: size_t

Python prototype (for reference only):

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

maxWorkItemDims

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

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

maxWriteImageArgs

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

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

memBaseAddrAlign

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

memBaseAddrAlign() -> retval
@spec name(t()) :: binary() | {:error, String.t()}

name

Positional Arguments
  • self: Evision.OCL.Device.t()
Return

Python prototype (for reference only):

name() -> retval
Link to this function

nativeVectorWidthChar(self)

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

nativeVectorWidthChar

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

nativeVectorWidthChar() -> retval
Link to this function

nativeVectorWidthDouble(self)

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

nativeVectorWidthDouble

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

nativeVectorWidthDouble() -> retval
Link to this function

nativeVectorWidthFloat(self)

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

nativeVectorWidthFloat

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

nativeVectorWidthFloat() -> retval
Link to this function

nativeVectorWidthHalf(self)

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

nativeVectorWidthHalf

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

nativeVectorWidthHalf() -> retval
Link to this function

nativeVectorWidthInt(self)

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

nativeVectorWidthInt

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

nativeVectorWidthInt() -> retval
Link to this function

nativeVectorWidthLong(self)

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

nativeVectorWidthLong

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

nativeVectorWidthLong() -> retval
Link to this function

nativeVectorWidthShort(self)

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

nativeVectorWidthShort

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

nativeVectorWidthShort() -> retval
@spec openCL_C_Version(t()) :: binary() | {:error, String.t()}

OpenCL_C_Version

Positional Arguments
  • self: Evision.OCL.Device.t()
Return

Python prototype (for reference only):

OpenCL_C_Version() -> retval
@spec openCLVersion(t()) :: binary() | {:error, String.t()}

OpenCLVersion

Positional Arguments
  • self: Evision.OCL.Device.t()
Return

Python prototype (for reference only):

OpenCLVersion() -> retval
Link to this function

preferredVectorWidthChar(self)

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

preferredVectorWidthChar

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

preferredVectorWidthChar() -> retval
Link to this function

preferredVectorWidthDouble(self)

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

preferredVectorWidthDouble

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

preferredVectorWidthDouble() -> retval
Link to this function

preferredVectorWidthFloat(self)

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

preferredVectorWidthFloat

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

preferredVectorWidthFloat() -> retval
Link to this function

preferredVectorWidthHalf(self)

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

preferredVectorWidthHalf

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

preferredVectorWidthHalf() -> retval
Link to this function

preferredVectorWidthInt(self)

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

preferredVectorWidthInt

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

preferredVectorWidthInt() -> retval
Link to this function

preferredVectorWidthLong(self)

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

preferredVectorWidthLong

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

preferredVectorWidthLong() -> retval
Link to this function

preferredVectorWidthShort(self)

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

preferredVectorWidthShort

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

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

printfBufferSize

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: size_t

Python prototype (for reference only):

printfBufferSize() -> retval
Link to this function

profilingTimerResolution(self)

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

profilingTimerResolution

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: size_t

Python prototype (for reference only):

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

singleFPConfig

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

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

type

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

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

vendorID

Positional Arguments
  • self: Evision.OCL.Device.t()
Return
  • retval: int

Python prototype (for reference only):

vendorID() -> retval
@spec vendorName(t()) :: binary() | {:error, String.t()}

vendorName

Positional Arguments
  • self: Evision.OCL.Device.t()
Return

Python prototype (for reference only):

vendorName() -> retval
@spec version(t()) :: binary() | {:error, String.t()}

version

Positional Arguments
  • self: Evision.OCL.Device.t()
Return

Python prototype (for reference only):

version() -> retval