[Device Function] Fix typos.

这个提交包含在:
Michael LIAO 于 2019-03-19 15:32:19 -04:00 提交
1 父节点 b1752fc9a6
当前提交 e51fa174c8
1 个文件已更改
+2 -2
+2 -2
查看文件
@@ -259,7 +259,7 @@ __device__ static inline unsigned __hip_ds_swizzle_N(unsigned int src) {
}
template <int pattern>
__device__ static inline float __hip_ds2_swizzlef_N(float src) {
__device__ static inline float __hip_ds_swizzlef_N(float src) {
union { int i; unsigned u; float f; } tmp; tmp.f = src;
tmp.i = __builtin_amdgcn_ds_swizzle(tmp.i, pattern);
return tmp.f;
@@ -269,7 +269,7 @@ __device__ static inline float __hip_ds2_swizzlef_N(float src) {
__hip_move_dpp_N<(dpp_ctrl), (row_mask), (bank_mask), (bound_ctrl)>((src))
template <int dpp_ctrl, int row_mask, int bank_mask, bool bound_ctrl>
__device__ static inline int __hip2_move_dpp_N(int src) {
__device__ static inline int __hip_move_dpp_N(int src) {
return __llvm_amdgcn_move_dpp(src, dpp_ctrl, row_mask, bank_mask,
bound_ctrl);
}