cb_reserve_back

void cb_reserve_back(int32_t operand, int32_t num_pages)

A blocking call that waits for the specified number of tiles to be free in the specified circular buffer. This call is used by the producer to wait for the consumer to consume (ie. free up) the specified number of tiles. This is a polling operation that does not advance any CB pointer.

Return value: None

Argument Description

cb_id The index of the circular buffer (CB)

num_tiles The number of free tiles to wait for