tugrul512bit / Cekirdekler

Multi-device OpenCL kernel load balancer and pipeliner API for C#. Uses shared-distributed memory model to keep GPUs updated fast while using same kernel on all devices(for simplicity).
GNU General Public License v3.0
93 stars 9 forks source link

Add device limits stress testing to have numbers used later in production or alarming when approaching limits. #24

Open tugrul512bit opened 7 years ago

tugrul512bit commented 7 years ago

OpenCL can't get max number of command-queues. Add a test that creates command queues up to 1024, until it gives out of memory or out of resources error, save the value for device so it knows max crunchers in flight, release all resources.

OpenCL can't get max number of buffers neighter. Add a test of it too. So user can get a log about remaining resources before using more.