diff options
-rw-r--r-- | src/amd/compiler/tests/framework.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/amd/compiler/tests/framework.h b/src/amd/compiler/tests/framework.h index 217029afda3..097921f8df9 100644 --- a/src/amd/compiler/tests/framework.h +++ b/src/amd/compiler/tests/framework.h @@ -46,7 +46,11 @@ bool set_variant(const char *name); inline bool set_variant(chip_class cls, const char *rest="") { char buf[8+strlen(rest)]; - snprintf(buf, sizeof(buf), "gfx%d%s", cls - GFX6 + 6, rest); + if (cls != GFX10_3) { + snprintf(buf, sizeof(buf), "gfx%d%s", cls - GFX6 + 6, rest); + } else { + snprintf(buf, sizeof(buf), "gfx10_3%s", rest); + } return set_variant(buf); } |