[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.
Este cometimento está contido em:
cometido por
Maneesh Gupta
ascendente
fc60f3a95b
cometimento
93f5940ef8
@@ -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;
|
||||
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador