summaryrefslogtreecommitdiff
path: root/src/intel/intel_driver.c
diff options
context:
space:
mode:
authorZhigang Gong <zhigang.gong@intel.com>2014-07-30 15:36:01 +0800
committerZhigang Gong <zhigang.gong@intel.com>2014-07-31 10:37:03 +0800
commit5449bab22d54358047c6050acba6b5cc7ed7eff4 (patch)
tree10ab39f401bb8fc550408f0de40e6164057df126 /src/intel/intel_driver.c
parent4c713434c54a9edafbf5c5e9a830fd00cbf7db0d (diff)
GBE: cleanup image base index related code.
Signed-off-by: Zhigang Gong <zhigang.gong@intel.com> Reviewed-by: Ruiling Song <ruiling.song@intel.com>
Diffstat (limited to 'src/intel/intel_driver.c')
-rw-r--r--src/intel/intel_driver.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/intel/intel_driver.c b/src/intel/intel_driver.c
index 7c9f5d86..3cef2f89 100644
--- a/src/intel/intel_driver.c
+++ b/src/intel/intel_driver.c
@@ -427,12 +427,6 @@ cl_intel_driver_new(cl_context_prop props)
intel_driver_t *driver = NULL;
TRY_ALLOC_NO_ERR (driver, intel_driver_new());
intel_driver_open(driver, props);
- /* We use the first 2 slots(0,1) for all the bufs.
- * Notify the gbe this base index, thus gbe can avoid conflicts
- * when it allocates slots for images*/
- if (CompilerSupported())
- compiler_set_image_base_index(3);
- interp_set_image_base_index(3);
exit:
return driver;
error: