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
[SPIRV] Enable OpenCL max_work_group_size translation via SPV_INTEL_kernel_attributes (#165891)
This adds BE support for the
[`SPV_INTEL_kernel_attributes`](https://github.khronos.org/SPIRV-Registry/extensions/INTEL/SPV_INTEL_kernel_attributes.html)
extension. The extension is necessary to encode the rather useful
`max_work_group_size` kernel attribute, via `OpExecutionMode
MaxWorkgroupSizeINTEL`, which is the only Execution Mode added by the
extension that this patch adds full processing for. Future patches will
add the other Execution Modes and Capabilities. The test is adapted from
the equivalent Translator test; it depends on #165815.
- Adds decorations that can be applied to global (module scope) variables to help code generation for FPGA devices.
190
+
* - ``SPV_INTEL_kernel_attributes``
191
+
- Adds execution modes that can be applied to entry points to inform scheduling.
190
192
* - ``SPV_INTEL_media_block_io``
191
193
- Adds additional subgroup block read and write functionality that allow applications to flexibly specify the width and height of the block to read from or write to a 2D image.
192
194
* - ``SPV_INTEL_memory_access_aliasing``
@@ -226,9 +228,9 @@ Below is a list of supported SPIR-V extensions, sorted alphabetically by their e
226
228
* - ``SPV_INTEL_fp_max_error``
227
229
- Adds the ability to specify the maximum error for floating-point operations.
228
230
* - ``SPV_INTEL_ternary_bitwise_function``
229
-
- Adds a bitwise instruction on three operands and a look-up table index for specifying the bitwise operation to perform.
231
+
- Adds a bitwise instruction on three operands and a look-up table index for specifying the bitwise operation to perform.
0 commit comments