View Source Evision.CUDA.TargetArchs (Evision v0.2.9)
Summary
Functions
There is a set of methods to check whether the module contains intermediate (PTX) or binary CUDA code for the given architecture(s)
hasBin
hasEqualOrGreater
hasEqualOrGreaterBin
hasEqualOrGreaterPtx
hasEqualOrLessPtx
hasPtx
Types
@type t() :: %Evision.CUDA.TargetArchs{ref: reference()}
Type that represents an CUDA.TargetArchs
struct.
ref.
reference()
The underlying erlang resource variable.
Functions
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:
integer()
.Major compute capability version.
minor:
integer()
.Minor compute capability version.
Return
- retval:
bool
Python prototype (for reference only):
has(major, minor) -> retval
hasBin
Positional Arguments
- major:
integer()
- minor:
integer()
Return
- retval:
bool
Python prototype (for reference only):
hasBin(major, minor) -> retval
hasEqualOrGreater
Positional Arguments
- major:
integer()
- minor:
integer()
Return
- retval:
bool
Python prototype (for reference only):
hasEqualOrGreater(major, minor) -> retval
hasEqualOrGreaterBin
Positional Arguments
- major:
integer()
- minor:
integer()
Return
- retval:
bool
Python prototype (for reference only):
hasEqualOrGreaterBin(major, minor) -> retval
hasEqualOrGreaterPtx
Positional Arguments
- major:
integer()
- minor:
integer()
Return
- retval:
bool
Python prototype (for reference only):
hasEqualOrGreaterPtx(major, minor) -> retval
hasEqualOrLessPtx
Positional Arguments
- major:
integer()
- minor:
integer()
Return
- retval:
bool
Python prototype (for reference only):
hasEqualOrLessPtx(major, minor) -> retval
hasPtx
Positional Arguments
- major:
integer()
- minor:
integer()
Return
- retval:
bool
Python prototype (for reference only):
hasPtx(major, minor) -> retval