5 #include "ComputeCapability.h"
7 namespace isce3 {
namespace cuda {
namespace core {
25 int id() const noexcept {
return _id; }
28 std::string
name()
const;
38 return lhs.id() == rhs.id();
43 return not(lhs == rhs);
57 void setDevice(Device d);
ComputeCapability computeCapability() const
Get the compute capability.
Device(int id)
Construct a new Device object.
CUDA device compute capability.
Definition: ComputeCapability.h:14
A CUDA-enabled device.
Definition: Device.h:10
std::string name() const
Return a string identifying the device.
size_t totalGlobalMem() const
Get the total global memory capacity in bytes.
int id() const noexcept
Return the (0-based) device index.
Definition: Device.h:25