Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add set-host-dirty/copy-to-host to PythonExtensionGen (halide#6869)
* Add set-host-dirty/copy-to-host to PythonExtensionGen See halide#6868: Python Buffers are host-memory-only, so if the AOT-compiled halide code runs on (say) GPU, it may fail to copy the inputs to device and/or the results back to host. This fixes that. (We still need a solution that allows for lazy copies, but that will require adding another protocol that supports it.) * Update PythonExtensionGen.cpp
- Loading branch information