SWDEV-474159 - Query max LDS in Unit_hipDynamicShared

Change-Id: Ie78613ea1a87d69aff4f764368ea7a1893e021f5
このコミットが含まれているのは:
Ioannis Assiouras
2024-07-17 17:16:11 +01:00
コミット 5e26ec0bb1
2個のファイルの変更4行の追加28行の削除
-21
ファイルの表示
@@ -237,27 +237,6 @@ static inline bool IsGfx11() {
#endif
}
static inline bool IsMi350() {
#if HT_NVIDIA
return false;
#elif HT_AMD
int device = -1;
hipDeviceProp_t props{};
HIP_CHECK(hipGetDevice(&device));
HIP_CHECK(hipGetDeviceProperties(&props, device));
// Get GCN Arch Name and compare to check if it is gfx11
std::string arch = std::string(props.gcnArchName);
auto pos = arch.find("gfx950");
if (pos != std::string::npos)
return true;
else
return false;
#else
std::cout << "Have to be either Nvidia or AMD platform, asserting" << std::endl;
assert(false);
#endif
}
// Utility Functions
namespace HipTest {
static inline int getDeviceCount() {