"include/ck/host_utility/device_prop.hpp" did not exist on "63eee2d9991b08ca286f6895dd8f90da12a62da3"
Unverified Commit b304d97d authored by Paul Fultz II's avatar Paul Fultz II Committed by GitHub
Browse files

Add missing output_alias to miopen_fusion op (#1076)

This causes incorrect memory coloring, which was causing the accuracy failures in the vision model when enabling the pointwise fusions. Resnet50, inceptionv3 and inceptionv4 do verify now in the driver.
parent 73b8a773
......@@ -587,6 +587,11 @@ struct miopen_fusion
return pack(f(self.ops, "ops"));
}
std::ptrdiff_t output_alias(const std::vector<shape>& shapes) const
{
return shapes.size() - 1;
}
value compile(context& ctx, const shape&, std::vector<shape> inputs)
{
// Compensate for allocation
......
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