Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
vector_sum_internal.h File Reference
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <iterator>
#include <numeric>
#include "absl/base/attributes.h"
#include "absl/base/optimization.h"
#include "absl/types/span.h"
#include "ortools/util/aligned_memory.h"

Go to the source code of this file.

Classes

struct  operations_research::internal::AlignedBlock< Value, size, alignment >
 

Namespaces

namespace  operations_research
 In SWIG mode, we don't want anything besides these top-level includes.
 
namespace  operations_research::internal
 End of the interface. Below is the implementation.
 

Functions

template<typename Value , size_t size>
void operations_research::internal::AddInPlace (AlignedBlock< Value, size > &out, const AlignedBlock< Value, size > &in)
 
template<size_t block_size, size_t num_blocks_per_iteration, typename Value >
AlignedBlock< Value, block_size > ABSL_ATTRIBUTE_NOINLINE operations_research::internal::AlignedBlockSum (const AlignedBlock< Value, block_size > *blocks, size_t num_blocks)
 
template<size_t block_size = 4, size_t num_blocks_per_iteration = 4, bool assume_aligned_at_start = false, typename Value >
Value operations_research::internal::VectorSum (absl::Span< const Value > values)