From 577bac5de82437b88bf64d9f4aca545d021fd8cd Mon Sep 17 00:00:00 2001 From: Vladislav Sytchenko Date: Wed, 16 Oct 2019 11:02:38 -0400 Subject: [PATCH] hipMemset2D and hipMemset3D tests should be passing by default. [ROCm/clr commit: 86d0c5fa5a54a0d754a62a0d0e134f8733e70181] --- projects/clr/hipamd/tests/src/runtimeApi/memory/hipMemset2D.cpp | 2 +- projects/clr/hipamd/tests/src/runtimeApi/memory/hipMemset3D.cpp | 2 +- 2 files 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 449f0b6f78..2eb62a859f 100644 --- a/projects/clr/hipamd/tests/src/runtimeApi/memory/hipMemset2D.cpp +++ b/projects/clr/hipamd/tests/src/runtimeApi/memory/hipMemset2D.cpp @@ -113,7 +113,7 @@ int main(int argc, char *argv[]) hipCtx_t context; hipCtxCreate(&context, 0, p_gpuDevice); - bool testResult = false; + bool testResult = true; testResult &= testhipMemset2D(memsetval, p_gpuDevice); testResult &= testhipMemset2DAsync(memsetval, p_gpuDevice); hipCtxDestroy(context); diff --git a/projects/clr/hipamd/tests/src/runtimeApi/memory/hipMemset3D.cpp b/projects/clr/hipamd/tests/src/runtimeApi/memory/hipMemset3D.cpp index a47b609c73..1917559f2a 100644 --- a/projects/clr/hipamd/tests/src/runtimeApi/memory/hipMemset3D.cpp +++ b/projects/clr/hipamd/tests/src/runtimeApi/memory/hipMemset3D.cpp @@ -134,7 +134,7 @@ int main(int argc, char *argv[]) { HipTest::parseStandardArguments(argc, argv, true); HIPCHECK(hipSetDevice(p_gpuDevice)); - bool testResult = false; + bool testResult = true; testResult &= testhipMemset3D(memsetval, p_gpuDevice); testResult &= testhipMemset3DAsync(memsetval, p_gpuDevice); if (testResult) {