diff options
author | Simon Richter <Simon.Richter@hogyros.de> | 2013-04-22 11:26:25 +0200 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@linux.intel.com> | 2013-04-22 18:04:14 +0800 |
commit | 1c018c6fd12efce72f1dfada72fb3ae10ac5114a (patch) | |
tree | fdc40565fea9e25bb4f3e61ad05e818000fff989 /utests/utest_helper.hpp | |
parent | 2dbfe92a7277e3d427a5ea3031feb65bb3570d9e (diff) | |
download | beignet-1c018c6fd12efce72f1dfada72fb3ae10ac5114a.tar.gz |
Rename Intel specific extension functions for ICD
The ICD extension specification requires that extension function names end
in the vendor name to allow clGetExtensionFunctionAddress to switch between
implementations.
Signed-off-by: Simon Richter <Simon.Richter@hogyros.de>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'utests/utest_helper.hpp')
-rw-r--r-- | utests/utest_helper.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utests/utest_helper.hpp b/utests/utest_helper.hpp index 02249e1a..52584167 100644 --- a/utests/utest_helper.hpp +++ b/utests/utest_helper.hpp @@ -101,12 +101,12 @@ extern EGLSurface eglSurface; OCL_CALL2(clCreateSampler, SAMPLER, ctx, 0, ADDRESS_MODE, FILTER_MODE) #define OCL_MAP_BUFFER(ID) \ - OCL_CALL2(clIntelMapBuffer, buf_data[ID], buf[ID]) + OCL_CALL2(clMapBufferIntel, buf_data[ID], buf[ID]) #define OCL_UNMAP_BUFFER(ID) \ do { \ if (buf[ID] != NULL) { \ - OCL_CALL (clIntelUnmapBuffer, buf[ID]); \ + OCL_CALL (clUnmapBufferIntel, buf[ID]); \ buf_data[ID] = NULL; \ } \ } while (0) |