SpikeGPU  1.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
common.h File Reference
#include <assert.h>

Go to the source code of this file.

Namespaces

 spike
 spike is the top-level namespace which contains all Spike functions and types.
 

Macros

#define ALWAYS_ASSERT
 
#define BURST_VALUE   (1e-7)
 
#define BURST_NEW_VALUE   (1e-4)
 

Enumerations

enum  spike::KrylovSolverType { spike::BiCGStab, spike::BiCGStab2 }
 
enum  spike::FactorizationMethod { spike::LU_UL, spike::LU_only }
 
enum  spike::PreconditionerType { spike::Spike, spike::Block }
 

Functions

void spike::kernelConfigAdjust (int &numThreads, int &numBlockX, const int numThreadsMax)
 
void spike::kernelConfigAdjust (int &numThreads, int &numBlockX, int &numBlockY, const int numThreadsMax, const int numBlockXMax)
 

Variables

const unsigned int spike::BLOCK_SIZE = 512
 
const unsigned int spike::MAX_GRID_DIMENSION = 32768
 
const unsigned int spike::CRITICAL_THRESHOLD = 70
 

Macro Definition Documentation

#define ALWAYS_ASSERT
#define BURST_NEW_VALUE   (1e-4)
#define BURST_VALUE   (1e-7)