Mesa (main): intel/clc: enable fp16 & subgroups for GRL

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jun 27 16:04:52 UTC 2022


Module: Mesa
Branch: main
Commit: 9d7d1c0637529301d3e319ec5f1c883c5f249783
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d7d1c0637529301d3e319ec5f1c883c5f249783

Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Mon Jun 27 13:13:14 2022 +0300

intel/clc: enable fp16 & subgroups for GRL

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17253>

---

 src/intel/compiler/intel_clc.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/intel/compiler/intel_clc.c b/src/intel/compiler/intel_clc.c
index 33798474639..7633c90381d 100644
--- a/src/intel/compiler/intel_clc.c
+++ b/src/intel/compiler/intel_clc.c
@@ -428,6 +428,11 @@ int main(int argc, char **argv)
             .name = *infile,
             .value = map,
          },
+         .features = {
+            .fp16 = true,
+            .intel_subgroups = true,
+            .subgroups = true,
+         },
          .args = util_dynarray_begin(&clang_args),
          .num_args = util_dynarray_num_elements(&clang_args, char *),
          .allowed_spirv_extensions = allowed_spirv_extensions,



More information about the mesa-commit mailing list