From 9d7d1c0637529301d3e319ec5f1c883c5f249783 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Mon, 27 Jun 2022 13:13:14 +0300 Subject: [PATCH] intel/clc: enable fp16 & subgroups for GRL Signed-off-by: Lionel Landwerlin Reviewed-by: Jesse Natalie Part-of: --- 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,