Skip to content

[runtime] fix core id interpretations#80

Open
bowwwang wants to merge 1 commit intomainfrom
runtime-fix
Open

[runtime] fix core id interpretations#80
bowwwang wants to merge 1 commit intomainfrom
runtime-fix

Conversation

@bowwwang
Copy link
Copy Markdown
Contributor

Fixed snrt functions

  • This small PR fixed the runtime core id interpretation issues met in Deeploy framework. In the current runtime implementation, dm cores and compute cores are not interpreted properly.

@bowwwang bowwwang self-assigned this Apr 14, 2026
@bowwwang bowwwang added the bug Something isn't working label Apr 14, 2026
Comment thread sw/snRuntime/src/team.c
uint32_t snrt_cluster_dm_core_idx() {
// TODO: Actually derive this from the device tree!
return snrt_cluster_core_num() - 1;
// Core 0 ties to DMA control in hardware
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There seems to be trailing space after this line (not captured in github CI but by gitlab one). Please fix it and then we can merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants