-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Remove openmp from MatrixMultiplication function #20639
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 from MatrixMultiplication function #20639
Conversation
|
Hi! @muhammadalhroob, thanks for the PR! Same request as before: can you make sure there are no merge commits in your development branch? Only allowing fast-forward merges (i.e. merging only branches that didn't do any merged themselves) in GitHub helps us to maintain a clean and linear project history without unnecessary merge commits. This approach simplifies the commit history, making it easier to understand and manage. |
|
Is it really sufficient to remove those lines? Meaning: does the rest of the code make sense at all without openMP to accelerate it? Are the changes still a performance improvement with this removal? Also, why are we not using |
According to #20365 (comment), the speedup did not rely on OpenMP.
Yes. The previous implementation also didn't make any checks by the way. It it actually quite common to have |
|
Hi @guitargeek, |
Since the caller needs to do the work of passing in the number anyway it would be nice to have an |
c8df16d to
74b1a12
Compare
|
How did you "synchronised my fork"? It looks like you tried to do that by merging the master branch of root into the That's not synced at all, because the histories are very different, as the commits are in different order with the merges. When syncing the master branch in your fork, make sure your forks master a clean "copy" of the master in ROOT. I usually make sure of that by checking out the latest An alternative is to ignore the Also a general advice: nothing good ever comes out of There is plenty of discussion on |
74b1a12 to
fa76ea4
Compare
|
Also, whenever you name a commit think of the people who are gonna read it in the context of the repo's history. "Rebase after pulling from root master" gives zero useful information. If you have a single-commit PR it's customary to have your commit short message to be the same as the PR title (ideally with the long message containing the explanation of what's happening and why) |
guitargeek
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I'll reword the commit on merging.
This Pull request:
Cleaning up TMatrixT.cxx; As discussed in PR #20365, I removed OpenMP pragmas.
Changes or fixes:
Checklist:
This PR fixes #