Skip to content

Commit

Permalink
Improve log consistency (#1196)
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Antognini <marco.antognini@arm.com>
  • Loading branch information
mantognini authored Mar 24, 2021
1 parent dbd3e78 commit ef19796
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test_conformance/math_brute_force/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1264,15 +1264,15 @@ test_status InitCL(cl_device_id device)
clCreateBuffer(gContext, device_flags, BUFFER_SIZE, gIn2, &error);
if (gInBuffer2 == NULL || error)
{
vlog_error("clCreateArray2 failed for input (%d)\n", error);
vlog_error("clCreateBuffer2 failed for input (%d)\n", error);
return TEST_FAIL;
}

gInBuffer3 =
clCreateBuffer(gContext, device_flags, BUFFER_SIZE, gIn3, &error);
if (gInBuffer3 == NULL || error)
{
vlog_error("clCreateArray3 failed for input (%d)\n", error);
vlog_error("clCreateBuffer3 failed for input (%d)\n", error);
return TEST_FAIL;
}

Expand All @@ -1290,14 +1290,14 @@ test_status InitCL(cl_device_id device)
gOut[i], &error);
if (gOutBuffer[i] == NULL || error)
{
vlog_error("clCreateArray failed for output (%d)\n", error);
vlog_error("clCreateBuffer failed for output (%d)\n", error);
return TEST_FAIL;
}
gOutBuffer2[i] = clCreateBuffer(gContext, device_flags, BUFFER_SIZE,
gOut2[i], &error);
if (gOutBuffer2[i] == NULL || error)
{
vlog_error("clCreateArray2 failed for output (%d)\n", error);
vlog_error("clCreateBuffer2 failed for output (%d)\n", error);
return TEST_FAIL;
}
}
Expand Down

0 comments on commit ef19796

Please sign in to comment.