Skip to content

Comments

Sjk/threads#7

Closed
sjkelly wants to merge 2 commits intomasterfrom
sjk/threads
Closed

Sjk/threads#7
sjkelly wants to merge 2 commits intomasterfrom
sjk/threads

Conversation

@sjkelly
Copy link
Member

@sjkelly sjkelly commented Nov 6, 2019

No description provided.

L0sum = L0sum + L0[i].^3
L[i] = li
L0[i] = l0i
Threads.atomic_add!(Lsum, li3)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if this sum and the next are outside, no atomics will be needed

@ViralBShah ViralBShah closed this Jan 24, 2026
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.

2 participants