You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Halide with AOT compilation on Windows. I found that with the same program and same schedule, if I have one output function, I got out of memory error. But if I have multiple outputs, I got no error but wrong output values. Can we fix this so that Halide doesn't fail silently and give wrong answers.
The following code gave me out of memory error:
out.compile_to_file("update_all", args);
The following code gave me no error but wrong values
Pipeline output = Pipeline({out,t1});
output.compile_to_file("update_all", args);
I attach code to reproduce the bug. The zip file also includes commands to compile and execute programs on Windows using Visual Studio's CL in compile.txt.
This discussion was converted from issue #1391 on August 09, 2020 23:54.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm using Halide with AOT compilation on Windows. I found that with the same program and same schedule, if I have one output function, I got out of memory error. But if I have multiple outputs, I got no error but wrong output values. Can we fix this so that Halide doesn't fail silently and give wrong answers.
The following code gave me out of memory error:
out.compile_to_file("update_all", args);
The following code gave me no error but wrong values
Pipeline output = Pipeline({out,t1});
output.compile_to_file("update_all", args);
I attach code to reproduce the bug. The zip file also includes commands to compile and execute programs on Windows using Visual Studio's CL in compile.txt.
code.zip
I'm running this on Windows 10 with Visual Studio 14.0.
Beta Was this translation helpful? Give feedback.
All reactions