gpu_spatial
postgis-cuda · SQL access to GPU-resident spatial layers served by a CUDA daemon.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102329 | gpu_spatial | postgis-cuda | 0.1 | GIS | PostgreSQL | C |
Usage
Sources:
gpu_spatial 0.1 exposes CUDA spatial operations over layers held by the external gpujoind service.
Core Workflow
With the service running and a prepared spatial source table, gpu_load loads a named snapshot and gpu_unload removes it. gpu_join returns matching identifiers and optional intersection area; gpu_relate, gpu_dwithin and gpu_cluster_intersecting cover additional spatial operations. Inspect gpu_last_stats for the last operation.
Operational Boundaries
Installation is superuser-only. Loading/unloading functions revoke PUBLIC execution; query access still needs deliberate privilege review. The documented environment uses NVIDIA Hopper sm90 and a separate CUDA daemon, not arbitrary graphics hardware. Resident layers do not follow source-table changes automatically: reload them explicitly. Coordinate-system and geography distance semantics must match the upstream function contract.