From d3ffad7c836d8635d11fb346bd6eeec5da91c592 Mon Sep 17 00:00:00 2001 From: amd-lthakur <46560939+amd-lthakur@users.noreply.github.com> Date: Fri, 9 Aug 2019 17:19:31 +0530 Subject: [PATCH] [dtests] Fixed build issues with hipAsynchronousStreams.cpp on windows (#1292) Changed the third arg of the functions __hip_as_write_block and __ockl_as_write_block from ulong to uint64_t so as to fix the compilation error in windows --- tests/src/deviceLib/hipAsynchronousStreams.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/src/deviceLib/hipAsynchronousStreams.cpp b/tests/src/deviceLib/hipAsynchronousStreams.cpp index 165c469941..2d15d33f1d 100644 --- a/tests/src/deviceLib/hipAsynchronousStreams.cpp +++ b/tests/src/deviceLib/hipAsynchronousStreams.cpp @@ -108,12 +108,12 @@ typedef struct { extern "C" __device__ __ockl_as_status_t __ockl_as_write_block(__ockl_as_stream_t ATTR_GLOBAL *stream, uchar service_id, - ulong *connection_id, const uchar *str, uint32_t len, + uint64_t *connection_id, const uchar *str, uint32_t len, uchar flags); __device__ __ockl_as_status_t __hip_as_write_block(__ockl_as_stream_t *stream, uchar service_id, - ulong *connection_id, const uchar *str, uint32_t len, + uint64_t *connection_id, const uchar *str, uint32_t len, uchar flags) { __ockl_as_stream_t ATTR_GLOBAL *gstream =