Browse Source

Kernel include path fix.

djm34
troky 11 years ago
parent
commit
fd35c77c82
  1. 2
      ocl/build_kernel.c

2
ocl/build_kernel.c

@ -49,7 +49,7 @@ static char *file_contents(const char *filename, int *length) @@ -49,7 +49,7 @@ static char *file_contents(const char *filename, int *length)
void set_base_compiler_options(build_kernel_data *data)
{
char buf[255];
sprintf(data->compiler_options, "-I \"%s\" -I \"%s\\kernel\" -I \".\" -D WORKSIZE=%d",
sprintf(data->compiler_options, "-I \"%s\" -I \"%s/kernel\" -I \".\" -D WORKSIZE=%d",
data->sgminer_path, data->sgminer_path, (int)data->work_size);
applog(LOG_DEBUG, "Setting worksize to %d", (int)(data->work_size));

Loading…
Cancel
Save