SWDEV-1 - Fix warnings and update disabled test list (#163)

- Fix warnings in some test cases due to unused variables or signed/unsigned comparison.
- Disabled vulkan tests on MI200.
This commit is contained in:
Maneesh Gupta authored and GitHub committed 2023-02-09 18:52:27 +05:30
1 orang tua 554ab5dc40
melakukan 88fbbd666b
6 files changed
+24 -9

No files matched your search

@@ -25,9 +25,11 @@ constexpr bool enable_validation = false;
TEST_CASE("Unit_hipImportExternalMemory_Vulkan_Negative_Parameters") {
VulkanTest vkt(enable_validation);
#if HT_NVIDIA
const auto storage = vkt.CreateMappedStorage<int>(1, VK_BUFFER_USAGE_TRANSFER_DST_BIT, true);
auto desc = vkt.BuildMemoryDescriptor(storage.memory, sizeof(*storage.host_ptr));
hipExternalMemory_t ext_memory;
#endif
// Disabled due to defect - EXSWHTEC-182
#if HT_NVIDIA
@@ -73,4 +75,4 @@ TEST_CASE("Unit_hipImportExternalMemory_Vulkan_Negative_Parameters") {
HIP_CHECK_ERROR(hipImportExternalMemory(&ext_memory, &desc), hipErrorInvalidValue);
}
#endif
}
}