From 0755368f42c8f233c67528e398352a9de2bb33bf Mon Sep 17 00:00:00 2001 From: David Phillips Date: Tue, 24 Apr 2018 16:57:48 +1200 Subject: Improve host-side checks, fix MSB bug, misc tidying Host-side check now uses from-scratch libssl SHA to confirm GPU work. Bug when most significant bit of the exponent is set turns out to be because of libssl's storage of such exponents requiring 5 bytes. This cannot be dynamically adjusted without adjusting the pre-calculated value which is hardcoded into the CL kernel for performance reasons (INITIAL_DATA_LEN) --- slurp.c | 1 - 1 file changed, 1 deletion(-) (limited to 'slurp.c') diff --git a/slurp.c b/slurp.c index e98f48f..773fc48 100644 --- a/slurp.c +++ b/slurp.c @@ -17,7 +17,6 @@ char *slurp(FILE *f, size_t *size) while (!feof(f)) { nread = fread(&buffer[*size], 1, BUFFER_STEP, f); *size += nread; - fprintf(stderr, "size is %d\n",*size); buffer = realloc(buffer, *size); if (!buffer) { perror("realloc"); -- cgit v1.1