diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cl_mem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cl_mem.c b/src/cl_mem.c index 36ef2ce2..2ec89a43 100644 --- a/src/cl_mem.c +++ b/src/cl_mem.c @@ -663,7 +663,8 @@ cl_image_tiling_t cl_get_default_tiling(cl_driver drv) if (!initialized) { // FIXME, need to find out the performance diff's root cause on BDW. - if(cl_driver_get_ver(drv) == 8) + // SKL's 3D Image can't use TILE_X, so use TILE_Y as default + if(cl_driver_get_ver(drv) == 8 || cl_driver_get_ver(drv) == 9) tiling = CL_TILE_Y; char *tilingStr = getenv("OCL_TILING"); if (tilingStr != NULL) { |