Multimodal-Calib
Code for performing 3D-2D and 2D-2D multimodal calibration
 All Classes Functions Variables
reduction.h
1 /*
2  * Copyright 1993-2012 NVIDIA Corporation. All rights reserved.
3  *
4  * Please refer to the NVIDIA end user license agreement (EULA) associated
5  * with this source code for terms and conditions that govern your use of
6  * this software. Any use, reproduction, disclosure, or distribution of
7  * this software and related documentation outside the terms of the EULA
8  * is strictly prohibited.
9  *
10  */
11 
12 #ifndef __REDUCTION_H__
13 #define __REDUCTION_H__
14 
15 #include "common.h"
16 
18 
23 float reduceEasy(float* d_idata, int size, cudaStream_t stream, float* tempMemD, float* tempMemH);
24 
26 template <class T>
27 void reduce(int size, int threads, int blocks,
28  int whichKernel, T *d_idata, T *d_odata, cudaStream_t stream);
29 
30 #endif