@@ -207,11 +207,24 @@ struct ProxyChannel {
207207 put (dst, offset, src, offset, size);
208208 }
209209
210+ // / @brief Push a @ref TriggerData to the FIFO.
211+ // / @param dst The destination memory region.
212+ // / @param dstOffset The offset into the destination memory region.
213+ // / @param src The source memory region.
214+ // / @param srcOffset The offset into the source memory region.
215+ // / @param width The width of the 2D region.
216+ // / @param height The height of the 2D region.
210217 __forceinline__ __device__ void put2D (MemoryId dst, uint64_t dstOffset, MemoryId src, uint64_t srcOffset,
211218 uint32_t width, uint32_t height) {
212219 fifo_.push (ChannelTrigger (TriggerData, dst, dstOffset, src, srcOffset, width, height, semaphoreId_).value );
213220 }
214221
222+ // / @brief Push a @ref TriggerData to the FIFO.
223+ // / @param dst The destination memory region.
224+ // / @param src The source memory region.
225+ // / @param offset The common offset into the destination and source memory regions.
226+ // / @param width The width of the 2D region.
227+ // / @param height The height of the 2D region.
215228 __forceinline__ __device__ void put2D (MemoryId dst, MemoryId src, uint64_t offset, uint32_t width, uint32_t height) {
216229 put2D (dst, offset, src, offset, width, height);
217230 }
@@ -232,6 +245,13 @@ struct ProxyChannel {
232245 fifo_.push (ChannelTrigger (TriggerData | TriggerFlag, dst, dstOffset, src, srcOffset, size, semaphoreId_).value );
233246 }
234247
248+ // / Push a @ref TriggerData and a @ref TriggerFlag at the same time to the FIFO.
249+ // / @param dst The destination memory region.
250+ // / @param dstOffset The offset into the destination memory region.
251+ // / @param src The source memory region.
252+ // / @param srcOffset The offset into the source memory region.
253+ // / @param width The width of the 2D region.
254+ // / @param height The height of the 2D region.
235255 __forceinline__ __device__ void put2DWithSignal (MemoryId dst, uint64_t dstOffset, MemoryId src, uint64_t srcOffset,
236256 uint32_t width, uint32_t height) {
237257 fifo_.push (
@@ -247,6 +267,12 @@ struct ProxyChannel {
247267 putWithSignal (dst, offset, src, offset, size);
248268 }
249269
270+ // / Push a @ref TriggerData and a @ref TriggerFlag at the same time to the FIFO.
271+ // / @param dst The destination memory region.
272+ // / @param src The source memory region.
273+ // / @param offset The common offset into the destination and source memory regions.
274+ // / @param width The width of the 2D region.
275+ // / @param height The height of the 2D region.
250276 __forceinline__ __device__ void put2DWithSignal (MemoryId dst, MemoryId src, uint64_t offset, uint32_t width,
251277 uint32_t height) {
252278 put2DWithSignal (dst, offset, src, offset, width, height);
@@ -328,6 +354,11 @@ struct SimpleProxyChannel {
328354 proxyChan_.put (dst_, dstOffset, src_, srcOffset, size);
329355 }
330356
357+ // / Push a @ref TriggerData to the FIFO.
358+ // / @param dstOffset The offset into the destination memory region.
359+ // / @param srcOffset The offset into the source memory region.
360+ // / @param width The width of the 2D region.
361+ // / @param height The height of the 2D region.
331362 __forceinline__ __device__ void put2D (uint64_t dstOffset, uint64_t srcOffset, uint32_t width, uint32_t height) {
332363 proxyChan_.put2D (dst_, dstOffset, src_, srcOffset, width, height);
333364 }
@@ -348,6 +379,11 @@ struct SimpleProxyChannel {
348379 proxyChan_.putWithSignal (dst_, dstOffset, src_, srcOffset, size);
349380 }
350381
382+ // / Push a @ref TriggerData and a @ref TriggerFlag at the same time to the FIFO.
383+ // / @param dstOffset The offset into the destination memory region.
384+ // / @param srcOffset The offset into the source memory region.
385+ // / @param width The width of the 2D region.
386+ // / @param height The height of the 2D region.
351387 __forceinline__ __device__ void put2DWithSignal (uint64_t dstOffset, uint64_t srcOffset, uint32_t width,
352388 uint32_t height) {
353389 proxyChan_.put2DWithSignal (dst_, dstOffset, src_, srcOffset, width, height);
@@ -358,6 +394,10 @@ struct SimpleProxyChannel {
358394 // / @param size The size of the transfer.
359395 __forceinline__ __device__ void putWithSignal (uint64_t offset, uint64_t size) { putWithSignal (offset, offset, size); }
360396
397+ // / Push a @ref TriggerData, a @ref TriggerFlag, and a @ref TriggerSync at the same time to the FIFO.
398+ // / @param offset The common offset into the destination and source memory regions.
399+ // / @param width The width of the 2D region.
400+ // / @param height The height of the 2D region.
361401 __forceinline__ __device__ void put2DWithSignal (uint64_t offset, uint32_t width, uint32_t height) {
362402 put2DWithSignal (offset, offset, width, height);
363403 }
0 commit comments