Fixed unused variable warnings showing up with Clang
parent
7aabeb44cc
commit
ef71d8e9b5
|
@ -118,7 +118,7 @@ TunerSettings GetTunerSettings(const int V, const Arguments<T> &args) {
|
|||
|
||||
// Tests for valid arguments
|
||||
template <typename T>
|
||||
void TestValidArguments(const int V, const Arguments<T> &) { }
|
||||
void TestValidArguments(const int, const Arguments<T> &) { }
|
||||
std::vector<Constraint> SetConstraints(const int V) {
|
||||
auto constraints = std::vector<Constraint>();
|
||||
auto MultipleOfX = [] (std::vector<size_t> v) { return IsMultiple(v[0], v[1]); };
|
||||
|
|
|
@ -142,7 +142,7 @@ public:
|
|||
}
|
||||
|
||||
// Describes how to compute performance metrics
|
||||
static size_t GetFlops(const Arguments<T> &args) {
|
||||
static size_t GetFlops(const Arguments<T> &) {
|
||||
return 1;
|
||||
}
|
||||
static size_t GetBytes(const Arguments<T> &args) {
|
||||
|
|
Loading…
Reference in New Issue