pub unsafe fn tensor_send(freg: u8, count: u8, target: u16)Expand description
Initiate an asynchronous TensorSend.
Pushes count consecutive FP registers starting at freg from this hart
to hart 0 of the Minion identified by target. The partner hart must issue
a matching tensor_recv. This is the low-level primitive for hart-to-hart
reduction without software memory traffic.
§Parameters
freg: Starting FP register index (0..=31).count: Number of FP registers to send (COUNT field, 0..=127).target: Destination Minion ID (TARGET field, bits 15:3 of xs).
§Safety
- The partner hart must call
tensor_recvwith the matchingsourceandcountbefore the send retires. - Must be called from the primary hart of the Minion.