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) {