From 6d10ef2f6ec202e77c22fec37bf79af42a0ea0a0 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 22 Aug 2011 10:17:23 +1000 Subject: [PATCH] Bump version numbers of kernels to indicate slightly different versions. --- Makefile.am | 4 ++-- ocl.c | 8 ++++---- phatk110816.cl => phatk110817.cl | 0 poclbm110816.cl => poclbm110817.cl | 0 4 files changed, 6 insertions(+), 6 deletions(-) rename phatk110816.cl => phatk110817.cl (100%) rename poclbm110816.cl => poclbm110817.cl (100%) diff --git a/Makefile.am b/Makefile.am index 35e36501..01b07e67 100644 --- a/Makefile.am +++ b/Makefile.am @@ -15,7 +15,7 @@ INCLUDES = $(PTHREAD_FLAGS) -fno-strict-aliasing $(JANSSON_INCLUDES) bin_PROGRAMS = cgminer -bin_SCRIPTS = phatk110816.cl poclbm110816.cl +bin_SCRIPTS = phatk110817.cl poclbm110817.cl cgminer_SOURCES = elist.h miner.h compat.h bench_block.h \ main.c util.c \ @@ -23,7 +23,7 @@ cgminer_SOURCES = elist.h miner.h compat.h bench_block.h \ sha256_generic.c sha256_4way.c sha256_via.c \ sha256_cryptopp.c sha256_sse2_amd64.c \ sha256_sse4_amd64.c \ - phatk110816.cl poclbm110816.cl + phatk110817.cl poclbm110817.cl cgminer_LDFLAGS = $(PTHREAD_FLAGS) cgminer_LDADD = @LIBCURL_LIBS@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @OPENCL_LIBS@ @NCURSES_LIBS@ @PDCURSES_LIBS@ @WS2_LIBS@ lib/libgnu.a ccan/libccan.a diff --git a/ocl.c b/ocl.c index f994fa27..cb95994c 100644 --- a/ocl.c +++ b/ocl.c @@ -350,13 +350,13 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize) switch (chosen_kernel) { case KL_POCLBM: - strcpy(filename, "poclbm110816.cl"); - strcpy(binaryfilename, "poclbm110816"); + strcpy(filename, "poclbm110817.cl"); + strcpy(binaryfilename, "poclbm110817"); break; case KL_NONE: /* Shouldn't happen */ case KL_PHATK: - strcpy(filename, "phatk110816.cl"); - strcpy(binaryfilename, "phatk110816"); + strcpy(filename, "phatk110817.cl"); + strcpy(binaryfilename, "phatk110817"); break; } diff --git a/phatk110816.cl b/phatk110817.cl similarity index 100% rename from phatk110816.cl rename to phatk110817.cl diff --git a/poclbm110816.cl b/poclbm110817.cl similarity index 100% rename from poclbm110816.cl rename to poclbm110817.cl