v3.8.0 update (#2082)
* 3.8 update * fix Markus' name --------- Co-authored-by: yuzhai <yuzhai@nvidia.com>
This commit is contained in:
@@ -1685,7 +1685,7 @@ blocked_product(Layout<TShape,TStride> const& block,
|
||||
|
||||
auto result = logical_product(append<R>(block), append<R>(tiler));
|
||||
|
||||
return coalesce(zip(get<0>(result), get<1>(result)), tuple_repeat<R>(Int<1>{}));
|
||||
return zip(get<0>(result), get<1>(result));
|
||||
}
|
||||
|
||||
// raked_product -- Reproduce a block over a tiler with block-interleaving.
|
||||
@@ -1703,7 +1703,7 @@ raked_product(Layout<TShape,TStride> const& block,
|
||||
|
||||
auto result = logical_product(append<R>(block), append<R>(tiler));
|
||||
|
||||
return coalesce(zip(get<1>(result), get<0>(result)), tuple_repeat<R>(Int<1>{}));
|
||||
return zip(get<1>(result), get<0>(result));
|
||||
}
|
||||
|
||||
// tile_to_shape -- Perform a product of a layout so that the result matches a target shape.
|
||||
@@ -1742,7 +1742,7 @@ tile_to_shape(Layout<Shape,Stride> const& block,
|
||||
|
||||
auto product_shape = ceil_div(target_shape, block_shape);
|
||||
|
||||
return coalesce(blocked_product(padded_block, make_ordered_layout(product_shape, ord_shape)), product_shape);
|
||||
return blocked_product(padded_block, make_ordered_layout(product_shape, ord_shape));
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user