From e6f426dee3e46bbdb9406f242bdd81ad6c4e4bfb Mon Sep 17 00:00:00 2001 From: Vladislav Sytchenko Date: Tue, 15 Oct 2019 14:20:14 -0400 Subject: [PATCH] hipMemset2D test should pass only if both async and sync subtests pass. [ROCm/clr commit: 39e42d4056a96068a28f40db261f5a33d8afd8a2] --- .../clr/hipamd/tests/src/runtimeApi/memory/hipMemset2D.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/clr/hipamd/tests/src/runtimeApi/memory/hipMemset2D.cpp b/projects/clr/hipamd/tests/src/runtimeApi/memory/hipMemset2D.cpp index b3bcf42222..73f3f5d415 100644 --- a/projects/clr/hipamd/tests/src/runtimeApi/memory/hipMemset2D.cpp +++ b/projects/clr/hipamd/tests/src/runtimeApi/memory/hipMemset2D.cpp @@ -113,8 +113,8 @@ int main(int argc, char *argv[]) hipCtxCreate(&context, 0, p_gpuDevice); bool testResult = false; - testResult = testhipMemset2D(memsetval, p_gpuDevice); - testResult = testhipMemset2DAsync(memsetval, p_gpuDevice); + testResult &= testhipMemset2D(memsetval, p_gpuDevice); + testResult &= testhipMemset2DAsync(memsetval, p_gpuDevice); hipCtxDestroy(context); if(testResult){ passed();