[dtests] Fix build issue with hipMemcpy_simple.cpp on windows (#1306)

Compilation error being observed on windows due to aligned_alloc() call. Mapped the call to _aligned_malloc() for windows.

[ROCm/hip commit: 9abae7114c]
Этот коммит содержится в:
amd-lthakur
2019-08-09 17:22:46 +05:30
коммит произвёл Maneesh Gupta
родитель 83e95631cf
Коммит 45652a1fba
+3
Просмотреть файл
@@ -29,6 +29,9 @@ THE SOFTWARE.
#include "hip/hip_runtime.h"
#include "test_common.h"
#ifdef _WIN64
#define aligned_alloc _aligned_malloc
#endif
bool p_async = false;