"vscode:/vscode.git/clone" did not exist on "0b0ad26aa8378d0026fcd4c574173e97d29c259e"
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)
input.data = x;
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);
#else
output.reg[i] = __hip_move_dpp(input.reg[i], DppCtrl, RowMask, BankMask, BoundCtrl);
#endif
}
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