15 #ifndef __IPSDKIMAGEPROCESSING_CUDASUBIMAGESPLITOPERATORS_H__ 16 #define __IPSDKIMAGEPROCESSING_CUDASUBIMAGESPLITOPERATORS_H__ 19 #include <IPSDKImageProcessing/DataSplit/SubImage/CudaSubImageSplit.h> 20 #include <IPSDKBaseProcessing/ProcessorDispatcher/Static/StaticProcessorDispatcher.h> 21 #include <IPSDKImage/Image/BaseImage.h> 23 #include <boost/make_shared.hpp> 24 #include <boost/utility/enable_if.hpp> 25 #include <boost/mpl/equal_to.hpp> 26 #include <boost/mpl/not_equal_to.hpp> 36 template <
typename TProcessor,
typename TAttribute>
37 inline boost::shared_ptr<CudaSubImageSplit<TProcessor, TAttribute> >
41 boost::shared_ptr<DataSplit> pDataSplit = boost::make_shared<DataSplit>();
52 template <
typename TProcessor,
typename TAttribute>
53 inline boost::shared_ptr<CudaSubImageSplit<TProcessor, TAttribute> >
57 boost::shared_ptr<DataSplit> pDataSplit = boost::make_shared<DataSplit>();
68 template <
typename TProcessor,
typename TAttribute,
typename TInputAttribute>
69 inline boost::shared_ptr<CudaSubImageSplit<TProcessor, TAttribute> >
70 splitGpu(
const boost::shared_ptr<TInputAttribute>& pInputAttribute)
72 return splitGpu<TProcessor, TAttribute>(pInputAttribute->getStorage());
82 #endif // __IPSDKIMAGEPROCESSING_CUDASUBIMAGESPLITOPERATORS_H__ Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Image splitted in on several GPU devices.
Definition: SubImageSplitTypes.h:48
boost::shared_ptr< CudaSubImageSplit< TProcessor, TAttribute > > splitGpu(const image::ImagePtr &pImage)
create a splitted image operation used for data dispatch on GPUs
Definition: CudaSubImageSplitOperators.h:38
boost::shared_ptr< BaseImage > ImagePtr
Definition: ImageTypes.h:139
boost::shared_ptr< const BaseImage > ImageConstPtr
Definition: ImageTypes.h:140
Definition: CudaImage.h:28
virtual BoolResult init(const BaseImageGeometry &geometry)
image initialization
Predefined operators for static data split used for data dispatch.
Class used to split image into sub images for data dispatch on NVidia graphic cards.
Definition: CudaSubImageSplit.h:36