Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide SSR runtime APIs as global symbols #33

Closed
wants to merge 1 commit into from

Conversation

nazavode
Copy link
Collaborator

@nazavode nazavode commented Oct 18, 2023

This PR (stacked on top of #25) tries to address the issue of SSR symbols defined as inline in upstream's runtime, making them essentially not callable outside of C. This PR provides extern declarations and definitions, forcing the compiler to actually emit symbols in the resulting object.

Note: the reason why SSR functions were either inline-inlined or LTO-inlined is because performing actual function calls inside kernels skews cycle measurements by a significant amount (especially when dealing with hot loops with small trip count).

@nazavode nazavode marked this pull request as draft October 18, 2023 07:36
@nazavode nazavode requested review from superlopuh and compor October 18, 2023 07:36
@nazavode
Copy link
Collaborator Author

nazavode commented Nov 2, 2023

Closing as obsolete.

@nazavode nazavode closed this Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant