From bf3a9f94f1ec3dfc419f0fd4d59d8bc40ec23b2e Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Wed, 22 Feb 2012 14:42:20 +1100 Subject: [PATCH] Unintentionally dropped the device name from the binary filenames. Reinstate. --- ocl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ocl.c b/ocl.c index 833c7f1e..03b86110 100644 --- a/ocl.c +++ b/ocl.c @@ -425,6 +425,8 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize) return NULL; } + strcat(binaryfilename, name); + strcat(binaryfilename, "v"); sprintf(numbuf, "%d", clState->preferred_vwidth); strcat(binaryfilename, numbuf);