MPSQUARK / BAVCL

Hardware-accelerated Vector Compute Library for .NET Containing Quality of life improvements and functionality intended for data science, graphical processing and GPGPU.
Other
10 stars 2 forks source link

Add function optimiser #35

Open MPSQUARK opened 2 years ago

MPSQUARK commented 2 years ago

The function optimiser would accept an array of function commands Fx[], an array of inputs In[] and would execute the functions in the most optimal way, reducing GetBuffer() calls, and other overhead, and especially reducing the quantity of new Vector objects generated. The function called OK or COMMIT provided by this class would be used to trigger the functions to be called.

Similar to to how queries in SQL can be called but execute together upon the commit call.