get_write_ptr

uint32_t get_write_ptr(uint32_t operand)

Returns a pointer to the beginning of a memory block previously reserved by cb_reserve_back. Note that this call is only valid between calls to cb_reserve_back and cb_push_back. The amount of valid memory is equal to the number of tiles requested in a prior cb_reserve_back call.

CB total size must be an even multiple of this call.

Return value: None

Argument

Description

Type

Valid Range

Required

operand

The index of the circular buffer (CB)

uint32_t

0 to 31

True