Skip to content

Commit fd35c77

Browse files
committed
Kernel include path fix.
1 parent 6971ce6 commit fd35c77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocl/build_kernel.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ static char *file_contents(const char *filename, int *length)
4949
void set_base_compiler_options(build_kernel_data *data)
5050
{
5151
char buf[255];
52-
sprintf(data->compiler_options, "-I \"%s\" -I \"%s\\kernel\" -I \".\" -D WORKSIZE=%d",
52+
sprintf(data->compiler_options, "-I \"%s\" -I \"%s/kernel\" -I \".\" -D WORKSIZE=%d",
5353
data->sgminer_path, data->sgminer_path, (int)data->work_size);
5454
applog(LOG_DEBUG, "Setting worksize to %d", (int)(data->work_size));
5555

0 commit comments

Comments
 (0)