未验证 提交 b7565222 编写于 作者: B Bo Zhang 提交者: GitHub

add syncthreads (#53149)

上级 37a09539
......@@ -272,6 +272,7 @@ __global__ void DropOutNdForwardKernel(
idx = fast_divmoder.val[0];
offset += broadcast_config.strides[j] * fast_divmoder.val[1];
}
__syncthreads();
y[i] = dst_functor(src[i], mask[offset]);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册