beehive-lab / TornadoVM

TornadoVM: A practical and efficient heterogeneous programming framework for managed languages
https://www.tornadovm.org
Apache License 2.0
1.17k stars 110 forks source link

Add support for Copy-OUT only task-graphs using Batch Processing #333

Closed jjfumero closed 4 months ago

jjfumero commented 6 months ago

Is your feature request related to a problem? Please describe.

Batch processing is also useful when having copy-outs only. This means that data on the target device is first allocated, there is no copy (data transfers) from the host to the device, but the execution is split to compute batches of size specified by the user. The runtime should only copy the partial arrays.

This is partially supported, but the runtime gives incorrect results. My assumption is that there is an issue either with the setup parameters for the kernels, or for the copy-out.

mairooni commented 4 months ago

This was fixed in PR #376