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

move set_zero_configs into zero.cuh #674

Closed
wants to merge 3 commits into from
Closed

Conversation

ngc92
Copy link
Contributor

@ngc92 ngc92 commented Jul 9, 2024

So far, this function has remained in the main file, because it relied on printf0, which in turn required the global multi_gpu_config not available in the zero header.
This PR moves the global object to the header (as an inline variable to prevent ODR problems), defines printf0 as a macro (so we don't need C-style va-args, making format strings more easily checkable by static analysis tools),
and finally moves set_zero_configs to zero.cuh.

@ngc92
Copy link
Contributor Author

ngc92 commented Jul 15, 2024

superseded by #689

@ngc92 ngc92 closed this Jul 15, 2024
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