Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

[FEA]: ST_distance improvement: consolidate existing APIs #1056

@isVoid

Description

@isVoid

Is this a new feature, an improvement, or a change to existing functionality?

Improvement

How would you describe the priority of this feature request

Medium

Please provide a clear description of problem you would like to solve.

There are dependencies between st_distance kernels, as shown in the following diagram:
image

The current implementation of st_distance kernels are siloed and lackes reusing overlapping logics. A refactor should happen to facilitate these dependencies.

Second, several implementation in kernels are not load balanced if the input is skewed. This can lead to unwanted performance degradation. As experimented in #1011, it is possible to create a perfectly load balanced kernel for any input geometries. It should be adopted for other distance API too.

Describe any alternatives you have considered

No response

Additional context

No response

- [ ] https://github.com/rapidsai/cuspatial/issues/1060
- [ ] https://github.com/rapidsai/cuspatial/issues/1123

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions