Commit 1405ead9 authored by Brice Videau's avatar Brice Videau
Browse files

Added il tag to il based linked programs.

parent 4de2d54c
Pipeline #11702 failed with stage
......@@ -182,7 +182,14 @@ def dump_replay(enqueues)
}
replay[enqueue[:kernel][:name]] = res
res["instances"].first["file"] = "./enqueue_data/#{enqueue[:kernel][:name]}/source"
res["instances"].first["il"] = true if enqueue[:kernel][:program][:type] == :il
case enqueue[:kernel][:program][:type]
when :il
res["instances"].first["il"] = true
when :link
enqueue[:kernel][:program][:programs].each { |prog|
res["instances"].first["il"] = true if prog[:type] == :il
}
end
}
replay.each { |name, h|
File::open("#{name}.kernel", "w") { |f|
......
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