Fix a couple of typos (#478)

Signed-off-by: Kévin Petit <kpet@free.fr>
This commit is contained in:
Kévin Petit
2019-11-11 17:07:40 +00:00
committed by GitHub
parent 055aa4fbbe
commit 32bbb19885
2 changed files with 2 additions and 2 deletions

View File

@@ -132,7 +132,7 @@ int test_get_image_info_single( cl_context context, image_descriptor *imageInfo,
size_t outSlicePitch;
error = clGetImageInfo( image, CL_IMAGE_SLICE_PITCH, sizeof( outSlicePitch ), &outSlicePitch, NULL );
test_error( error, "Unable to get image info (row pitch)" );
test_error( error, "Unable to get image info (slice pitch)" );
if( imageInfo->type == CL_MEM_OBJECT_IMAGE1D && outSlicePitch != 0 )
{
log_error( "ERROR: slice pitch returned is invalid! (expected %d, got %d)\n",