Speclib  0.1.2
The library for writing better CUDA libraries
sp::BlockTraits< Ds > Struct Template Reference

Represents the dimensions of a CUDA block, in cases where this is constexpr. More...

#include <GridTraits.hpp>

Static Public Member Functions

constexpr static int NumThreads ()
 
constexpr static int NumWarps ()
 

Static Public Attributes

constexpr static int Rank = sizeof...(Ds)
 
static constexpr sp::Vec< int, Rank > Dims {Ds...}
 

Detailed Description

template<int... Ds>
struct sp::BlockTraits< Ds >

Represents the dimensions of a CUDA block, in cases where this is constexpr.