Skip to content
Snippets Groups Projects
Commit b06332f8 authored by Eric Wait's avatar Eric Wait
Browse files

Rearranged Defines

parent d7747daa
No related branches found
No related tags found
Loading
#pragma once
//Percent of memory that can be used on the device
const double MAX_MEM_AVAIL = 0.95;
#define NUM_BINS (256)
#define MAX_KERNEL_DIM (25)
#define CONST_KERNEL_NUM_EL (MAX_KERNEL_DIM*MAX_KERNEL_DIM*MAX_KERNEL_DIM)
......@@ -14,9 +17,6 @@
#define SIGN(x) (((x)>0) ? (1) : (((x)<0.000001 || (x)>-0.00001) ? (0) : (-1)))
#define CLAMP(val,minVal,maxVal) ((val>=maxVal) ? (maxVal) : ((val<=minVal) ? (minVal) : (val)))
//Percent of memory that can be used on the device
const double MAX_MEM_AVAIL = 0.95;
enum ReductionMethods
{
REDUC_MEAN, REDUC_MEDIAN, REDUC_MIN, REDUC_MAX, REDUC_GAUS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment