diff --git a/third_party/amd/backend/compiler.py b/third_party/amd/backend/compiler.py index 472d2a36dc32..945ae46cd586 100644 --- a/third_party/amd/backend/compiler.py +++ b/third_party/amd/backend/compiler.py @@ -495,6 +495,8 @@ def make_hsaco(src, metadata, options): target_features = '' if knobs.compilation.enable_asan: target_features = '+xnack' + if 'gfx11' in options.arch: + target_features += ',-real-true16' hsaco = amd.assemble_amdgcn(src, options.arch, target_features) with tempfile.NamedTemporaryFile() as tmp_out: with tempfile.NamedTemporaryFile() as tmp_in: