Speclib  0.1.2
The library for writing better CUDA libraries
Kernel Tools

Tools to help structure CUDA kernels. More...

Modules

 Grid Assumptions
 A system for telling the compiler about constant properties of your kernel grid.
 

Classes

class  sp::BlockChain1DKernel< Subclass, KGrid, blockStride >
 CRTP-base kernel providing software scheduling of virtual blocks, reducing loading overhead. More...
 
class  sp::Kernel< Subclass, GTraits >
 CRTP base class for kernels. More...
 
class  sp::StaticKernel< Subclass, Grid >
 In the special case where your Grid definition is fully constexpr, correct behaviour requires you to pass the same values to launch(s, dynamicSmem) and to the launch-bounds tparam of launch, which is very irritating. More...
 
struct  sp::LaunchBounds< MB, MBPM >
 Struct to represent CUDA launch bounds. More...
 

Typedefs

using sp::MaxThreads = LaunchBounds< MAX_THREADS_PER_BLOCK, MAX_BLOCKS_PER_MULTIPROCESSOR >
 The launch bounds that provide the maximum possible number of threads. More...
 

Detailed Description

Tools to help structure CUDA kernels.

Typedef Documentation

◆ MaxThreads

using sp::MaxThreads = typedef LaunchBounds<MAX_THREADS_PER_BLOCK, MAX_BLOCKS_PER_MULTIPROCESSOR>

The launch bounds that provide the maximum possible number of threads.