From 32bbb19885906e50229934657bf066170d779344 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Petit?= Date: Mon, 11 Nov 2019 17:07:40 +0000 Subject: [PATCH] Fix a couple of typos (#478) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kévin Petit --- test_conformance/api/test_queries.cpp | 2 +- test_conformance/images/clGetInfo/test_2D.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test_conformance/api/test_queries.cpp b/test_conformance/api/test_queries.cpp index b1a07a31..1518062d 100644 --- a/test_conformance/api/test_queries.cpp +++ b/test_conformance/api/test_queries.cpp @@ -397,7 +397,7 @@ int test_get_device_info(cl_device_id deviceID, cl_context context, cl_command_q // extensions can support double but may not support cl_khr_fp64, which implies math library support. cl_uint baseAddrAlign; - TEST_DEVICE_PARAM( deviceID, CL_DEVICE_MEM_BASE_ADDR_ALIGN, baseAddrAlign, "base address alignment", "%d bytes", int ) + TEST_DEVICE_PARAM( deviceID, CL_DEVICE_MEM_BASE_ADDR_ALIGN, baseAddrAlign, "base address alignment", "%d bits", int ) cl_uint maxDataAlign; TEST_DEVICE_PARAM( deviceID, CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE, maxDataAlign, "min data type alignment", "%d bytes", int ) diff --git a/test_conformance/images/clGetInfo/test_2D.cpp b/test_conformance/images/clGetInfo/test_2D.cpp index 4a72735d..49537075 100644 --- a/test_conformance/images/clGetInfo/test_2D.cpp +++ b/test_conformance/images/clGetInfo/test_2D.cpp @@ -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",