Migrate unroll handling for -m 8000 from OpenCL/inc_vendor.cl to module_jit_build_options()

This commit is contained in:
jsteube
2019-03-03 11:39:18 +01:00
parent 88bf330dbe
commit fee37ac4c3
2 changed files with 17 additions and 4 deletions
+4 -3
View File
@@ -105,6 +105,10 @@
// generic vendors: those algos have shown that they produce better results on both amd and nv when not unrolled
// so we can assume they will produce better results on other vendors as well
#ifdef NO_UNROLL
#undef _unroll
#endif
#if KERN_TYPE == 1420
#undef _unroll
#endif
@@ -194,9 +198,6 @@
#ifdef IS_AMD
#ifdef IS_GPU
#if KERN_TYPE == 8000
#undef _unroll
#endif
#if KERN_TYPE == 8200
#undef _unroll
#endif