You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/core/EXT_Exp_ImageView.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ from templates import helper as th
15
15
=========================
16
16
17
17
%if ver >= 1.5:
18
-
This experimental extension is deprecated and replaced by the ${x}_extension_image_view standard extension.
18
+
This experimental extension is deprecated and replaced by the :ref:`${th.subt(namespace, tags, X)}_extension_image_view<${th.subt(namespace, tags, X)}_extension_image_view>` standard extension.
Copy file name to clipboardExpand all lines: scripts/core/EXT_Exp_ImageViewPlanar.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ from templates import helper as th
15
15
=============================
16
16
17
17
%if ver >= 1.5:
18
-
This experimental extension is deprecated and replaced by the ${x}_extension_image_view_planar standard extension.
18
+
This experimental extension is deprecated and replaced by the :ref:`${th.subt(namespace, tags, X)}_extension_image_view_planar<${th.subt(namespace, tags, X)}_extension_image_view_planar>` standard extension.
Copy file name to clipboardExpand all lines: scripts/core/SPIRV.rst
+11-14Lines changed: 11 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,7 @@
1
-
1
+
<%
2
+
import re
3
+
from templates import helper as th
4
+
%>
2
5
<%
3
6
OneApi=tags['$OneApi']
4
7
x=tags['$x']
@@ -414,13 +417,12 @@ Floating-Point Atomics
414
417
----------------------
415
418
416
419
${OneApi} Level-Zero API environments supporting the extension
417
-
**${x}_extension_float_atomics** must support additional atomic instructions,
418
-
capabilities, and types.
420
+
**${th.subt(namespace, tags, X)}_extension_float_atomics** must support additional atomic instructions, capabilities, and types.
419
421
420
422
Atomic Load, Store, and Exchange
421
423
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422
424
423
-
If the ${OneApi} Level-Zero API environment supports the extension **${X}_extension_float_atomics** and ${x}_device_fp_atomic_ext_flags_t.fp16Flags includes ${X}_DEVICE_FP_ATOMIC_EXT_FLAG_GLOBAL_LOAD_STORE or ${X}_DEVICE_FP_ATOMIC_EXT_FLAG_LOCAL_LOAD_STORE, then for the **Atomic Instructions** **OpAtomicLoad**, **OpAtomicStore**, and **OpAtomicExchange**:
425
+
If the ${OneApi} Level-Zero API environment supports the extension **${th.subt(namespace, tags, X)}_extension_float_atomics** and ${x}_device_fp_atomic_ext_flags_t.fp16Flags includes ${X}_DEVICE_FP_ATOMIC_EXT_FLAG_GLOBAL_LOAD_STORE or ${X}_DEVICE_FP_ATOMIC_EXT_FLAG_LOCAL_LOAD_STORE, then for the **Atomic Instructions** **OpAtomicLoad**, **OpAtomicStore**, and **OpAtomicExchange**:
424
426
425
427
- 16-bit floating-point types are supported for the *Result Type* and type of
426
428
*Value*.
@@ -430,7 +432,7 @@ If the ${OneApi} Level-Zero API environment supports the extension **${X}_extens
430
432
Atomic Add and Subtract
431
433
~~~~~~~~~~~~~~~~~~~~~~~
432
434
433
-
If the ${OneApi} Level-Zero API environment supports the extension **${X}_extension_float_atomics** and ${x}_device_fp_atomic_ext_flags_t.fp16Flags, ${x}_device_fp_atomic_ext_flags_t.fp32Flags, or ${x}_device_fp_atomic_ext_flags_t.fp64Flags include ${X}_DEVICE_FP_ATOMIC_EXT_FLAG_GLOBAL_ADD or ${X}_DEVICE_FP_ATOMIC_EXT_FLAG_LOCAL_ADD, then the environment must accept modules that declare use of the extensions ``SPV_EXT_shader_atomic_float_add`` and ``SPV_EXT_shader_atomic_float16_add``.
435
+
If the ${OneApi} Level-Zero API environment supports the extension **${th.subt(namespace, tags, X)}_extension_float_atomics** and ${x}_device_fp_atomic_ext_flags_t.fp16Flags, ${x}_device_fp_atomic_ext_flags_t.fp32Flags, or ${x}_device_fp_atomic_ext_flags_t.fp64Flags include ${X}_DEVICE_FP_ATOMIC_EXT_FLAG_GLOBAL_ADD or ${X}_DEVICE_FP_ATOMIC_EXT_FLAG_LOCAL_ADD, then the environment must accept modules that declare use of the extensions ``SPV_EXT_shader_atomic_float_add`` and ``SPV_EXT_shader_atomic_float16_add``.
434
436
Additionally:
435
437
436
438
- When ${x}_device_fp_atomic_ext_flags_t.fp16Flags includes ${X}_DEVICE_FP_ATOMIC_EXT_FLAG_GLOBAL_ADD or ${X}_DEVICE_FP_ATOMIC_EXT_FLAG_LOCAL_ADD, the **AtomicFloat16AddEXT** capability must be supported.
@@ -444,7 +446,7 @@ Additionally:
444
446
Atomic Min and Max
445
447
~~~~~~~~~~~~~~~~~~
446
448
447
-
If the ${OneApi} Level-Zero API environment supports the extension **${X}_extension_float_atomics** and the ${x}_device_fp_atomic_ext_flags_t.fp32Flags, ${x}_device_fp_atomic_ext_flags_t.fp64Flags, or ${x}_device_fp_atomic_ext_flags_t.fp16Flags bitfields include ${X}_DEVICE_FP_ATOMIC_EXT_FLAG_GLOBAL_MIN_MAX or ${X}_DEVICE_FP_ATOMIC_EXT_FLAG_LOCAL_MIN_MAX, then the environment must accept modules that declare use of the extension ``SPV_EXT_shader_atomic_float_min_max``.
449
+
If the ${OneApi} Level-Zero API environment supports the extension **${th.subt(namespace, tags, X)}_extension_float_atomics** and the ${x}_device_fp_atomic_ext_flags_t.fp32Flags, ${x}_device_fp_atomic_ext_flags_t.fp64Flags, or ${x}_device_fp_atomic_ext_flags_t.fp16Flags bitfields include ${X}_DEVICE_FP_ATOMIC_EXT_FLAG_GLOBAL_MIN_MAX or ${X}_DEVICE_FP_ATOMIC_EXT_FLAG_LOCAL_MIN_MAX, then the environment must accept modules that declare use of the extension ``SPV_EXT_shader_atomic_float_min_max``.
448
450
Additionally:
449
451
450
452
- When ${x}_device_fp_atomic_ext_flags_t.fp32Flags includes ${X}_DEVICE_FP_ATOMIC_EXT_FLAG_GLOBAL_MIN_MAX or ${X}_DEVICE_FP_ATOMIC_EXT_FLAG_LOCAL_MIN_MAX, the **AtomicFloat32MinMaxEXT** capability must be supported.
@@ -462,8 +464,7 @@ Extended Subgroups
462
464
------------------
463
465
464
466
${OneApi} Level-Zero API environments supporting the extension
465
-
**${X}_extension_subgroups** must support additional subgroup instructions,
466
-
capabilities, and types.
467
+
**${th.subt(namespace, tags, X)}_extension_subgroups** must support additional subgroup instructions, capabilities, and types.
467
468
468
469
Extended Types
469
470
~~~~~~~~~~~~~~
@@ -655,9 +656,7 @@ Linkonce ODR
655
656
------------
656
657
657
658
${OneApi} Level-Zero API environments supporting the extension
658
-
**${X}_extension_linkonce_odr** must must accept SPIR-V modules that
659
-
declare use of the ``SPV_KHR_linkonce_odr`` extension via
660
-
**OpExtension**.
659
+
**${th.subt(namespace, tags, X)}_extension_linkonce_odr** must must accept SPIR-V modules that declare use of the ``SPV_KHR_linkonce_odr`` extension via **OpExtension**.
661
660
662
661
When use of the ``SPV_KHR_linkonce_odr`` extension is declared in the
663
662
module via **OpExtension**, the environment must accept modules that
@@ -670,9 +669,7 @@ Bfloat16 Conversions
670
669
--------------------
671
670
672
671
${OneApi} Level-Zero API environments supporting the extension
673
-
**${X}_extension_bfloat16_conversions** must must accept SPIR-V modules that
674
-
declare use of the ``SPV_INTEL_bloat16_conversion`` extension via
675
-
**OpExtension**.
672
+
**${th.subt(namespace, tags, X)}_extension_bfloat16_conversions** must must accept SPIR-V modules that declare use of the ``SPV_INTEL_bloat16_conversion`` extension via **OpExtension**.
676
673
677
674
When use of the ``SPV_INTEL_bloat16_conversion`` extension is declared in the
678
675
module via **OpExtension**, the environment must accept modules that
0 commit comments