From 9ca29c687bb3a158ce1d56eaa2eb2f0cb02ace11 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Fri, 30 Jul 2021 16:25:23 +0300 Subject: [PATCH] intel/clc: disable tool prior to Gfx12.5 platforms This tool is currently only aimed at Gfx version 12.5+ with COMPUTE_WALKER. We could make it work on earlier platforms but they require pushing gl_SubgroupInvocation and the CLC code is missing the back-end compiler set-up bits for that. v2: Commit description by Jason Signed-off-by: Lionel Landwerlin Reviewed-by: Jason Ekstrand 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 8d8c928ecfa..0553a73d0e3 100644 --- a/src/intel/compiler/intel_clc.c +++ b/src/intel/compiler/intel_clc.c @@ -356,6 +356,11 @@ int main(int argc, char **argv) return -1; } + if (devinfo->verx10 < 125) { + fprintf(stderr, "Platform currently not supported.\n"); + return -1; + } + if (entry_point == NULL) { fprintf(stderr, "No entry-point name specified.\n"); print_usage(argv[0], stderr);