diff options
author | Luo Xionghu <xionghu.luo@intel.com> | 2014-11-05 11:10:40 +0800 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@intel.com> | 2014-11-05 19:21:12 +0800 |
commit | 8f850096d4631870e8ac84d8fe15e2ad41a35c84 (patch) | |
tree | a5ecb0061edb4d2704864c8b2684afa83ef49576 /utests/compiler_bswap.cpp | |
parent | 3614e80284ca36134e8dc74eeeae0ed2fe3d15e1 (diff) | |
download | beignet-8f850096d4631870e8ac84d8fe15e2ad41a35c84.tar.gz |
fix bswap kernel function type issue.
use MACRO to define the corresponding function.
Signed-off-by: Luo Xionghu <xionghu.luo@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'utests/compiler_bswap.cpp')
-rw-r--r-- | utests/compiler_bswap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utests/compiler_bswap.cpp b/utests/compiler_bswap.cpp index 2ce8d49c..b5986b90 100644 --- a/utests/compiler_bswap.cpp +++ b/utests/compiler_bswap.cpp @@ -104,6 +104,6 @@ static void compiler_bswap_ ##type(void)\ MAKE_UTEST_FROM_FUNCTION(compiler_bswap_ ## type); compiler_bswap(int16_t, compiler_bswap_short) -compiler_bswap(uint16_t, compiler_bswap_short) +compiler_bswap(uint16_t, compiler_bswap_ushort) compiler_bswap(int32_t, compiler_bswap_int) -compiler_bswap(uint32_t, compiler_bswap_int) +compiler_bswap(uint32_t, compiler_bswap_uint) |