diff options
Diffstat (limited to 'src/utilities/compile.cpp')
-rw-r--r-- | src/utilities/compile.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/utilities/compile.cpp b/src/utilities/compile.cpp index 6243d196..a3b90126 100644 --- a/src/utilities/compile.cpp +++ b/src/utilities/compile.cpp @@ -79,8 +79,7 @@ Program CompileFromSource(const std::string &source_string, const Precision prec // Runs a pre-processor to unroll loops and perform array-to-register promotion. Most OpenCL // compilers do this, but some don't. auto do_run_preprocessor = false; - if (run_preprocessor == 0) { do_run_preprocessor = (device.IsARM() && device.IsGPU()) || - (device.IsQualcomm() && device.IsGPU()); } + if (run_preprocessor == 0) { do_run_preprocessor = (device.IsARM() && device.IsGPU()); } if (run_preprocessor == 1) { do_run_preprocessor = true; } auto kernel_string = header_string + source_string; if (do_run_preprocessor) { |