Skip to content

Commit

Permalink
Fix rocm build caused by microsoft#12699 (microsoft#12787)
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhan authored Aug 30, 2022
1 parent b4f6dad commit 9680ffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnxruntime/contrib_ops/rocm/bert/fast_gelu_impl.cu
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Status LaunchFastGeluKernel(hipStream_t stream, int input_length, int bias_lengt
op.EnableTuning();
}
FastGeluParams<T> op_params(stream, input, bias, output, input_length, bias_length);
return op(&op_params).IsOK();
return op(&op_params);
}

template Status LaunchFastGeluKernel<float>(hipStream_t stream, int input_length, int bias_length,
Expand Down

0 comments on commit 9680ffd

Please sign in to comment.