1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

Bump version numbers of kernels to indicate slightly different versions.

This commit is contained in:
Con Kolivas 2011-08-22 10:17:23 +10:00
parent dfec430cb8
commit 6d10ef2f6e
4 changed files with 6 additions and 6 deletions

View File

@ -15,7 +15,7 @@ INCLUDES = $(PTHREAD_FLAGS) -fno-strict-aliasing $(JANSSON_INCLUDES)
bin_PROGRAMS = cgminer 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 \ cgminer_SOURCES = elist.h miner.h compat.h bench_block.h \
main.c util.c \ 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_generic.c sha256_4way.c sha256_via.c \
sha256_cryptopp.c sha256_sse2_amd64.c \ sha256_cryptopp.c sha256_sse2_amd64.c \
sha256_sse4_amd64.c \ sha256_sse4_amd64.c \
phatk110816.cl poclbm110816.cl phatk110817.cl poclbm110817.cl
cgminer_LDFLAGS = $(PTHREAD_FLAGS) 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 cgminer_LDADD = @LIBCURL_LIBS@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @OPENCL_LIBS@ @NCURSES_LIBS@ @PDCURSES_LIBS@ @WS2_LIBS@ lib/libgnu.a ccan/libccan.a

8
ocl.c
View File

@ -350,13 +350,13 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize)
switch (chosen_kernel) { switch (chosen_kernel) {
case KL_POCLBM: case KL_POCLBM:
strcpy(filename, "poclbm110816.cl"); strcpy(filename, "poclbm110817.cl");
strcpy(binaryfilename, "poclbm110816"); strcpy(binaryfilename, "poclbm110817");
break; break;
case KL_NONE: /* Shouldn't happen */ case KL_NONE: /* Shouldn't happen */
case KL_PHATK: case KL_PHATK:
strcpy(filename, "phatk110816.cl"); strcpy(filename, "phatk110817.cl");
strcpy(binaryfilename, "phatk110816"); strcpy(binaryfilename, "phatk110817");
break; break;
} }