Commit 47eee83f authored by Shucai Xiao's avatar Shucai Xiao
Browse files

Merge branch 'adjust_gpu_allocation' into ins_fp32_fp16

parents 9a43b32c 5c0e4b60
......@@ -11,6 +11,10 @@ void adjust_allocation::apply(program& p) const
{
for(auto ins : iterator_for(p))
{
// skip instruction with no input
if(ins->inputs().empty())
continue;
if(ins->name() == "load")
continue;
......
......@@ -12,7 +12,6 @@ namespace gpu {
struct adjust_allocation
{
context* ctx = nullptr;
std::string name() const { return "gpu::adjust_allocation"; }
void apply(program& p) const;
};
......
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