Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of gr-peach-opencv-project-sd-card by
TargetArchs Class Reference
[Initalization and Information]
Class providing a set of static methods to check what NVIDIA\* card architecture the CUDA module was built for. More...
#include <cuda.hpp>
Static Public Member Functions | |
static bool | builtWith (FeatureSet feature_set) |
The following method checks whether the module was built with the support of the given feature: | |
static bool | has (int major, int minor) |
There is a set of methods to check whether the module contains intermediate (PTX) or binary CUDA code for the given architecture(s): |
Detailed 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".
Definition at line 602 of file cuda.hpp.
Member Function Documentation
bool builtWith | ( | FeatureSet | feature_set ) | [static] |
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.
Definition at line 228 of file cuda_info.cpp.
static bool has | ( | int | major, |
int | minor | ||
) | [static] |
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.
Generated on Tue Jul 12 2022 14:48:02 by
