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

add SUITESPARSE_TIME #630

Merged
merged 1 commit into from
Dec 24, 2023
Merged

add SUITESPARSE_TIME #630

merged 1 commit into from
Dec 24, 2023

Conversation

DrTimothyAldenDavis
Copy link
Owner

SuiteSparse_config can itself be compiled without OpenMP, but the package that #include's it might have OpenMP available. If that's the case, the SuiteSparse_time() function defined in SuiteSparse_config.c will use the POSIX timer instead.

If the Package wants omp_get_wtime(), it can use the new SUITESPARSE_TIME macro, which becomes omp_get_wtime() if _OPENMP is #define'd, or SuiteSparse_time otherwise. Or it is zero if the timer is entirely disabled.

@DrTimothyAldenDavis DrTimothyAldenDavis merged commit 49cea0d into dev Dec 24, 2023
22 checks passed
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