[llvm] [Offload] Implement the remaining initial Offload API (PR #122106)
Callum Fare via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 11 09:17:01 PST 2025
================
@@ -16,8 +16,8 @@ def : Function {
let details = [];
let params = [
Param<"ol_queue_handle_t", "Queue", "handle of the queue", PARAM_IN>,
----------------
callumfare wrote:
The queue does know which device it belongs to. But I think for a single memcpy to work you'd need to know whether the src and dst pointers are device/shared allocations or host pointers, to know whether to call through to `dataSubmit`, `dataRetrieve`, or `dataExchange` in the plugin interface.
https://github.com/llvm/llvm-project/pull/122106
More information about the llvm-commits
mailing list