cudadefs.h File Reference

#include <math.h>
Include dependency graph for cudadefs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  float3_t
 Structure to handle 3 dimensional float. More...
struct  float4_t
 Structure to handle 4 dimensional float. More...

Defines

#define IMUL(a, b)   __mul24(a, b)
#define MAX_CUDA_DEVICES   4
#define CUDA_TILE_W   16
#define CUDA_TILE_H   16
#define CUDA_1D_TILE_W   256
#define PI   3.14159265358979f
#define IDIVUP(a, b)   ((a % b != 0) ? (a / b + 1) : (a / b))
#define MIN(a, b)   ((a<b) ? a : b)
#define MAX(a, b)   ((a>b) ? a : b)

Functions

int iDivUp (int a, int b)

Detailed Description

CUDA/GPU definitions

Definition in file cudadefs.h.

Generated on Sun May 8 08:42:39 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3