LSLab
Macros | Functions
lslab.h File Reference
#include <cstdio>
Include dependency graph for lslab.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LSLAB_HOST   inline
 
#define LSLAB_DEVICE   inline
 
#define LSLAB_HOST_DEVICE   inline
 
#define gpuErrchk(ans)    { lslab::gpuAssert_slab((ans), __FILE__, __LINE__); }
 

Functions

LSLAB_HOST void lslab::gpuAssert_slab (cudaError_t code, const char *file, int line, bool abort=true)
 Assertion function to assert cuda is sucessful.