diff options
author | Guo Yejun <yejun.guo@intel.com> | 2014-06-03 02:13:54 +0800 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@intel.com> | 2014-06-04 10:14:48 +0800 |
commit | 7909661befc1b4064ca8c22bb1471bb6a7d9e39c (patch) | |
tree | c6a0bed7b67cb98ae73eccb800cb7d2156524736 /src/intel/intel_driver.c | |
parent | 871389f906d6f6d33703851eee7111390c562bc5 (diff) |
refine code for the usage of set_image_base_index
In libgbe.so and libgbeinterp.so, the same function pointer name
gbe_set_image_base_index is used for a unified source code.
In libcl.so, function pointer names begin with compiler_* point to
the functions from libgbe.so, function pointer names begin with
gbe_* point to the functions from libgbeinterp.so.
Signed-off-by: Guo Yejun <yejun.guo@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'src/intel/intel_driver.c')
-rw-r--r-- | src/intel/intel_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/intel_driver.c b/src/intel/intel_driver.c index dcd19ac9..989193a1 100644 --- a/src/intel/intel_driver.c +++ b/src/intel/intel_driver.c @@ -411,7 +411,7 @@ cl_intel_driver_new(cl_context_prop props) * Notify the gbe this base index, thus gbe can avoid conflicts * when it allocates slots for images*/ if (CompilerSupported()) - compiler_set_image_base_index_compiler(3); + compiler_set_image_base_index(3); gbe_set_image_base_index_interp(3); exit: return driver; |