Tweaks to ensure input buffer is properly setup for device.
Tweaks to ensure input buffer is properly setup for device.


Former-commit-id: dacf1776578fc75a4e6bc3b7bd88e00fb9cb1cbe
Trass3r/Halide,darkbuck/Halide,Trass3r/Halide,Trass3r/Halide,Trass3r/Halide,darkbuck/Halide,darkbuck/Halide,darkbuck/Halide,darkbuck/Halide,Trass3r/Halide,darkbuck/Halide,Trass3r/Halide,darkbuck/Halide,Trass3r/Halide