9 typedef long long int64_t;
22 # define NDEBUG_ACTIVE
43 #define BURST_VALUE (1e-7)
44 #define BURST_NEW_VALUE (1e-4)
72 if (numThreads > numThreadsMax) {
73 numBlockX = (numThreads + numThreadsMax - 1) / numThreadsMax;
74 numThreads = numThreadsMax;
79 void kernelConfigAdjust(
int &numThreads,
int &numBlockX,
int &numBlockY,
const int numThreadsMax,
const int numBlockXMax) {
81 if (numBlockX > numBlockXMax) {
82 numBlockY = (numBlockX + numBlockXMax - 1) / numBlockXMax;
83 numBlockX = numBlockXMax;
const unsigned int MAX_GRID_DIMENSION
Definition: common.h:51
KrylovSolverType
Definition: common.h:55
FactorizationMethod
Definition: common.h:60
PreconditionerType
Definition: common.h:65
const unsigned int CRITICAL_THRESHOLD
Definition: common.h:53
void kernelConfigAdjust(int &numThreads, int &numBlockX, const int numThreadsMax)
Definition: common.h:71
const unsigned int BLOCK_SIZE
Definition: common.h:49