SciSharp / NumSharp

High Performance Computation for N-D Tensors in .NET, similar API to NumPy.
https://github.com/SciSharp
Apache License 2.0
1.34k stars 187 forks source link

NumSharp GPU acceleration #111

Open Oceania2018 opened 5 years ago

Oceania2018 commented 5 years ago

We might use Campy to accelerate NumSharp.

fdncred commented 5 years ago

@Oceania2018, I was going to suggest the same thing. We don't want to be writing cuda .cu files. It's not easy. However, my first suggestion would be to parallelize the code where possible. i.e. on IEnumerables we could use .AsParallel(), on for loops we could use Parallel.For and Parallel.Foreach. BenchmarkDotNet will be helpful here.

ZhiZe-ZG commented 2 years ago

This function is very important in some occasions where accelerated computing is required but neural networks (and torch) are not suitable.

Oceania2018 commented 2 years ago

We switched to Tensorflow.Numpy.