"test/ut/nas/debug_mnist_pytorch.py" did not exist on "6b828681ba17547506a1b197cf8b2dac68df8a8f"
Commit e6174b8f authored by Paul's avatar Paul
Browse files

Formatting

parent 697dcb06
......@@ -70,10 +70,7 @@ struct compiler
return p;
}
auto params(const program& p)
{
return create_param_map(p, gpu);
}
auto params(const program& p) { return create_param_map(p, gpu); }
};
struct read : command<read>
......
......@@ -28,14 +28,13 @@ program::parameter_map create_param_map(const program& p, bool gpu)
void compile_program(program& p, bool gpu)
{
if (gpu)
if(gpu)
{
#ifdef HAVE_GPU
p.compile(gpu::target{});
#else
MIGRAPHX_THROW("Gpu not supported.");
#endif
}
else
{
......
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