and is there some way to test and prevent this from happening ?
It seems, invariably, there is an upper limit for the number of
threads I can request for kernel call in PyOpenCl.
This upper limit is different for each kernel.
Is there some way to predict this threshold and prevent it ?
What is it caused by ?