Browse Source

Be more specific in error message about missing kernel code.

master
samr7 13 years ago
parent
commit
31783f5197
  1. 3
      oclvanitygen.c

3
oclvanitygen.c

@ -647,7 +647,8 @@ vg_ocl_load_program(vg_context_t *vcp, vg_ocl_context_t *vocp,
kfp = fopen(filename, "r"); kfp = fopen(filename, "r");
if (!kfp) { if (!kfp) {
printf("Error loading CL kernel: %s\n", strerror(errno)); printf("Error loading kernel file '%s': %s\n",
filename, strerror(errno));
free(buf); free(buf);
return 0; return 0;
} }

Loading…
Cancel
Save