makepath / xarray-spatial

Raster-based Spatial Analytics for Python
https://xarray-spatial.readthedocs.io/
MIT License
844 stars 85 forks source link

Classify tools: use binary search in _gpu_bin() #761

Open thuydotm opened 1 year ago

thuydotm commented 1 year ago

Binary search has been applied to improve the performance of classify tools in NumPy case (https://github.com/makepath/xarray-spatial/pull/760). Let's see if we can do the same thing for CuPy case.