Commit c6700632 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent 69c94135
...@@ -410,8 +410,7 @@ void triadd_layernorm(hipStream_t stream, ...@@ -410,8 +410,7 @@ void triadd_layernorm(hipStream_t stream,
int shared_size = batch_item_num * 2 * in_s.type_size(); int shared_size = batch_item_num * 2 * in_s.type_size();
half2_block_size = half2_block_size / 4; half2_block_size = half2_block_size / 4;
triadd_layernorm_kernel_half2<<<block_num, half2_block_size, shared_size, stream>>>( triadd_layernorm_kernel_half2<<<block_num, half2_block_size, shared_size, stream>>>(
arg1.data(), arg2.data(), arg3.data(), result.data(), batch_item_num, arg1.data(), arg2.data(), arg3.data(), result.data(), batch_item_num, half2_block_size);
half2_block_size);
} }
// if(type == shape::half_type) // if(type == shape::half_type)
// { // {
......
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