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:
parent
dfec430cb8
commit
6d10ef2f6e
@ -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
|
||||
|
8
ocl.c
8
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user