News for hackers. Stuff that matters.
Re:Simulation of a 2B-atom cell that metabolizes and grows l... by TomVDB on Friday January 28, 2022 @12:44PM (#30117909)
I’m subscribed to some CUDA email list with weekly updates.

One thing that strikes me is how it evolves with new features. Not just higher level libraries, but also more fundamental, low level stuff, such as virtual memory, standard memory models, c++ libraries, new compilers, communication with other GPUs, launching dependent kernels, etc.

At their core, OpenCL and CUDA both enable running parallel computing algorithms on a GPU, but CUDA strikes me as much more advanced in terms of peripheral features.

Every few years, I think about writing a CUDA program (it never actually happens), and investigate how to do things, and it’s interesting how the old ways of doing things has been superseded by better ways.

None of this should be surprising. As I understand it, OpenCL has been put on life support by the industry in general for years now.

Re:Simulation of a 2B-atom cell that metabolizes and grows l... by 4gotunameagain on Friday January 28, 2022 @01:06PM (#30118226)
If you ever need to reap the benefits of CUDA & GPU computations without getting into the details, check out JAX by our corporate overlords™ (https://github.com/google/jax), it has a NumPy like syntax and super fast to get started
Re:Simulation of a 2B-atom cell that metabolizes and grows l... by p1esk on Friday January 28, 2022 @02:29PM (#30119225)
Why would you suggest JAX? CuPy seems like an obvious choice here (simpler and a lot more mature). Jax is only needed if you want automatic differentiation.
Re:Simulation of a 2B-atom cell that metabolizes and grows l... by hamilyon2 on Saturday January 29, 2022 @05:52AM (#30125388)
TIL CuPy exists and is stable and mature. This is why i read this forum, every now and then there is serendipitous connection, new angle or discovery.
Re:Simulation of a 2B-atom cell that metabolizes and grows l... by dekhn on Saturday January 29, 2022 @10:31AM (#30127074)
I just want pyXLA, a tool to directly construct XLA programs.