OpenCV 4.5.3(日本語機械翻訳)
静的公開メンバ関数 | 全メンバ一覧

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

#include <cuda.hpp>

静的公開メンバ関数

static bool builtWith (FeatureSet feature_set)
以下のメソッドは、モジュールが指定された機能をサポートしてビルドされたかどうかをチェックします。[【詳解】(英語]
static CV_WRAP bool has (int major, int minor)
モジュールが与えられたアーキテクチャ(複数可)の中間コード(PTX)やバイナリCUDAコードを含んでいるかどうかをチェックするメソッドのセットがあります。[【詳解】(英語]
static CV_WRAP bool hasPtx (int major, int minor)
static CV_WRAP bool hasBin (int major, int minor)
static CV_WRAP bool hasEqualOrLessPtx (int major, int minor)
static CV_WRAP bool hasEqualOrGreater (int major, int minor)
static CV_WRAP bool hasEqualOrGreaterPtx (int major, int minor)
static CV_WRAP bool hasEqualOrGreaterBin (int major, int minor)

詳解

CUDAモジュールがどのNVIDIA*カードアーキテクチャ用にビルドされたかをチェックする一連のスタティックメソッドを提供するクラス。

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".

関数詳解

builtWith()

static bool cv::cuda::TargetArchs::builtWith ( FeatureSet feature_set )
static

以下のメソッドは、モジュールが指定された機能をサポートしてビルドされたかどうかをチェックします。

引数
feature_set チェックされる機能。See :ocvcuda::FeatureSet.

has()

static CV_WRAP bool cv::cuda::TargetArchs::has ( int major,
int minor
)
static

モジュールが与えられたアーキテクチャ(複数可)の中間コード(PTX)やバイナリCUDAコードを含んでいるかどうかをチェックするメソッドのセットがあります。

引数
major メジャーコンピュートケイパビリティバージョン。
minor マイナーコンピュートケイパビリティバージョン

このクラス詳解は次のファイルから抽出されました: