"vscode:/vscode.git/clone" did not exist on "bd8990940260493d63e5c4247408ef35860c16b6"
Commit 06e52d90 authored by rocking's avatar rocking
Browse files

Remove redundant argument

parent 0f840256
...@@ -32,8 +32,7 @@ template <typename HostTensorA, ...@@ -32,8 +32,7 @@ template <typename HostTensorA,
typename HostTensorB, typename HostTensorB,
typename HostTensorC, typename HostTensorC,
typename ComputeDataType, typename ComputeDataType,
typename Functor, typename Functor>
int broadcastDim>
void host_elementwise1D( void host_elementwise1D(
HostTensorC& C, const HostTensorA& A, const HostTensorB& B, int M, Functor functor) HostTensorC& C, const HostTensorA& A, const HostTensorB& B, int M, Functor functor)
{ {
...@@ -108,8 +107,7 @@ int main() ...@@ -108,8 +107,7 @@ int main()
Tensor<ABDataType>, Tensor<ABDataType>,
Tensor<CDataType>, Tensor<CDataType>,
EltwiseComputeDataType, EltwiseComputeDataType,
Add, Add>(host_c_m, a_m, b_m, M, Add{});
0>(host_c_m, a_m, b_m, M, Add{});
pass &= ck::utils::check_err( pass &= ck::utils::check_err(
c_m.mData, host_c_m.mData, "Error: Incorrect results d1", 1e-3, 1e-3); c_m.mData, host_c_m.mData, "Error: Incorrect results d1", 1e-3, 1e-3);
......
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