From 8008d654997f480a4a79d7e31df58d006dc29891 Mon Sep 17 00:00:00 2001 From: jsteube Date: Thu, 4 Apr 2019 22:06:12 +0200 Subject: [PATCH] Allow -m 1800 in optimized mode on AMDGPU drivers --- src/modules/module_01800.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/modules/module_01800.c b/src/modules/module_01800.c index 7ef301b6a..ba4555380 100644 --- a/src/modules/module_01800.c +++ b/src/modules/module_01800.c @@ -453,7 +453,10 @@ bool module_unstable_warning (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE // amdgpu-pro-18.50-708488-ubuntu-18.04: self-test failed if ((device_param->device_vendor_id == VENDOR_ID_AMD) && (device_param->has_vperm == false)) { - return true; + if ((hashconfig->opti_type & OPTI_TYPE_OPTIMIZED_KERNEL) == 0) + { + return true; + } } if (device_param->platform_vendor_id == VENDOR_ID_APPLE)