Add and verify a supported geometry operation#
Before changing an operation, record its name, operand families and order, semantic profile, output consumers, and required build features.
Test the result and its discovery#
Use CUGEO_GEOMETRY_CUDA_TOUCHES to check both contracts. The point/region topology entry points accept Touches, but the advertised capability list omits those tuples.
Use a point on a region boundary, an interior point, and an exterior point. The boundary point touches the region in either operand order. The interior and exterior points do not. Give Point/Point a separate expectation. A point has an empty boundary, so Point/Point Touches is false.
Check the claimed combinations#
Trace the implementation and capability declaration for each combination you intend to claim under the selected semantic profile. Then adapt the checked-in oracle and capability tests.
Exercise the public calls in both operand orders for each affected output consumer and capacity.
Print operand order, expected and actual predicate, consumer, capacity, and advertised membership.
Enumerate the published tuples and check one refusal outside the claim.
For a change that adds the missing advertisement, success requires both correct rows and a discoverable tuple for each new claim.
Select checks for the change#
Change or claim |
Check |
|---|---|
C declaration |
Regenerate mirrors and run the ABI checks. Use a typed host C consumer to demonstrate ABI consumption. |
SQL exposure |
Make the applicable admission and lowering changes, regenerate support output, and compare it with the acceptance fixture. |
Installed component |
Build its consumer and run the applicable acceptance and refusal probes. |
Device execution |
Run the operation on a build with the required feature enabled. |
Use the native test and sanitizer options, and shared-GPU admission, as the selected checks require. Keep the feature configuration, observed results, enumerated tuples, and outside-claim refusal together for review.
See the Geometry development checks for the hook, live test commands and stored-answer validation.