Skip to content

Commit 6f3146b

Browse files
authored
error code consistency for images (KhronosGroup#1459)
* error code consistency for images * minor wording improvement
1 parent d12c348 commit 6f3146b

2 files changed

Lines changed: 240 additions & 230 deletions

File tree

api/opencl_platform_layer.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ errors footnote:[{fn-error-precedence}].
367367
** if _platform_ is not a valid platform
368368
* {CL_INVALID_VALUE}
369369
** if _param_name_ is not one of the supported values
370-
** if the size in bytes specified by _param_value_size_ is less than size of
370+
** if the size in bytes specified by _param_value_size_ is less than the size of
371371
the return type specified in the <<platform-queries-table, Platform
372372
Queries>> table and _param_value_ is not `NULL`
373373
* {CL_OUT_OF_HOST_MEMORY}
@@ -2274,7 +2274,7 @@ Otherwise, it returns one of the following errors:
22742274
** if _device_ is not a valid device
22752275
* {CL_INVALID_VALUE}
22762276
** if _param_name_ is not one of the supported values
2277-
** if the size in bytes specified by _param_value_size_ is less than size of
2277+
** if the size in bytes specified by _param_value_size_ is less than the size of
22782278
the return type specified in the <<device-queries-table, Device Queries>>
22792279
table and _param_value_ is not `NULL`
22802280
* {CL_OUT_OF_RESOURCES}
@@ -3776,7 +3776,7 @@ Otherwise, it returns one of the following errors:
37763776
** if _context_ is not a valid context
37773777
* {CL_INVALID_VALUE}
37783778
** if _param_name_ is not one of the supported values
3779-
** if the size in bytes specified by _param_value_size_ is less than size of
3779+
** if the size in bytes specified by _param_value_size_ is less than the size of
37803780
the return type specified in the <<context-info-table, Context Queries>>
37813781
table and _param_value_ is not `NULL`
37823782
* {CL_OUT_OF_RESOURCES}

0 commit comments

Comments
 (0)