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

Enable or disable profiling #37

Open
gdgirard opened this issue Dec 20, 2024 · 0 comments
Open

Enable or disable profiling #37

gdgirard opened this issue Dec 20, 2024 · 0 comments

Comments

@gdgirard
Copy link
Member

Wrapp theses lines appearing in all main programs:

// Environments variables for profiling
setenv("KOKKOS_TOOLS_LIBS", KP_KERNEL_TIMER_PATH, false);
setenv("KOKKOS_TOOLS_TIMER_JSON", "true", false);

in a proper tool that enables or disables this profiling by using an environment variable (such as GYSELAX_ENABLE_TELEMETRY=kktimer) as proposed by Etienne.

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

No branches or pull requests

1 participant