Lattice Microbes 2.5
This is for whole cell modeling
Loading...
Searching...
No Matches
MultiGPUMapper.h File Reference
#include <pthread.h>
#include "SegmentDescriptor.h"
Include dependency graph for MultiGPUMapper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MultiGPUMapper

Macros

#define POSDIM(_p, _d)
#define DIMSIZE(_d)
#define check_error()

Macro Definition Documentation

◆ check_error

#define check_error ( )
Value:
({ cudaError_t err=cudaGetLastError(); if(err!=cudaSuccess) { printf("Cuda error %s:%d: %s\n", __FILE__, __LINE__,cudaGetErrorString(err)); exit(1); } })

◆ DIMSIZE

#define DIMSIZE ( _d)
Value:
((_d).x*(_d).y*(_d).z)

◆ POSDIM

#define POSDIM ( _p,
_d )
Value:
((_p).x + (_p).y * (_d).x + (_p).z * (_d).x * (_d).y)