Skip to content

Commit

Permalink
Change device_side_abort to an EXT extension
Browse files Browse the repository at this point in the history
  • Loading branch information
pjaaskel committed May 14, 2022
1 parent ae8499b commit b8aafaa
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 22 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Khronos SPIR-V Registry](https://www.khronos.org/registry/spir-v/).
1. [SPV_KHR_bit_instructions ]( http://htmlpreview.github.io/?https://github.com/KhronosGroup/SPIRV-Registry/blob/main/extensions/KHR/SPV_KHR_bit_instructions.html)
1. [SPV_NV_ray_tracing_motion_blur ]( http://htmlpreview.github.io/?https://github.com/KhronosGroup/SPIRV-Registry/blob/main/extensions/NV/SPV_NV_ray_tracing_motion_blur.html)
1. [SPV_KHR_uniform_group_instructions ]( http://htmlpreview.github.io/?https://github.com/KhronosGroup/SPIRV-Registry/blob/main/extensions/KHR/SPV_KHR_uniform_group_instructions.html)
1. [SPV_POCL_device_side_abort ]( http://htmlpreview.github.io/?https://github.com/KhronosGroup/SPIRV-Registry/blob/main/extensions/KHR/SPV_POCL_device_side_abort.html)
1. [SPV_EXT_device_side_abort ]( http://htmlpreview.github.io/?https://github.com/KhronosGroup/SPIRV-Registry/blob/main/extensions/KHR/SPV_EXT_device_side_abort.html)

## Non-Semantic Extended Instruction Set Specifications

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:extension_name: SPV_POCL_device_side_abort
:extension_name: SPV_EXT_device_side_abort

= {extension_name}

Expand All @@ -25,14 +25,14 @@ http://www.khronos.org/registry/speccopyright.html

== Status

Early Draft
Draft

== Version

[width="40%",cols="25,25"]
|========================================
| Last Modified Date | {docdate}
| Revision | 1
| Revision | 2
|========================================

== Dependencies
Expand All @@ -47,8 +47,8 @@ This extension requires SPIR-V 1.0.

== Overview

This extension adds a new instruction pocl_abort_platform to support
the cl_pocl_device_side_abort OpenCL C extension.
This extension adds a new instruction abort_platform to support
the cl_ext_device_side_abort OpenCL C extension.

== Extension Name

Expand All @@ -66,10 +66,10 @@ Modify Section 2.8, "Misc instructions", adding the following new instruction
description:
+

*OpAbortPlatformPOCL* +
*OpAbortPlatformEXT* +
+
Implements the semantics of the builtin pocl_abort_platform() of semantics are
defined by the cl_pocl_device_side_abort OpenCL C extension. It stops the kernel
Implements the semantics of the builtin abort_platform() of semantics are
defined by the cl_ext_device_side_abort OpenCL C extension: It stops the kernel
execution immediately and causes an abnormal unrecoverable termination of the
host process in a straightforward and immediate manner.
+
Expand All @@ -92,5 +92,6 @@ Revision History
[options="header"]
|========================================
|Rev|Date|Author|Changes
|2|2022-05-14|Pekka Jääskeläinen, Brice Videau|Changed to an 'ext' extension to promote multi-vendor adoption.
|1|2022-04-08|Pekka Jääskeläinen|Initial RFC version.
|========================================
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Asciidoctor 2.0.10">
<title>SPV_POCL_device_side_abort</title>
<title>SPV_EXT_device_side_abort</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700">
<style>
/* Asciidoctor default stylesheet | MIT License | https://asciidoctor.org */
Expand Down Expand Up @@ -438,14 +438,14 @@
</head>
<body class="article">
<div id="header">
<h1>SPV_POCL_device_side_abort</h1>
<h1>SPV_EXT_device_side_abort</h1>
</div>
<div id="content">
<div class="sect1">
<h2 id="_name_strings">Name Strings</h2>
<div class="sectionbody">
<div class="paragraph">
<p>SPV_POCL_device_side_abort</p>
<p>SPV_EXT_device_side_abort</p>
</div>
</div>
</div>
Expand Down Expand Up @@ -483,7 +483,7 @@ <h2 id="_notice">Notice</h2>
<h2 id="_status">Status</h2>
<div class="sectionbody">
<div class="paragraph">
<p>Early Draft</p>
<p>Draft</p>
</div>
</div>
</div>
Expand All @@ -498,11 +498,11 @@ <h2 id="_version">Version</h2>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">Last Modified Date</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">2022-04-08</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">2022-05-14</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">Revision</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">1</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">2</p></td>
</tr>
</tbody>
</table>
Expand All @@ -528,8 +528,8 @@ <h2 id="_dependencies">Dependencies</h2>
<h2 id="_overview">Overview</h2>
<div class="sectionbody">
<div class="paragraph">
<p>This extension adds a new instruction pocl_abort_platform to support
the cl_pocl_device_side_abort OpenCL C extension.</p>
<p>This extension adds a new instruction abort_platform to support
the cl_ext_device_side_abort OpenCL C extension.</p>
</div>
</div>
</div>
Expand All @@ -542,7 +542,7 @@ <h2 id="_extension_name">Extension Name</h2>
</div>
<div class="listingblock">
<div class="content">
<pre>OpExtension "SPV_POCL_device_side_abort"</pre>
<pre>OpExtension "SPV_EXT_device_side_abort"</pre>
</div>
</div>
</div>
Expand All @@ -556,10 +556,10 @@ <h2 id="_modifications_to_the_opencl_extended_instruction_set_specification_vers
<br></p>
</div>
<div class="paragraph">
<p><strong>OpAbortPlatformPOCL</strong><br>
<p><strong>OpAbortPlatformEXT</strong><br>
<br>
Implements the semantics of the builtin pocl_abort_platform() of semantics are
defined by the cl_pocl_device_side_abort OpenCL C extension. It stops the kernel
Implements the semantics of the builtin abort_platform() of semantics are
defined by the cl_ext_device_side_abort OpenCL C extension: It stops the kernel
execution immediately and causes an abnormal unrecoverable termination of the
host process in a straightforward and immediate manner.
<br>
Expand Down Expand Up @@ -598,6 +598,12 @@ <h2 id="_revision_history">Revision History</h2>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">2</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">2022-05-14</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Pekka Jääskeläinen, Brice Videau</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Changed to an 'ext' extension to promote multi-vendor adoption.</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">1</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">2022-04-08</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Pekka Jääskeläinen</p></td>
Expand All @@ -610,7 +616,7 @@ <h2 id="_revision_history">Revision History</h2>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2022-04-08 13:51:16 +0300
Last updated 2022-05-14 08:25:09 +0300
</div>
</div>
</body>
Expand Down

0 comments on commit b8aafaa

Please sign in to comment.