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

remove OpenMP and unlocked stdio? #93

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Conversation

DankRank
Copy link
Member

@DankRank DankRank commented Apr 3, 2022

This stuff existed from the very beginning of thtk, but I wonder if there's actually any point in it. I made these two commits in order to be able to do comparisons. I don't wanna do it right now though, so I'll let this code sit here in case anyone else wants to benchmark.

I'm fine with keeping unlocked stdio if it has any gains, because the stuff is obviously correct. I'm not so sure with OpenMP, at it causes #52, and that's enough of a reason to get rid of it IMO.

@DankRank DankRank added this to the thtk-13 milestone Apr 21, 2022
@DankRank
Copy link
Member Author

Fun fact, older versions of OpenMP didn't allow unsigned loop indexes, and using them caused UB.
We don't have that problem, as the last instance of it was fixed in 189daa5.

@DankRank
Copy link
Member Author

a bug related to OpenMP was fixed recently.
7503f34

i'm honestly not very stoked about the fact that the order in which the files are written relies on omp scheduling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant