Skip to content

Commit 8489478

Browse files
KerilkSunSerega
andauthored
cl_loader_layers update (#851)
* Added Contributors. * Added `CL_LAYER_NAME` info query for layers. * Added `CL_LAYER_OPTIONS` info query for layers. * Update ext/cl_loader_layers.asciidoc Co-authored-by: Sun Serega <sunserega2@gmail.com> * Update ext/cl_loader_layers.asciidoc * Remove options for now as suggested by the working group. --------- Co-authored-by: Sun Serega <sunserega2@gmail.com>
1 parent d116f12 commit 8489478

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

ext/cl_loader_layers.asciidoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ interception layers (Layer ICDs) for OpenCL.
2323
| 2020-11-04 | 1.0.0 | First assigned version.
2424
|====
2525

26+
==== Contributors
27+
28+
Brice Videau, Argonne National Laboratory
29+
2630
[[cl_loader_layers-new-procedures-and-functions]]
2731
=== New Procedures and Functions
2832

@@ -60,6 +64,7 @@ Accepted as _param_name_ to the function *clGetLayerInfo*:
6064
[source,opencl]
6165
----
6266
#define CL_LAYER_API_VERSION 0x4240
67+
#define CL_LAYER_NAME 0x4241
6368
----
6469

6570

@@ -125,6 +130,7 @@ in the <<layer-queries-table, Layer Queries>> table.
125130
|====
126131
| Layer Info | Return Type | Description
127132
| *CL_LAYER_API_VERSION* | cl_layer_api_version | OpenCL Layer API version
133+
| *CL_LAYER_NAME* | char[] | OpenCL Layer Name
128134
|====
129135

130136
*clGetLayerInfo* returns *CL_SUCCESS* if the function is executed

xml/cl.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2208,7 +2208,8 @@ server's OpenCL/api-docs repository.
22082208

22092209
<enums start="0x4240" end="0x424F" name="enums.4240" comment="Reserved for ICD Loader Layers">
22102210
<enum value="0x4240" name="CL_LAYER_API_VERSION"/>
2211-
<unused start="0x4241" end="0x424F"/>
2211+
<enum value="0x4241" name="CL_LAYER_NAME"/>
2212+
<unused start="0x4242" end="0x424F"/>
22122213
</enums>
22132214

22142215
<enums start="0x4250" end="0x425F" name="enums.4250" vendor="Intel">
@@ -5490,6 +5491,7 @@ server's OpenCL/api-docs repository.
54905491
</require>
54915492
<require comment="cl_layer_info">
54925493
<enum name="CL_LAYER_API_VERSION"/>
5494+
<enum name="CL_LAYER_NAME"/>
54935495
</require>
54945496
<require comment="Misc API enums">
54955497
<enum name="CL_LAYER_API_VERSION_100"/>

0 commit comments

Comments
 (0)