ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ReductionCPU.cpp File Reference
#include <Logging.h>
#include <Parallel.h>
#include <limits>
#include "cloudViewer/core/Dispatch.h"
#include "cloudViewer/core/Indexer.h"
#include "cloudViewer/core/Tensor.h"
#include "cloudViewer/core/kernel/Reduction.h"
Include dependency graph for ReductionCPU.cpp:

Go to the source code of this file.

Classes

class  cloudViewer::core::kernel::CPUReductionEngine
 
class  cloudViewer::core::kernel::CPUArgReductionEngine
 

Namespaces

 cloudViewer
 Generic file read and write utility for python interface.
 
 cloudViewer::core
 
 cloudViewer::core::kernel
 

Functions

template<typename scalar_t >
static scalar_t cloudViewer::core::kernel::CPUSumReductionKernel (scalar_t a, scalar_t b)
 
template<typename scalar_t >
static scalar_t cloudViewer::core::kernel::CPUProdReductionKernel (scalar_t a, scalar_t b)
 
template<typename scalar_t >
static scalar_t cloudViewer::core::kernel::CPUMinReductionKernel (scalar_t a, scalar_t b)
 
template<typename scalar_t >
static scalar_t cloudViewer::core::kernel::CPUMaxReductionKernel (scalar_t a, scalar_t b)
 
static uint8_t cloudViewer::core::kernel::CPUAllReductionKernel (uint8_t a, uint8_t b)
 
static uint8_t cloudViewer::core::kernel::CPUAnyReductionKernel (uint8_t a, uint8_t b)
 
template<typename scalar_t >
static std::pair< int64_t, scalar_t > cloudViewer::core::kernel::CPUArgMinReductionKernel (int64_t a_idx, scalar_t a, int64_t b_idx, scalar_t b)
 
template<typename scalar_t >
static std::pair< int64_t, scalar_t > cloudViewer::core::kernel::CPUArgMaxReductionKernel (int64_t a_idx, scalar_t a, int64_t b_idx, scalar_t b)
 
void cloudViewer::core::kernel::ReductionCPU (const Tensor &src, Tensor &dst, const SizeVector &dims, bool keepdim, ReductionOpCode op_code)