Browse Source

Bump version numbers of kernels to indicate slightly different versions.

nfactor-troky
Con Kolivas 14 years ago
parent
commit
6d10ef2f6e
  1. 4
      Makefile.am
  2. 8
      ocl.c
  3. 0
      phatk110817.cl
  4. 0
      poclbm110817.cl

4
Makefile.am

@ -15,7 +15,7 @@ INCLUDES = $(PTHREAD_FLAGS) -fno-strict-aliasing $(JANSSON_INCLUDES) @@ -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 \ @@ -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

@ -350,13 +350,13 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize) @@ -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;
}

0
phatk110816.cl → phatk110817.cl

0
poclbm110816.cl → poclbm110817.cl

Loading…
Cancel
Save