HigherOrderCO/Bend

(Request) Run in both the CPU and GPU at the same time

jaydeeppromact2024 opened this issue · 3 comments

Why cant we use CPU and GPU all cores together ?

Please make it possible to use CPU and GPU all cores together

NO alternatives i found

It would be interesting, but orchestrating what should be sent to the gpu and what should be calculated in the CPU is not that simple.
We considered doing it, offloading things to the gpu when we noticed that the threads were getting too full, but in the end we went for the simpler alternative for the initial release.
Definitely possible

I second this! While it might be hard to automatically decide which part should run where, I would really like to be able to give hints to the code where it should run. Todays CPUs are really fast, so it's a pity if one has to go either GPU or CPU.

I think some functions could have decorators to require or privilege the use of CPU &&|| GPU.