Skip to content

Commit

Permalink
Merge pull request #250 from fancyIX/feature/#247
Browse files Browse the repository at this point in the history
Try to fix pre-navi code
  • Loading branch information
fancyIX committed Nov 30, 2021
2 parents 988c6e5 + 88b4ce5 commit 66be5db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ocl/build_kernel.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ void set_base_compiler_options(build_kernel_data *data)

if (data->opencl_version < 1.1)
strcat(data->compiler_options, " -D OCL1");
else {
else if (strstr(data->source_filename, "heavyhash") == NULL) {
strcat(data->compiler_options, " -cl-std=CL2.0");
}
}
Expand Down
2 changes: 1 addition & 1 deletion submodules/jansson

0 comments on commit 66be5db

Please sign in to comment.