mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-16 19:09:59 +00:00
Try to workaround flaky GemmSoftmaxGemm tests (#386)
* avoid potential hazard; flaky test issue persists
* pin down the random seed to avoid flakiness
[ROCm/composable_kernel commit: 138faf3961]
This commit is contained in:
@@ -720,6 +720,8 @@ struct GridwiseBatchedGemmSoftmaxGemm_Xdl_CShuffle
|
||||
static_for<0, acc_thread_buf.Size(), 1>{}(
|
||||
[&](auto i) { acc_element_op(acc_thread_buf(i), acc_thread_buf[i]); });
|
||||
|
||||
block_sync_lds(); // wait for lds read in gemm0 blockwise gemm
|
||||
|
||||
// softmax
|
||||
SoftmaxBuf& max = blockwise_softmax.max_value_buf;
|
||||
SoftmaxBuf& sum = blockwise_softmax.sum_value_buf;
|
||||
|
||||
Reference in New Issue
Block a user