Commit 6fca1efd authored by Xinya Zhang's avatar Xinya Zhang
Browse files

Fix memory copy in device_grouped_mha_bwd_xdl_cshuffle_kloop_v1.hpp

parent 6c2d60d3
...@@ -934,7 +934,7 @@ struct DeviceGroupedMultiheadAttentionBackward_Kloop_Xdl_CShuffle_V1 ...@@ -934,7 +934,7 @@ struct DeviceGroupedMultiheadAttentionBackward_Kloop_Xdl_CShuffle_V1
// some_has_main_k_block_loop |= y; // some_has_main_k_block_loop |= y;
// } // }
hipGetErrorString(hipMemcpyAsync(arg.p_workspace_, hipGetErrorString(hipMemcpyWithStream(arg.p_workspace_,
arg.group_kernel_args_.data(), arg.group_kernel_args_.data(),
arg.group_kernel_args_.size() * sizeof(GroupKernelArg), arg.group_kernel_args_.size() * sizeof(GroupKernelArg),
hipMemcpyHostToDevice, hipMemcpyHostToDevice,
......
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