Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chan_vese: pass all constants to
_fused_variance_kernel2
as device …
…scalars (#764) This change avoids an issue with an internal `numpy.can_cast` call in CuPy's kernel fusion code when using NumPy 2.0. With this change all cuCIM tests passed using NumPy 2.0.1 and the CuPy 13.3dev branch. Fixes #742 Authors: - Gregory Lee (https://github.com/grlee77) Approvers: - https://github.com/jakirkham - Gigon Bae (https://github.com/gigony) URL: #764
- Loading branch information