get_semaphore

template<ProgrammableCoreType type = ProgrammableCoreType::TENSIX>
uintptr_t get_semaphore(uint32_t semaphore_id)

Returns the local address of the semaphore with the given id.

Return value: Local address of the semaphore (uintptr_t)

Argument Description

semaphore_id Semaphore id

type (template parameter) Type of the core