Skip to content

hotspots() dask+cupy backend has no test coverage #2732

@brendancol

Description

@brendancol

focal.hotspots() registers a dask_cupy_func (_hotspots_dask_cupy) in its dispatch table, but nothing in test_focal.py calls it. mean, apply, and focal_stats each have a dedicated dask+cupy test. hotspots is the only one without one, so a bug in its fused convolve/z-score/classify path on dask+cupy could ship unnoticed.

This is a test-only gap. I ran the path on a CUDA host and it currently matches the numpy reference exactly, so no source change is needed.

Found by the test-coverage sweep.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions