Browse Source

Revert "Free up resources/stale compilers."

This reverts commit b4960ec36bca6663ecb0853752d0d777d81f9df1.

Didn't help and might have caused other issues.
Con Kolivas 14 years ago
parent
commit
fd473afedc
1 changed files with 0 additions and 8 deletions
  1. 0 8
      main.c

+ 0 - 8
main.c

@@ -3432,10 +3432,6 @@ int main (int argc, char *argv[])
 #ifdef HAVE_OPENCL
 	i = 0;
 
-	/* Hopefully remove stale references to allow binaries to build */
-	if (nDevs)
-		clUnloadCompiler();
-
 	/* start GPU mining threads */
 	for (j = 0; j < nDevs * opt_g_threads; j++) {
 		int gpu = j % nDevs;
@@ -3470,10 +3466,6 @@ int main (int argc, char *argv[])
 		i++;
 	}
 
-	/* Free up resources */
-	if (nDevs)
-		clUnloadCompiler();
-
 	applog(LOG_INFO, "%d gpu miner threads started", gpu_threads);
 #endif