Cycles: fix and enable JIT oneAPI CentOS7 builds for drivers 23570+

The current specific CentOS7 workaround we have for AoT, which is to
disable __FAST_MATH__ by using -fhonor-nans, now also fixes the
compilation issue for JIT as well since at least driver 23570.
This commit is contained in:
Xavier Hallade
2022-07-12 15:45:46 +02:00
parent 4a445c8dc0
commit 47dd42485e
3 changed files with 5 additions and 9 deletions

View File

@@ -670,10 +670,7 @@ bool oneapi_enqueue_kernel(KernelContext *kernel_context,
}
static const int lowest_supported_driver_version_win = 1011660;
/* TODO: once Linux JIT compilation crash from CentOS generated spv is fixed, adjust version below.
* Until then, set CYCLES_ONEAPI_ALL_DEVICES environment variable to avoid getting it filtered out.
*/
static const int lowest_supported_driver_version_neo = 28000;
static const int lowest_supported_driver_version_neo = 23570;
static int parse_driver_build_version(const sycl::device &device)
{