View Source Evision.CUDA.TargetArchs (Evision v0.1.21)

Link to this section Summary

Types

t()

Type that represents an Evision.CUDA.TargetArchs struct.

Functions

There is a set of methods to check whether the module contains intermediate (PTX) or binary CUDA code for the given architecture(s)

hasEqualOrGreaterBin

hasEqualOrGreaterPtx

Link to this section Types

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

Type that represents an Evision.CUDA.TargetArchs struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

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

There is a set of methods to check whether the module contains intermediate (PTX) or binary CUDA code for the given architecture(s):

Positional Arguments
  • major: int.

    Major compute capability version.

  • minor: int.

    Minor compute capability version.

Return
  • retval: bool

Python prototype (for reference only):

has(major, minor) -> retval
@spec hasBin(integer(), integer()) :: boolean() | {:error, String.t()}

hasBin

Positional Arguments
  • major: int
  • minor: int
Return
  • retval: bool

Python prototype (for reference only):

hasBin(major, minor) -> retval
Link to this function

hasEqualOrGreater(major, minor)

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

hasEqualOrGreater

Positional Arguments
  • major: int
  • minor: int
Return
  • retval: bool

Python prototype (for reference only):

hasEqualOrGreater(major, minor) -> retval
Link to this function

hasEqualOrGreaterBin(major, minor)

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

hasEqualOrGreaterBin

Positional Arguments
  • major: int
  • minor: int
Return
  • retval: bool

Python prototype (for reference only):

hasEqualOrGreaterBin(major, minor) -> retval
Link to this function

hasEqualOrGreaterPtx(major, minor)

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

hasEqualOrGreaterPtx

Positional Arguments
  • major: int
  • minor: int
Return
  • retval: bool

Python prototype (for reference only):

hasEqualOrGreaterPtx(major, minor) -> retval
Link to this function

hasEqualOrLessPtx(major, minor)

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

hasEqualOrLessPtx

Positional Arguments
  • major: int
  • minor: int
Return
  • retval: bool

Python prototype (for reference only):

hasEqualOrLessPtx(major, minor) -> retval
@spec hasPtx(integer(), integer()) :: boolean() | {:error, String.t()}

hasPtx

Positional Arguments
  • major: int
  • minor: int
Return
  • retval: bool

Python prototype (for reference only):

hasPtx(major, minor) -> retval