1#ifndef PSPG_THREADGRID_H
2#define PSPG_THREADGRID_H
File containing preprocessor macros for error handling.
bool hasUnusedThreads()
Indicates whether there will be unused threads.
int nThreadsLogical()
Return previously requested total number of threads.
int nThreads()
Get the number of threads per block for execution.
int nBlocks()
Get the current number of blocks for execution.
void setThreadsPerBlock()
Set the number of threads per block to a default value.
void checkExecutionConfig()
Check the execution configuration (threads and block counts).
void setThreadsLogical(int nThreadsLogical)
Set the total number of threads required for execution.
void init()
Initialize static variables in Pspg::ThreadGrid namespace.
C++ namespace for polymer self-consistent field theory (PSCF).