cuda-memscrub

scrubs the global device memory of CUDA GPUs
git clone git://src.adamsgaard.dk/cuda-memscrub # fast
git clone https://src.adamsgaard.dk/cuda-memscrub.git # slow
Log | Files | Refs | README | LICENSE Back to index

utility.cuh (343B)


      1 // Avoiding multiple inclusions of header file
      2 #ifndef UTILITY_CUH_
      3 #define UTILITY_CUH_
      4 
      5 void checkForCudaErrors(const char* checkpoint_description);
      6 void checkForCudaErrors(const char* checkpoint_description, int iteration);
      7 unsigned int iDivUp(unsigned int a, unsigned int b);
      8 
      9 #endif
     10 // vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4