include/ff/stencilReduceOCL.hpp
// the task is provided in the constructor -- one shot computation
the task is provided in the constructor -- one shot computation
the task is provided in the constructor -- one shot computation
ff_stencilReduceLoopOCL_2D(const T &task,
	                               const std::string &mapf,
	                               const std::string &reducef = std::string(""),
	                               const Tout &identityVal = Tout(),
	                               ff_oclallocator *allocator = nullptr,
	                               const size_t NACCELERATORS = 1,
								   const int stencil_width_half_ = 1,
								   const int stencil_height_half_ = 1) :
	                            	   base_srl_t(task, mapf, reducef, identityVal, allocator, NACCELERATORS, 0),
                                       stencil_width_half(stencil_width_half_),stencil_height_half(stencil_height_half_) {}
ff_stencilReduceLoopOCL_2D ( const T & task , const std :: string & mapf , const std :: string & reducef = std :: string ( " " ) , const Tout & identityVal = Tout ( ) , ff_oclallocator * allocator = nullptr , const size_t NACCELERATORS = 1 , const int stencil_width_half_ = 1 , const int stencil_height_half_ = 1 ) : base_srl_t ( task , mapf , reducef , identityVal , allocator , NACCELERATORS , 0 ) , stencil_width_half ( stencil_width_half_ ) , stencil_height_half ( stencil_height_half_ ) { }
the task is provided in the constructor -- one shot computation
the task is provided in the constructor -- one shot computation
//init srl 1D with no halo (1D halo depends on 2D width)