From 421f940def4d39c57b98ccaa606a0037f1dca9df 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 [ROCm/clr commit: c212c484afc9d21233f2a0879e196424fdde9ea4] --- .../clr/hipamd/tests/src/deviceLib/hipAsynchronousStreams.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/clr/hipamd/tests/src/deviceLib/hipAsynchronousStreams.cpp b/projects/clr/hipamd/tests/src/deviceLib/hipAsynchronousStreams.cpp index 165c469941..2d15d33f1d 100644 --- a/projects/clr/hipamd/tests/src/deviceLib/hipAsynchronousStreams.cpp +++ b/projects/clr/hipamd/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 =