Add template argument of dim . Prepare to support multiple dimension

This commit is contained in:
rocking
2022-05-17 20:34:21 +08:00
parent c2626122af
commit b456d5e53e
2 changed files with 17 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ using EltwiseComputeDataType = F32;
using Add = ck::tensor_operation::binary_element_wise::Add;
using DeviceElementwiseAddInstance = ck::tensor_operation::device::
DeviceBinaryElementwise<F16, F16, CDataType, EltwiseComputeDataType, Add, 8>;
DeviceBinaryElementwise<F16, F16, CDataType, EltwiseComputeDataType, Add, 2, 8>;
template <typename HostTensorA,
typename HostTensorB,