Commit d0b7fc9a authored by Paul's avatar Paul
Browse files

Format

parent 5515c9a5
...@@ -558,7 +558,7 @@ void module::finalize(context& ctx) ...@@ -558,7 +558,7 @@ void module::finalize(context& ctx)
const bool trace = enabled(MIGRAPHX_TRACE_FINALIZE{}); const bool trace = enabled(MIGRAPHX_TRACE_FINALIZE{});
for(auto ins : iterator_for(*this)) for(auto ins : iterator_for(*this))
{ {
if (trace) if(trace)
{ {
std::cout << "Finalize: "; std::cout << "Finalize: ";
this->debug_print(ins); this->debug_print(ins);
......
...@@ -132,7 +132,8 @@ operation compile_hip_code_object(const std::string& content, hip_compile_option ...@@ -132,7 +132,8 @@ operation compile_hip_code_object(const std::string& content, hip_compile_option
assert(options.global > 0); assert(options.global > 0);
assert(options.local > 0); assert(options.local > 0);
assert(options.inputs.size() > 0); assert(options.inputs.size() > 0);
assert(options.inputs.size() == options.virtual_inputs.size() or options.virtual_inputs.empty()); assert(options.inputs.size() == options.virtual_inputs.size() or
options.virtual_inputs.empty());
std::vector<src_file> srcs; std::vector<src_file> srcs;
std::transform(migraphx_kernels().begin(), std::transform(migraphx_kernels().begin(),
migraphx_kernels().end(), migraphx_kernels().end(),
......
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