Browse Source

Disable a GPU device should the thread fail to init.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
27c7d2a480
  1. 1
      main.c

1
main.c

@ -3456,6 +3456,7 @@ int main (int argc, char *argv[]) @@ -3456,6 +3456,7 @@ int main (int argc, char *argv[])
clStates[i] = initCl(gpu, name, sizeof(name));
if (!clStates[i]) {
applog(LOG_ERR, "Failed to init GPU thread %d", i);
gpu_devices[i] = false;
continue;
}
applog(LOG_INFO, "initCl() finished. Found %s", name);

Loading…
Cancel
Save