|
@@ -536,8 +536,10 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize)
|
|
|
if (clState->goffset)
|
|
if (clState->goffset)
|
|
|
strcat(binaryfilename, "g");
|
|
strcat(binaryfilename, "g");
|
|
|
if (opt_scrypt) {
|
|
if (opt_scrypt) {
|
|
|
|
|
+#ifdef USE_SCRYPT
|
|
|
sprintf(numbuf, "lg%dtc%d", cgpu->lookup_gap, cgpu->thread_concurrency);
|
|
sprintf(numbuf, "lg%dtc%d", cgpu->lookup_gap, cgpu->thread_concurrency);
|
|
|
strcat(binaryfilename, numbuf);
|
|
strcat(binaryfilename, numbuf);
|
|
|
|
|
+#endif
|
|
|
} else {
|
|
} else {
|
|
|
sprintf(numbuf, "v%d", clState->vwidth);
|
|
sprintf(numbuf, "v%d", clState->vwidth);
|
|
|
strcat(binaryfilename, numbuf);
|
|
strcat(binaryfilename, numbuf);
|