Comment on Looking for an accelerated numerical computing library for .NET
Turun@feddit.de 1 year ago
If it binds to numpy, does it not automatically use all accelerations available? I can’t really believe that it binds to numpy and does not use them. Maybe a flag needs to be set? I know in rust the numpy bindings have a feature flag for blas etc.
If you don’t find one that fits the requirements exactly a few benchmarks are probably best to determine which one is most suited.
maggoats@lemmy.world 1 year ago
Unfortunately I don’t believe NumPy has any built in accelerations (other than being a C library which is fast already), though I don’t really know the ins and outs. There are Python libraries that use the NumPy API or otherwise do some stuff to accelerate it on e.g. CUDA, but the Numpy.NET library as far as I know uses its own embedded Python + numpy, so as far as I can tell that wouldn’t be an option.
Turun@feddit.de 1 year ago
Wtf, this is so absurd I find it hard to believe. They ship a python interpreter just to get numpy? And then wrote bindings to python instead of writing c# bindings for numpy?
Edit: wtf they really do.