#ifndef __MYREDUCTION_H__
#define __MYREDUCTION_H__

enum ReduceType
{
    REDUCE_INT,
    REDUCE_FLOAT,
    REDUCE_DOUBLE
};

#define MAX_BLOCK_DIM_SIZE 65535

void getNumBlocksAndThreads(int n, int maxBlocks, int maxThreads, int &blocks, int &threads);
      
#endif
