I try enable OpenCL and HASTHREADS. (in Delphi)
I found clCreateContext will be called repeatedly. After reaching a certain number of times, this function will fail.I checked the information, and it seems that many graphics cards can only create a limited number of contexts. If each thread creates one, for example, 64, that seems too many.