Bugfix: typo, make reduction device cases passed
Signed-off-by: Peter Han <fujun.han@iluvatar.ai>
This commit is contained in:
parent
8a3e4b8d02
commit
7074047a54
@ -170,7 +170,7 @@ struct TensorReduction {
|
|||||||
cudaStream_t stream = nullptr) {
|
cudaStream_t stream = nullptr) {
|
||||||
|
|
||||||
int64_t src_stride[3];
|
int64_t src_stride[3];
|
||||||
int64_t dst_stride[2];
|
int64_t dst_stride[3];
|
||||||
|
|
||||||
switch (reduction_index) {
|
switch (reduction_index) {
|
||||||
case 0:
|
case 0:
|
||||||
|
Loading…
Reference in New Issue
Block a user