Skip to content

Commit fcd0660

Browse files
committed
Address review feedback
* Remove extraneous `cl_khr_command_buffer_multi_device` precondition from error wording. * Change "enabled" terminology to "supported" with regards to extensions.
1 parent 84129bf commit fcd0660

File tree

1 file changed

+11
-22
lines changed

1 file changed

+11
-22
lines changed

api/opencl_runtime_layer.asciidoc

Lines changed: 11 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -14370,8 +14370,7 @@ Otherwise, it returns one of the following errors:
1437014370
* {CL_INVALID_COMMAND_BUFFER_KHR} if _command_buffer_ is not a valid
1437114371
command-buffer.
1437214372
ifdef::cl_khr_command_buffer_multi_device[]
14373-
* {CL_INVALID_CONTEXT} if the {cl_khr_command_buffer_multi_device_EXT}
14374-
extension is enabled, and _command_queue_ is not `NULL`, and the context
14373+
* {CL_INVALID_CONTEXT} if _command_queue_ is not `NULL`, and the context
1437514374
associated with _command_queue_ and _command_buffer_ is not the same.
1437614375
endif::cl_khr_command_buffer_multi_device[]
1437714376
* {CL_INVALID_OPERATION} if _command_buffer_ has been finalized.
@@ -14458,8 +14457,7 @@ Otherwise, it returns the errors defined by {clEnqueueCopyBuffer} except:
1445814457
* {CL_INVALID_CONTEXT} if the context associated with _command_buffer_,
1445914458
_src_buffer_, and _dst_buffer_ is not the same.
1446014459
ifdef::cl_khr_command_buffer_multi_device[]
14461-
* {CL_INVALID_CONTEXT} if the {cl_khr_command_buffer_multi_device_EXT}
14462-
extension is enabled, and _command_queue_ is not `NULL`, and the context
14460+
* {CL_INVALID_CONTEXT} if _command_queue_ is not `NULL`, and the context
1446314461
associated with _command_queue_ and _command_buffer_ is not the same.
1446414462
endif::cl_khr_command_buffer_multi_device[]
1446514463

@@ -14568,8 +14566,7 @@ except:
1456814566
* {CL_INVALID_CONTEXT} if the context associated with _command_buffer_,
1456914567
_src_buffer_, and _dst_buffer_ is not the same.
1457014568
ifdef::cl_khr_command_buffer_multi_device[]
14571-
* {CL_INVALID_CONTEXT} if the {cl_khr_command_buffer_multi_device_EXT}
14572-
extension is enabled, and _command_queue_ is not `NULL`, and the context
14569+
* {CL_INVALID_CONTEXT} if _command_queue_ is not `NULL`, and the context
1457314570
associated with _command_queue_ and _command_buffer_ is not the same.
1457414571
endif::cl_khr_command_buffer_multi_device[]
1457514572

@@ -14661,8 +14658,7 @@ except:
1466114658
* {CL_INVALID_CONTEXT} if the context associated with _command_buffer_,
1466214659
_src_buffer_, and _dst_image_ is not the same.
1466314660
ifdef::cl_khr_command_buffer_multi_device[]
14664-
* {CL_INVALID_CONTEXT} if the {cl_khr_command_buffer_multi_device_EXT}
14665-
extension is enabled, and _command_queue_ is not `NULL`, and the context
14661+
* {CL_INVALID_CONTEXT} if _command_queue_ is not `NULL`, and the context
1466614662
associated with _command_queue_ and _command_buffer_ is not the same.
1466714663
endif::cl_khr_command_buffer_multi_device[]
1466814664

@@ -14760,8 +14756,7 @@ Otherwise, it returns the errors defined by {clEnqueueCopyImage} except:
1476014756
* {CL_INVALID_CONTEXT} if the context associated with _command_buffer_,
1476114757
_src_image_, and _dst_image_ is not the same.
1476214758
ifdef::cl_khr_command_buffer_multi_device[]
14763-
* {CL_INVALID_CONTEXT} if the {cl_khr_command_buffer_multi_device_EXT}
14764-
extension is enabled, and _command_queue_ is not `NULL`, and the context
14759+
* {CL_INVALID_CONTEXT} if _command_queue_ is not `NULL`, and the context
1476514760
associated with _command_queue_ and _command_buffer_ is not the same.
1476614761
endif::cl_khr_command_buffer_multi_device[]
1476714762

