Is there max number of supported GPUs at moment. If I plug in more than 4 GPUs the clGetPlatformIDs() function crashes sporadically, but only at the first call to clGetPlatformIDs() after the application was started.
If the first call after opening the application runs, every following call to clGetPlatformIDs() runs until the application closed without crash. I wrote a simple Dialog and put the following 3 lines into the OnInitDialog() function:
clStatus = clGetPlatformIDs(0, NULL, &numPlatforms);
and once from 20 Starts of the Simple Dialog crashes. Also inside Visual Studio so that I know which call it is.
If I take only 1, 2 or 4 cards the Simple Dialog does not crash, only if I take 5! So I think that not all GPUs are correct supported by driver or I make a mistake.
My Machine config is:
5x HD 7950
Windows 7 Ult x64