".github/vscode:/vscode.git/clone" did not exist on "87fd4c280609edc5cf98e8cd13408bb7092af864"
Unverified Commit 3124c7f7 authored by mhbliao's avatar mhbliao Committed by GitHub
Browse files

Fix the usage of move_dpp in HIP-Clang. (#544)

parent caee500e
...@@ -140,7 +140,11 @@ __device__ T dpp_mov(T& x) ...@@ -140,7 +140,11 @@ __device__ T dpp_mov(T& x)
input.data = x; input.data = x;
for(index_int i = 0; i < n; i++) for(index_int i = 0; i < n; i++)
{ {
#if defined(__HCC__)
output.reg[i] = __llvm_amdgcn_move_dpp(input.reg[i], DppCtrl, RowMask, BankMask, BoundCtrl); output.reg[i] = __llvm_amdgcn_move_dpp(input.reg[i], DppCtrl, RowMask, BankMask, BoundCtrl);
#else
output.reg[i] = __hip_move_dpp(input.reg[i], DppCtrl, RowMask, BankMask, BoundCtrl);
#endif
} }
return output.data; return output.data;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment