diff --git a/OpenCL/inc_types.cl b/OpenCL/inc_types.cl index 75a8bd618..01b5257ac 100644 --- a/OpenCL/inc_types.cl +++ b/OpenCL/inc_types.cl @@ -361,7 +361,7 @@ DECLSPEC u32 hc_bfe_S (const u32 a, const u32 b, const u32 c) return amd_bfe (a, b, c); } -DECLSPEC u32 hc_bytealign (const u32x a, const u32x b, const u32x c) +DECLSPEC u32x hc_bytealign (const u32x a, const u32x b, const u32x c) { return amd_bytealign (a, b, c); } diff --git a/docs/changes.txt b/docs/changes.txt index 4a5700e20..01e58ea97 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -1,5 +1,11 @@ * changes v4.2.1 -> xxx +## +## Bugs +## + +- Fixed a invalid scalar datatype return value in hc_bytealign() where it should be a vector datatype return value + * changes v4.2.0 -> v4.2.1 ##