Switch to asserting dirty bits are not both set in Halide::Runtime::Buffer any time one of the bits is set rather than automatically copying from device in operator() method. This is less automatic, but it catches more cases and is likely more performant.
Switch to asserting dirty bits are not both set in
Halide::Runtime::Buffer any time one of the bits is set rather than
automatically copying from device in operator() method. This is less
automatic, but it catches more cases and is likely more performant.

(This model is sort of that Halide::Runtime::Buffer will attempt to
set the host dirty bit automatically, but does not do things which
will transparently cause copies to happen.)


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