Commit 9c242d13 authored by Matthias Werner's avatar Matthias Werner

removed makePlan() factory method.

parent 2bf201e8
......@@ -42,18 +42,6 @@ namespace gearshifft
template<typename T>
struct Precision<T, false> { using type = T; };
/**
* Instantiates user-defined FFT class.
*/
template<typename TPrecision,
typename TFFT,
template <typename,typename,size_t> typename TPlan,
size_t NDim>
constexpr
auto makePlan(const std::array<unsigned,NDim>& cextents)
{
return TPlan<TFFT, TPrecision, NDim> (cextents);
}
/**
* Functor being called from FixtureBenchmark::benchmark()
*/
......@@ -86,7 +74,7 @@ namespace gearshifft
// prepare plan object
// templates in: FFT type: in[,out][complex], PlanImpl, Precision, NDim
auto plan = makePlan<TPrecision, TFFT, TPlan>( cextents );
auto plan = TPlan<TFFT, TPrecision, NDim> (cextents);
results.alloc_mem_in_bytes = plan.getAllocSize();
results.plan_mem_in_bytes = plan.getPlanSize();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment