mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-17 03:19:48 +00:00
Fix cmake warnings (#1342)
* Cmake add -Wno-nvcc-compt
* Remove template without initialization list
* dpp remove template without init list
* Fixes
[ROCm/composable_kernel commit: 510325a468]
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
// Copyright (c) 2023, Advanced Micro Devices, Inc. All rights reserved.
|
||||
// Copyright (c) 2023-2024, Advanced Micro Devices, Inc. All rights reserved.
|
||||
|
||||
#include <cstdlib>
|
||||
#include <iostream>
|
||||
@@ -207,7 +207,7 @@ TEST_F(TestGroupedConvndFwdMultiAInterface, MultiA)
|
||||
std::array<const void*, NumAs> as{nullptr, nullptr};
|
||||
const void* b = nullptr;
|
||||
|
||||
EXPECT_TRUE(this->template Run(as, b));
|
||||
EXPECT_TRUE(this->Run(as, b));
|
||||
}
|
||||
|
||||
TEST_F(TestGroupedConvndFwdMultiBInterface, MultiB)
|
||||
@@ -215,7 +215,7 @@ TEST_F(TestGroupedConvndFwdMultiBInterface, MultiB)
|
||||
const void* a = nullptr;
|
||||
std::array<const void*, NumBs> bs{nullptr, nullptr};
|
||||
|
||||
EXPECT_TRUE(this->template Run(a, bs));
|
||||
EXPECT_TRUE(this->Run(a, bs));
|
||||
}
|
||||
|
||||
TEST_F(TestGroupedConvndFwdMultiABInterface, MultiAB)
|
||||
@@ -223,7 +223,7 @@ TEST_F(TestGroupedConvndFwdMultiABInterface, MultiAB)
|
||||
std::array<const void*, NumAs> as{nullptr, nullptr};
|
||||
std::array<const void*, NumBs> bs{nullptr, nullptr};
|
||||
|
||||
EXPECT_TRUE(this->template Run(as, bs));
|
||||
EXPECT_TRUE(this->Run(as, bs));
|
||||
}
|
||||
|
||||
TEST_F(TestGroupedConvndFwdInterface, SingleAB)
|
||||
@@ -231,5 +231,5 @@ TEST_F(TestGroupedConvndFwdInterface, SingleAB)
|
||||
const void* a = nullptr;
|
||||
const void* b = nullptr;
|
||||
|
||||
EXPECT_TRUE(this->template Run(a, b));
|
||||
EXPECT_TRUE(this->Run(a, b));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user