From 2c41a3a34d6e57041c77075fb20ba9c9357ececf Mon Sep 17 00:00:00 2001 From: Maneesh Gupta Date: Sat, 8 Jul 2023 21:12:54 +0530 Subject: [PATCH] Fix build breakage in vulkan tests Fix bug introduced by #341. Move vulkan/vulkan_win32.h include to _WIN64 only section. --- catch/unit/vulkan_interop/vulkan_test.hh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/catch/unit/vulkan_interop/vulkan_test.hh b/catch/unit/vulkan_interop/vulkan_test.hh index 82123958f6..5c6089462a 100644 --- a/catch/unit/vulkan_interop/vulkan_test.hh +++ b/catch/unit/vulkan_interop/vulkan_test.hh @@ -21,7 +21,6 @@ THE SOFTWARE. #include - #ifdef _WIN64 #include @@ -33,10 +32,10 @@ THE SOFTWARE. #include #include #include +#include #endif -#include #include #include #include @@ -334,4 +333,4 @@ VulkanTest::MappedBuffer VulkanTest::CreateMappedStorage(uint32_t count, // Sometimes in CUDA the stream is not immediately ready after a semaphore has been signaled void PollStream(hipStream_t stream, hipError_t expected, uint32_t num_iterations = 5); -hipExternalSemaphore_t ImportBinarySemaphore(VulkanTest& vkt); \ No newline at end of file +hipExternalSemaphore_t ImportBinarySemaphore(VulkanTest& vkt);