You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nested dispatching of segment_csr on cpu/gpu (#3881)
Summary:
Pull Request resolved: #3881
X-link: facebookresearch/FBGEMM#972
Updating the segment_sum_csr function (both CPU and GPU) in predictor to accept arbitrary input types (int32_t or int64_t) for the offset. In cases where the offsets overflow 31 bits, casting to int32 will result in negative numbers, causing unintended behavior from the function.
Reviewed By: zhaozhul, YazhiGao
Differential Revision: D71663741
fbshipit-source-id: 48537b2be23df0e41d3d99faf5d375b37abcabed
0 commit comments