From 08a74cfcb5330c9550432eb716e029596dd5ede9 Mon Sep 17 00:00:00 2001 From: jsteube Date: Sat, 20 Apr 2019 11:47:41 +0200 Subject: [PATCH] Add NO_UNROLL to -m 1750 for AMDGPU driver --- src/modules/module_01750.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/modules/module_01750.c b/src/modules/module_01750.c index 8b92e0e90..81004ce8f 100644 --- a/src/modules/module_01750.c +++ b/src/modules/module_01750.c @@ -52,6 +52,11 @@ char *module_jit_build_options (MAYBE_UNUSED const hashconfig_t *hashconfig, MAY hc_asprintf (&jit_build_options, "-D NO_UNROLL"); } + if (device_param->device_vendor_id == VENDOR_ID_AMD) + { + hc_asprintf (&jit_build_options, "-D NO_UNROLL"); + } + return jit_build_options; }