diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2018-07-28 16:01:03 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2018-07-28 16:01:03 +0200 |
commit | fa84ac36f23c1aebb5facf946b21d8c0f1a4a46d (patch) | |
tree | 624d3830c45d40561f2e88946f4fd37e5addca74 /src/tuning/tuning.cpp | |
parent | dda1e567f872d3d89f2f7cd890fb5b29ff98537c (diff) |
The tuners now also check for valid local thread configurations and skip invalid ones completely, saving compilation time
Diffstat (limited to 'src/tuning/tuning.cpp')
-rw-r--r-- | src/tuning/tuning.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tuning/tuning.cpp b/src/tuning/tuning.cpp index 822f8851..d382fb18 100644 --- a/src/tuning/tuning.cpp +++ b/src/tuning/tuning.cpp @@ -172,7 +172,8 @@ void Tuner(int argc, char* argv[], const int V, } // Sets the tunable parameters and their possible values - auto configurations = SetConfigurations(device, settings.parameters, + auto configurations = SetConfigurations(device, settings.parameters, settings.local_size, + settings.mul_local, settings.div_local, SetConstraints(V), ComputeLocalMemSize(V)); printf("* Found %s%zu configuration(s)%s\n", kPrintMessage.c_str(), configurations.size(), kPrintEnd.c_str()); |