STORMM Source Documentation
Loading...
Searching...
No Matches
stormm::card::KernelManager Class Reference

Parent class for other kernel managers, incorporating the common dictionary of kernel keys and GPU details. More...

#include <kernel_format.h>

Inheritance diagram for stormm::card::KernelManager:
Collaboration diagram for stormm::card::KernelManager:

Public Member Functions

const GpuDetailsgetGpu () const
 Get the GPU information for the active GPU.
 
void printLaunchParameters (const std::string &k_key=std::string(""), const char *true_class_name=generic_kernel_manager_name) const
 Print out the kernel launch parameters found for this workload.
 

Protected Member Functions

 KernelManager (const GpuDetails &gpu_in=null_gpu)
 The constructor for this base class takes the GPU specifications.
 
virtual ~KernelManager ()
 A virtual destructor ensures proper behavior in the destructors of derived classes for managing particular groups of kernels.
 

Protected Attributes

GpuDetails gpu
 The details of the GPU in use are simply copied into this object.
 
std::map< std::string, KernelFormatk_dictionary
 

Detailed Description

Parent class for other kernel managers, incorporating the common dictionary of kernel keys and GPU details.

Member Function Documentation

◆ printLaunchParameters()

void stormm::card::KernelManager::printLaunchParameters ( const std::string & k_key = std::string(""),
const char * true_class_name = generic_kernel_manager_name ) const

Print out the kernel launch parameters found for this workload.

Parameters
k_keyIdentifier string of the kernel for which to print the parameters (if blank, no kernels' parameters will be printed, and if "ALL" (case-insensitive), all kernels' parameters will be printed)

Member Data Documentation

◆ k_dictionary

std::map<std::string, KernelFormat> stormm::card::KernelManager::k_dictionary
protected

Store the resource requirements and selected launch parameters for a variety of kernels. Keys are determined according to the free functions further on in this library.


The documentation for this class was generated from the following files: