Namespace: Rx::LFR – Class: CCudaDevice – Header: Rx.LFR/CudaDevice.h

CCudaDevice::HasComputeCapability Method

C++
bool HasComputeCapability(unsigned uMajor, unsigned uMinor)

Queries if this CUDA device supports the given compute capability.

Parameters

[unsigned] uMajor

[in] The major part of the compute capability version.

[unsigned] uMinor

[in] The minor part of the compute capability version.

Returns

bool

True if this CUDA device supports the given compute capability, false if not.