Commit 85405766 authored by Paul's avatar Paul
Browse files

Formatting

parent e4fc4d67
...@@ -1174,7 +1174,7 @@ struct load ...@@ -1174,7 +1174,7 @@ struct load
} }
argument compute(const shape&, const std::vector<argument>& args) const argument compute(const shape&, const std::vector<argument>& args) const
{ {
if ((offset + s.bytes()) > args[0].get_shape().bytes()) if((offset + s.bytes()) > args[0].get_shape().bytes())
MIGRAPHX_THROW("Load access is out of bounds"); MIGRAPHX_THROW("Load access is out of bounds");
return {s, args[0].data() + offset}; return {s, args[0].data() + offset};
} }
......
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