Fix function name in error messages (#1450)

Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
Sven van Haastregt
2022-07-21 18:54:20 +01:00
committed by GitHub
parent a37884fe44
commit 2cf24e63b7
12 changed files with 24 additions and 12 deletions

View File

@@ -400,7 +400,8 @@ cl_int Test(cl_uint job_id, cl_uint thread_id, void *data)
if ((error = clEnqueueUnmapMemObject(tinfo->tQueue, tinfo->outBuf[j],
out[j], 0, NULL, NULL)))
{
vlog_error("Error: clEnqueueMapBuffer failed! err: %d\n", error);
vlog_error("Error: clEnqueueUnmapMemObject failed! err: %d\n",
error);
goto exit;
}

View File

@@ -404,7 +404,8 @@ cl_int Test(cl_uint job_id, cl_uint thread_id, void *data)
if ((error = clEnqueueUnmapMemObject(tinfo->tQueue, tinfo->outBuf[j],
out[j], 0, NULL, NULL)))
{
vlog_error("Error: clEnqueueMapBuffer failed! err: %d\n", error);
vlog_error("Error: clEnqueueUnmapMemObject failed! err: %d\n",
error);
goto exit;
}

View File

@@ -403,7 +403,8 @@ cl_int Test(cl_uint job_id, cl_uint thread_id, void *data)
if ((error = clEnqueueUnmapMemObject(tinfo->tQueue, tinfo->outBuf[j],
out[j], 0, NULL, NULL)))
{
vlog_error("Error: clEnqueueMapBuffer failed! err: %d\n", error);
vlog_error("Error: clEnqueueUnmapMemObject failed! err: %d\n",
error);
goto exit;
}

View File

@@ -393,7 +393,8 @@ cl_int Test(cl_uint job_id, cl_uint thread_id, void *data)
if ((error = clEnqueueUnmapMemObject(tinfo->tQueue, tinfo->outBuf[j],
out[j], 0, NULL, NULL)))
{
vlog_error("Error: clEnqueueMapBuffer failed! err: %d\n", error);
vlog_error("Error: clEnqueueUnmapMemObject failed! err: %d\n",
error);
goto exit;
}

View File

@@ -395,7 +395,8 @@ cl_int Test(cl_uint job_id, cl_uint thread_id, void *data)
if ((error = clEnqueueUnmapMemObject(tinfo->tQueue, tinfo->outBuf[j],
out[j], 0, NULL, NULL)))
{
vlog_error("Error: clEnqueueMapBuffer failed! err: %d\n", error);
vlog_error("Error: clEnqueueUnmapMemObject failed! err: %d\n",
error);
goto exit;
}

View File

@@ -407,7 +407,8 @@ cl_int Test(cl_uint job_id, cl_uint thread_id, void *data)
if ((error = clEnqueueUnmapMemObject(tinfo->tQueue, tinfo->outBuf[j],
out[j], 0, NULL, NULL)))
{
vlog_error("Error: clEnqueueMapBuffer failed! err: %d\n", error);
vlog_error("Error: clEnqueueUnmapMemObject failed! err: %d\n",
error);
goto exit;
}

View File

@@ -383,7 +383,8 @@ cl_int Test(cl_uint job_id, cl_uint thread_id, void *data)
if ((error = clEnqueueUnmapMemObject(tinfo->tQueue, tinfo->outBuf[j],
out[j], 0, NULL, NULL)))
{
vlog_error("Error: clEnqueueMapBuffer failed! err: %d\n", error);
vlog_error("Error: clEnqueueUnmapMemObject failed! err: %d\n",
error);
goto exit;
}

View File

@@ -375,7 +375,8 @@ cl_int Test(cl_uint job_id, cl_uint thread_id, void *data)
if ((error = clEnqueueUnmapMemObject(tinfo->tQueue, tinfo->outBuf[j],
out[j], 0, NULL, NULL)))
{
vlog_error("Error: clEnqueueMapBuffer failed! err: %d\n", error);
vlog_error("Error: clEnqueueUnmapMemObject failed! err: %d\n",
error);
goto exit;
}

View File

@@ -221,7 +221,8 @@ cl_int Test(cl_uint job_id, cl_uint thread_id, void *data)
if ((error = clEnqueueUnmapMemObject(tinfo->tQueue, tinfo->outBuf[j],
out[j], 0, NULL, NULL)))
{
vlog_error("Error: clEnqueueMapBuffer failed! err: %d\n", error);
vlog_error("Error: clEnqueueUnmapMemObject failed! err: %d\n",
error);
return error;
}

View File

@@ -223,7 +223,8 @@ cl_int Test(cl_uint job_id, cl_uint thread_id, void *data)
if ((error = clEnqueueUnmapMemObject(tinfo->tQueue, tinfo->outBuf[j],
out[j], 0, NULL, NULL)))
{
vlog_error("Error: clEnqueueMapBuffer failed! err: %d\n", error);
vlog_error("Error: clEnqueueUnmapMemObject failed! err: %d\n",
error);
return error;
}

View File

@@ -228,7 +228,8 @@ cl_int Test(cl_uint job_id, cl_uint thread_id, void *data)
if ((error = clEnqueueUnmapMemObject(tinfo->tQueue, tinfo->outBuf[j],
out[j], 0, NULL, NULL)))
{
vlog_error("Error: clEnqueueMapBuffer failed! err: %d\n", error);
vlog_error("Error: clEnqueueUnmapMemObject failed! err: %d\n",
error);
return error;
}

View File

@@ -256,7 +256,8 @@ cl_int Test(cl_uint job_id, cl_uint thread_id, void *data)
if ((error = clEnqueueUnmapMemObject(tinfo->tQueue, tinfo->outBuf[j],
out[j], 0, NULL, NULL)))
{
vlog_error("Error: clEnqueueMapBuffer failed! err: %d\n", error);
vlog_error("Error: clEnqueueUnmapMemObject failed! err: %d\n",
error);
return error;
}