diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2017-12-09 15:16:53 +0100 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2017-12-09 15:16:53 +0100 |
commit | ca5dbcd2bd31fb0a0e3f6c2f81b3c0fff6250738 (patch) | |
tree | bcf35f0d78f4d12d31a4224af3552e1517830d83 /src/tuning | |
parent | 02c0d640375591b46f9838489e4beb9936508888 (diff) |
Made the pre-processor run by default for ARM and Qualcomm GPUs
Diffstat (limited to 'src/tuning')
-rw-r--r-- | src/tuning/tuning.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tuning/tuning.hpp b/src/tuning/tuning.hpp index 329314e5..1d19a17c 100644 --- a/src/tuning/tuning.hpp +++ b/src/tuning/tuning.hpp @@ -227,7 +227,7 @@ void Tuner(int argc, char* argv[]) { // Compiles the kernel auto compiler_options = std::vector<std::string>(); const auto program = CompileFromSource(settings.sources, args.precision, settings.kernel_name, - device, context, compiler_options, false); + device, context, compiler_options, 0); auto kernel = Kernel(program, settings.kernel_name); C::SetArguments(kernel, args, device_buffers); printf(" %sOK%s |", kPrintSuccess.c_str(), kPrintEnd.c_str()); @@ -286,7 +286,7 @@ void Tuner(int argc, char* argv[]) { const auto start_time = std::chrono::steady_clock::now(); auto compiler_options = std::vector<std::string>(); const auto program = CompileFromSource(kernel_source, args.precision, settings.kernel_name, - device, context, compiler_options, false, true); + device, context, compiler_options, 0, true); auto kernel = Kernel(program, settings.kernel_name); const auto elapsed_time = std::chrono::steady_clock::now() - start_time; const auto timing = std::chrono::duration<double,std::milli>(elapsed_time).count(); |