From 18d9c648bad10837182df4fb9731cfab5e580c74 Mon Sep 17 00:00:00 2001 From: Noel Maersk Date: Thu, 27 Mar 2014 16:52:15 +0200 Subject: [PATCH] opencl: update comment on generated binary file name. --- ocl.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ocl.c b/ocl.c index 37dcb880..06d14801 100644 --- a/ocl.c +++ b/ocl.c @@ -402,11 +402,9 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize) applog(LOG_DEBUG, "Max mem alloc size is %lu", (long unsigned int)(cgpu->max_alloc)); /* Create binary filename based on parameters passed to opencl - * compiler to ensure we only load a binary that matches what would - * have otherwise created. The filename is: - * name + kernelname +/- g(offset) + v + vectors + w + work_size + l + sizeof(long) + .bin - * For scrypt the filename is: - * name + kernelname + g + lg + lookup_gap + tc + thread_concurrency + w + work_size + l + sizeof(long) + .bin + * compiler to ensure we only load a binary that matches what + * would have otherwise created. The filename is: + * name + kernelname + g + lg + lookup_gap + tc + thread_concurrency + nf + nfactor + w + work_size + l + sizeof(long) + .bin */ char binaryfilename[255]; char filename[255];