1 #include "cheetah/tdrt/cuda/Tdrt.cuh" 2 #include "cheetah/tdrt/cuda/TdrtMap.cuh" 3 #include "cheetah/cuda_utils/cuda_thrust.h" 12 template <
typename T,
typename Alloc>
16 data::AccelerationType acceleration)
18 typedef thrust::counting_iterator<std::size_t> CountIt;
19 typedef thrust::transform_iterator< TdrtMap, CountIt > MapIt;
20 PANDA_LOG_DEBUG <<
"GPU ID: "<<gpu.device_id();
24 thrust::gather(thrust::cuda::par,
TimeType const & sampling_interval() const
Retrive the sampling interval.
Functor for remapping accelerated time series.
Some limits and constants for FLDO.
ConstIterator begin() const
Iterators to device memory.
Class for time series data.
void process(ResourceType &gpu, data::TimeSeries< Architecture, T, Alloc > const &input, data::TimeSeries< Architecture, T, Alloc > &output, data::AccelerationType acceleration)
Resample a time series to a given acceleration.
void resize(std::size_t size)
resize the data
std::size_t size() const
the size of the series