sleef
musl
sleef | musl | |
---|---|---|
17 | 5 | |
590 | 482 | |
- | 2.5% | |
8.1 | 8.5 | |
9 days ago | 24 days ago | |
C | C | |
Boost Software License 1.0 | 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.
sleef
-
The Case of the Missing SIMD Code
I'm the main author of Highway, so I have some opinions :D Number of operations/platforms supported are important criteria.
A hopefully unbiased commentary:
Simde allows you to take existing nonportable intrinsics and get them to run on another platform. This is useful when you have a bunch of existing code and tight deadlines. The downside is less than optimal performance - a portable abstraction can be more efficient than forcing one platform to exactly match the semantics of another. Although a ton of effort has gone into Simde, sometimes it also resorts to autovectorization which may or may not work.
Eigen and SLEEF are mostly math-focused projects that also have a portability layer. SLEEF is designed for C and thus has type suffixes which are rather verbose, see https://github.com/shibatch/sleef/blob/master/src/libm/sleef... But it offers a complete (more so than Highway's) libm.
-
Does anyone have any interest in my deep-learning framework?
But the other part about SIMD: I'm unsure if mgl-mat uses SIMD for transcendental functions or even for something like element-wise multiplication and division*. SIMD easily provides a speed-boost of 4-8 times which numpy uses. Libraries like sleef have been put to use by many.
- `constexpr` what?
- Advice on porting glibc trig functions to SIMD
-
SIMD intrinsics and the possibility of a standard library solution
Highway and Agner's VectorClass also have math functions. And SLEEF should definitely be mentioned.
-
Portable SIMD library
"SIMD Library for Evaluating Elementary Functions, vectorized libm and DFT" - https://github.com/shibatch/sleef
- SIMD Library for Evaluating Elementary Functions, Vectorized Libm and DFT
-
C library for multiple-precision floating-point arithmetic with correct rounding
Not mentioned in the list of users is SLEEF (https://github.com/shibatch/sleef), which provides fast approximations for various elementary functions. (It generates coefficients for the approximations with mpfr)
SLEEF itself is used by PyTorch.
-
How to speed up array writes?
If you are looking at floats, there's https://sleef.org
-
Benchmarking sine approximations and interpolators.
It would be interesting to see SLEEF added in the benchmarks.
musl
-
Single syscall "Hello, world" - part 1
Why? Well, it is complicated... Syscall itself comes somewhere from here. If we are adventurous enough and go up the stack we can find printf_core, which is called by vprintf, which can (indirectly) take us back to the printf itself...
- `constexpr` what?
- C++ noexcept_call
-
wtf
using magic, just like the entire standard library
-
Stallman wants you to sort by GNU
? Not the case for musl or glibc (The linked functions are called from the getline function)
What are some alternatives?
nsimd - Agenium Scale vectorization library for CPUs and GPUs
glibc - Unofficial mirror of sourceware glibc repository. Updated daily.
yenten-arm-miner-yespowerr16 - ARM 64 CPU miner for Yespower variant algorithms
2dwaveC - 2D wave simulation
sb-simd - A convenient SIMD interface for SBCL.
FizzBuzz Enterprise Edition - FizzBuzz Enterprise Edition is a no-nonsense implementation of FizzBuzz made by serious businessmen for serious business purposes.
vector-libm
acts_as_enterprisey - Rails make life easy for us but -- and it's a big but -- we don't want it to look easy. ActsAsEnterprisey makes it look hard.
crlibm - A mirror of the CRLibm project from INRIA Forge
gcem - A C++ compile-time math library using generalized constant expressions
xbyak_aarch64
word-search