Advanced HIP Workshop | Memory Management in HIP | Filling buffers with a known value

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ส.ค. 2024
  • This video is part of the HIP workshop playlist. View full playlist here: • Advanced HIP Workshop
    Sometimes you might want to initialise a buffer with a value before using it. The functions hipMemset and hipMemsetAsync take care of the process of filling a HIP memory allocation. When using pitched memory, care must be taken to ensure that we calculate the actual size of the memory using the pitch.

ความคิดเห็น •