67 template<u
int32_t T_dim>
70 std::array<uint32_t, T_dim> res;
87 template<u
int32_t T_dim>
90 std::array<uint32_t, T_dim> res;
115 s <<
"name: " << p.
name <<
"\n";
117 s <<
"warpSize: " << p.
warpSize <<
"\n";
Functionality which is usable on the host CPU controller thread.
std::ostream & operator<<(std::ostream &s, DeviceProperties const &p)
Vec< uint32_t, T_dim > getMaxBlocksPerGrid() const
Maximum number of blocks within a grid for each dimension.
std::function< void(uint32_t *result, uint32_t numDims)> fnMaxBlocksPerGrid
function to fill maximum number of blocks within a grid per dimension
Vec< uint32_t, T_dim > getMaxThreadsPerBlock() const
Maximum number of threads within a thread block for each dimension.
uint32_t maxThreadsPerBlock
The maximum total number of threads per thread block.
uint32_t multiProcessorCount
The number of multiprocessors.
uint32_t maxBlocksPerGrid
The maximum total number of blocks within a grid.
std::function< void(uint32_t *result, uint32_t numDims)> fnMaxThreadsPerBlock
function to fill maximum number of threads per block per dimension
size_t globalMemCapacityBytes
The total amount of global device memory in bytes.
uint32_t warpSize
The warp size.
std::string name
The name of the device.
uint32_t sharedMemPerBlockBytes
The amount of shared memory per thread block in bytes.