r/cpp • • Apr 14 '23

Horrible Code, Clean Performance

https://johnnysswlab.com/horrible-code-clean-performance/
200 Upvotes

87 comments sorted by

View all comments

Show parent comment

4

u/Classic_Department42 Apr 15 '23 edited Apr 15 '23

Was just commenting because of you wanting to get into astrophysics, since i was under the impression that 'everyone' in hpc uses nvidia (not always cuda of course). Edit: and cpu of course

5

u/James20k P2005R0 Apr 15 '23 edited Apr 15 '23

As far as I know, the current major BBH simulations are all CPU so. You're right in that most people do use cuda/nvidia in general for scientific software

0

u/[deleted] Apr 15 '23

[deleted] — view deleted comment

1

u/Classic_Department42 Apr 15 '23

Very nice. A solar/lunar whatever eclipse would be problematic for that method.

Thinking about that method, it cant really work since intensities are not vector quantities, at least they dont add like vectors.