Commit 3fb3de4a authored by Po-Yen, Chen's avatar Po-Yen, Chen
Browse files

Remove no-longer used method

parent 2e5d4f91
......@@ -133,20 +133,8 @@ struct DevicePermute : detail::DevicePermuteBase<DevicePermute<InDataType,
return PadDescriptor_M_1d(desc, gridSize, blockSize);
}
static auto GenerateInOutGrid1dDesc()
{
if constexpr(NumDim > 1)
{
return MakeDescriptor_M({1, 1}, {1, 1}, 1, 1);
}
else
{
return MakeDescriptor_M({1}, {1}, 1, 1);
};
};
using InGrid1dDesc = decltype(GenerateInOutGrid1dDesc());
using OutGrid1dDesc = decltype(GenerateInOutGrid1dDesc());
using InGrid1dDesc = decltype(MakeDescriptor_M({1, 1}, {1, 1}, 1, 1));
using OutGrid1dDesc = decltype(MakeDescriptor_M({1, 1}, {1, 1}, 1, 1));
using GridwisePermute = GridwisePermute<InGrid1dDesc,
OutGrid1dDesc,
......
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