1#ifndef TATAMI_CONSECUTIVE_ORACLE_HPP
2#define TATAMI_CONSECUTIVE_ORACLE_HPP
7#include "sanisizer/sanisizer.hpp"
22template<
typename Index_>
55template<
typename Index_>
57 return std::make_shared<ConsecutiveOracle<Index_> >(start, length);
Convert index type to container size.
Predict future accesses along a consecutive sequence.
Definition ConsecutiveOracle.hpp:23
PredictionIndex total() const
Definition ConsecutiveOracle.hpp:34
ConsecutiveOracle(const Index_ start, const Index_ length)
Definition ConsecutiveOracle.hpp:29
Index_ get(PredictionIndex i) const
Definition ConsecutiveOracle.hpp:38
Predict future access requests on the target dimension.
Definition Oracle.hpp:29
Flexible representations for matrix data.
Definition Extractor.hpp:15
std::shared_ptr< ConsecutiveOracle< Index_ > > make_ConsecutiveOracle(Index_ start, Index_ length)
Definition ConsecutiveOracle.hpp:56
std::size_t PredictionIndex
Definition Oracle.hpp:18