Fix build breakage in vulkan tests
Fix bug introduced by #341. Move vulkan/vulkan_win32.h include to _WIN64 only section.
This commit is contained in:
@@ -21,7 +21,6 @@ THE SOFTWARE.
|
||||
|
||||
#include <vulkan/vulkan.h>
|
||||
|
||||
|
||||
#ifdef _WIN64
|
||||
|
||||
#include <Windows.h>
|
||||
@@ -33,10 +32,10 @@ THE SOFTWARE.
|
||||
#include <windef.h>
|
||||
#include <aclapi.h>
|
||||
#include <securitybaseapi.h>
|
||||
#include <vulkan/vulkan_win32.h>
|
||||
|
||||
#endif
|
||||
|
||||
#include <vulkan/vulkan_win32.h>
|
||||
#include <vector>
|
||||
#include <hip_test_common.hh>
|
||||
#include <hip/hip_runtime_api.h>
|
||||
@@ -334,4 +333,4 @@ VulkanTest::MappedBuffer<T> 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);
|
||||
hipExternalSemaphore_t ImportBinarySemaphore(VulkanTest& vkt);
|
||||
|
||||
Reference in New Issue
Block a user