From 7909661befc1b4064ca8c22bb1471bb6a7d9e39c Mon Sep 17 00:00:00 2001 From: Guo Yejun Date: Tue, 3 Jun 2014 02:13:54 +0800 Subject: 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 Reviewed-by: Zhigang Gong --- src/intel/intel_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/intel/intel_driver.c') 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; -- cgit v1.2.3