@@ -14853,8 +14848,7 @@ except:
1485314848
* {CL_INVALID_CONTEXT} if the context associated with _command_buffer_,
1485414849
_src_image_, and _dst_buffer_ is not the same.
1485514850
ifdef::cl_khr_command_buffer_multi_device[]
14856-
* {CL_INVALID_CONTEXT} if the {cl_khr_command_buffer_multi_device_EXT}
14857-
extension is enabled, and _command_queue_ is not `NULL`, and the context
14851+
* {CL_INVALID_CONTEXT} _command_queue_ is not `NULL`, and the context
1485814852
associated with _command_queue_ and _command_buffer_ is not the same.
1485914853
endif::cl_khr_command_buffer_multi_device[]
1486014854

@@ -14953,8 +14947,7 @@ Otherwise, it returns the errors defined by {clEnqueueFillBuffer} except:
1495314947
* {CL_INVALID_CONTEXT} if the context associated with _command_buffer_ and
1495414948
_buffer_ is not the same.
1495514949
ifdef::cl_khr_command_buffer_multi_device[]
14956-
* {CL_INVALID_CONTEXT} if the {cl_khr_command_buffer_multi_device_EXT}
14957-
extension is enabled, and _command_queue_ is not `NULL`, and the context
14950+
* {CL_INVALID_CONTEXT} if _command_queue_ is not `NULL`, and the context
1495814951
associated with _command_queue_ and _command_buffer_ is not the same.
1495914952
endif::cl_khr_command_buffer_multi_device[]
1496014953

@@ -15051,8 +15044,7 @@ Otherwise, it returns the errors defined by {clEnqueueFillImage} except:
1505115044
* {CL_INVALID_CONTEXT} if the context associated with _command_buffer_ and
1505215045
_image_ is not the same.
1505315046
ifdef::cl_khr_command_buffer_multi_device[]
15054-
* {CL_INVALID_CONTEXT} if the {cl_khr_command_buffer_multi_device_EXT}
15055-
extension is enabled, and _command_queue_ is not `NULL`, and the context
15047+
* {CL_INVALID_CONTEXT} if _command_queue_ is not `NULL`, and the context
1505615048
associated with _command_queue_ and _command_buffer_ is not the same.
1505715049
endif::cl_khr_command_buffer_multi_device[]
1505815050

@@ -15300,8 +15292,7 @@ Otherwise, it returns the errors defined by {clEnqueueNDRangeKernel} except:
1530015292
* {CL_INVALID_CONTEXT} if the context associated with _command_buffer_ and
1530115293
_kernel_ is not the same.
1530215294
ifdef::cl_khr_command_buffer_multi_device[]
15303-
* {CL_INVALID_CONTEXT} if the {cl_khr_command_buffer_multi_device_EXT}
15304-
extension is enabled, and _command_queue_ is not `NULL`, and the context
15295+
* {CL_INVALID_CONTEXT} if _command_queue_ is not `NULL`, and the context
1530515296
associated with _command_queue_ and _command_buffer_ is not the same.
1530615297
endif::cl_khr_command_buffer_multi_device[]
1530715298

@@ -15419,8 +15410,7 @@ Otherwise, it returns the errors defined by {clEnqueueSVMMemcpy} except:
1541915410
ifdef::cl_khr_command_buffer_multi_device[]
1542015411
{CL_INVALID_CONTEXT} is replaced with:
1542115412

15422-
* {CL_INVALID_CONTEXT} if the {cl_khr_command_buffer_multi_device_EXT}
15423-
extension is enabled, and _command_queue_ is not `NULL`, and the context
15413+
* {CL_INVALID_CONTEXT} if _command_queue_ is not `NULL`, and the context
1542415414
associated with _command_queue_ and _command_buffer_ is not the same.
1542515415

1542615416
endif::cl_khr_command_buffer_multi_device[]
@@ -15533,8 +15523,7 @@ successfully. Otherwise, it returns the errors defined by
1553315523
ifdef::cl_khr_command_buffer_multi_device[]
1553415524
{CL_INVALID_CONTEXT} is replaced with:
1553515525

15536-
* {CL_INVALID_CONTEXT} if the {cl_khr_command_buffer_multi_device_EXT}
15537-
extension is enabled, and _command_queue_ is not `NULL`, and the context
15526+
* {CL_INVALID_CONTEXT} if _command_queue_ is not `NULL`, and the context
1553815527
associated with _command_queue_ and _command_buffer_ is not the same.
1553915528
endif::cl_khr_command_buffer_multi_device[]
1554015529

0 commit comments

Comments
 (0)