Commit 27d6771
committed
Address review: select on the running best, larger concurrency raster (#3740)
Update best_dist only when the candidate wins so a NaN rounded distance
(a haversine term a hair past 1.0) is skipped instead of poisoning every
later comparison, as the old kernel did. Comment the placeholder great
circle arrays on the non-great-circle call path. Hammer the lock test
with a 40x40 raster so the concurrent launches overlap.1 parent fc27112 commit 27d6771
2 files changed
Lines changed: 15 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
540 | 540 | | |
541 | 541 | | |
542 | 542 | | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
543 | 546 | | |
544 | 547 | | |
545 | 548 | | |
| |||
554 | 557 | | |
555 | 558 | | |
556 | 559 | | |
557 | | - | |
| 560 | + | |
558 | 561 | | |
559 | 562 | | |
560 | 563 | | |
| |||
572 | 575 | | |
573 | 576 | | |
574 | 577 | | |
575 | | - | |
| 578 | + | |
576 | 579 | | |
577 | 580 | | |
578 | 581 | | |
| |||
596 | 599 | | |
597 | 600 | | |
598 | 601 | | |
599 | | - | |
| 602 | + | |
600 | 603 | | |
601 | 604 | | |
602 | 605 | | |
| |||
729 | 732 | | |
730 | 733 | | |
731 | 734 | | |
| 735 | + | |
732 | 736 | | |
733 | 737 | | |
734 | 738 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
825 | 825 | | |
826 | 826 | | |
827 | 827 | | |
828 | | - | |
829 | | - | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
830 | 835 | | |
831 | 836 | | |
832 | | - | |
| 837 | + | |
833 | 838 | | |
834 | 839 | | |
835 | 840 | | |
| |||
0 commit comments