Skip to content

Commit

Permalink
Add back float support to asynchronous_complete_cumsum_cpu (#2383)
Browse files Browse the repository at this point in the history
Summary:

- Add back float support to `asynchronous_complete_cumsum_cpu`

Differential Revision: D54497745
  • Loading branch information
q10 authored and facebook-github-bot committed Mar 4, 2024
1 parent e764e6f commit c13036b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fbgemm_gpu/src/sparse_ops/sparse_ops_cpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1227,7 +1227,7 @@ Tensor asynchronous_complete_cumsum_cpu(const Tensor& t_in) {
? at::empty({t_in.numel() + 1}, t_in.options())
: at::empty({t_in.size(0), t_in.size(1) + 1}, t_in.options());

FBGEMM_DISPATCH_INTEGRAL_TYPES(
FBGEMM_DISPATCH_ALL_TYPES(
t_in_contig->scalar_type(),
"asynchronous_complete_cumsum_cpu_kernel",
[&] {
Expand Down

0 comments on commit c13036b

Please sign in to comment.