Fix rocm build caused by #12699 (#12787)

This commit is contained in:
cloudhan 2022-08-30 20:26:16 +08:00 committed by GitHub
parent b4f6dad7c9
commit 9680ffd842
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,