Struct opencv::core::TargetArchs

source ·
pub struct TargetArchs { /* private fields */ }
Expand description

Class providing a set of static methods to check what NVIDIA* card architecture the CUDA module was built for.

According to the CUDA C Programming Guide Version 3.2: “PTX code produced for some specific compute capability can always be compiled to binary code of greater or equal compute capability”.

Implementations

The following method checks whether the module was built with the support of the given feature:

Parameters
  • feature_set: Features to be checked. See :ocvcuda::FeatureSet.

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

Parameters
  • major: Major compute capability version.
  • minor: Minor compute capability version.

Trait Implementations

Wrap the specified raw pointer Read more
Return an the underlying raw pointer while consuming this wrapper. Read more
Return the underlying raw pointer. Read more
Return the underlying mutable raw pointer Read more
Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.