Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ymwangg committed Feb 23, 2021
1 parent 1602d9e commit 7173b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tvm/topi/cuda/unique.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def _calc_adjacent_diff_ir(data, adjacent_diff):
def _calc_num_unique(data):
output = output_tensor((1,), "int32")
for i in bind("threadIdx.x", 1):
output[0] = data[data.shape[0] - 1] + int32(1)
output[i] = data[data.shape[0] - 1] + int32(1)
return output


Expand Down

0 comments on commit 7173b3d

Please sign in to comment.