View source: R/tensor_parallel.R
| ggml_vulkan_stage_handoff | R Documentation |
Copies the contents of src (a Vulkan-backed activation tensor produced
by one pipeline stage, living on its device) into dst (the next stage's
input tensor, allocated on another device) via host staging. This is the single
cross-device transfer per forward pass that pipeline parallelism needs.
ggml_vulkan_stage_handoff(src, dst)
src |
Source tensor (stage N output), Vulkan-backed. |
dst |
Destination tensor (stage N+1 input), Vulkan-backed, same size. |
Invisibly 0 on success; errors on a shape/buffer mismatch.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.