fpm
Thrust
fpm | Thrust | |
---|---|---|
3 | 4 | |
599 | 4,839 | |
- | - | |
2.1 | 6.9 | |
4 months ago | 3 months ago | |
C++ | C++ | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fpm
-
Try This Brand New Analog Computer
> more like a floating point ... or more like a fixed-point ... ?
It really depends on what kind of analog hardware you use. Not exactly like either. You would different causes for error: Thermal, inherent indeterminism of interactions, decay/drift of value over time, boundary breaches with values near extrema, etc.
> IMO it is surprising fixed-point values don’t come up more often
The C++ standard committee has seen a paper on adding those to the language, as a library feature: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p00...
There's a kind-of-popular fixed-point-math library for the language:
https://github.com/MikeLankamp/fpm
and I'm sure they have received some attention in other languages.
-
Rust be like
[1]: https://github.com/MikeLankamp/fpm/blob/master/docs/performance.md
-
Convert integer to floating point string without doing any floating point operations
It is a header only library, all you need to do is include the 3 hpp files in https://github.com/MikeLankamp/fpm/tree/master/include/fpm
Thrust
-
AMD's CDNA 3 Compute Architecture
this is frankly starting to sound a lot like the ridiculous "blue bubbles" discourse.
AMD's products have generally failed to catch traction because their implementations are halfassed and buggy and incomplete (despite promising more features, these are often paper features or career-oriented development from now-departed developers). all of the same "developer B" stuff from openGL really applies to openCL as well.
http://richg42.blogspot.com/2014/05/the-truth-on-opengl-driv...
AMD has left a trail of abandoned code and disappointed developers in their wake. These two repos are the same thing for AMD's ecosystem and NVIDIA's ecosystem, how do you think the support story compares?
https://github.com/HSA-Libraries/Bolt
https://github.com/NVIDIA/thrust
in the last few years they have (once again) dumped everything and started over, ROCm supported essentially no consumer cards and rotated support rapidly even in the CDNA world. It offers no binary compatibility support story, it has to be compiled for specific chips within a generation, not even just "RDNA3" but "Navi 31 specifically". Etc etc. And nobody with consumer cards could access it until like, six months ago, and that still is only on windows, consumer cards are not even supported on linux (!).
https://geohot.github.io/blog/jekyll/update/2023/06/07/a-div...
This is on top of the actual problems that still remain, as geohot found out. Installing ROCm is a several-hour process that will involve debugging the platform just to get it to install, and then you will probably find that the actual code demos segfault when you run them.
AMD's development processes are not really open, and actual development is silo'd inside the company with quarterly code dumps outside. The current code is not guaranteed to run on the actual driver itself, they do not test it even in the supported configurations.
it hasn't got traction because it's a low-quality product and nobody can even access it and run it anyway.
-
Parallel Computations in C++: Where Do I Begin?
For a higher level GPU interface, Thrust provides "standard library"-like functions that run in parallel on the GPU (Nvidia only)
-
What are some cool modern libraries you enjoy using?
For GPGPU, I like thrust. C++-idiomatic way of writing CUDA code, passing between host and device, etc.
-
A vision of a multi-threaded Emacs
Users should work with higher level primitives like tasks, parallel loops, asynchronous functions etc. Think TBB, Thrust, Taskflow, lparallel for CL, etc.
What are some alternatives?
Feral - Feral programming language reference implementation
CUB - THIS REPOSITORY HAS MOVED TO github.com/nvidia/cub, WHICH IS AUTOMATICALLY MIRRORED HERE.
cnl - A Compositional Numeric Library for C++
ArrayFire - ArrayFire: a general purpose GPU library.
libcudacxx - [ARCHIVED] The C++ Standard Library for your entire system. See https://github.com/NVIDIA/cccl
Boost.Compute - A C++ GPU Computing Library for OpenCL
monero-lws - Monero Light Wallet Server (scans monero viewkeys and implements mymonero API)
HPX - The C++ Standard Library for Parallelism and Concurrency
grand-unified-divisibility-rule - One divisibility rule for all numbers
moodycamel - A fast multi-producer, multi-consumer lock-free concurrent queue for C++11
Taskflow - A General-purpose Parallel and Heterogeneous Task Programming System
moderngpu - Patterns and behaviors for GPU computing