Consumer-backed request
Connect4 CUDA-BSFP P2 now has a concrete Tensor consumer seam: accelerating exact antichain dominance checks for overflow segments while keeping packed representation and compaction Connect4-owned.
The intended first experiment uses the existing device-callable Tensor profile:
- item axis = candidate masks;
- shared right operand = accepted-frontier bit rows;
- rank-2 item matmul computes candidate/frontier overlap counts;
- exact elementwise/reduction logic derives one dominated/keep result per candidate;
- Connect4 imports
tensorRunItem into Device-JS and keeps final compaction on-device.
No new Tensor math operation is currently required.
Concrete compatibility gate
Connect4 P2 is qualified against CUDA-JS:
98e2ebc942c14d63acf4dd82e912dd548c363a05 (cuda-js@0.1.0-alpha.20)
Current protected CUDA-JS-Tensor main remains frozen to:
45a9ef15537b52d6fd7c615b7e596676dfd00587 (cuda-js@0.1.0-alpha.18)
Tensor correctly fails closed on the newer pair today. The requested work is an exact-pair refresh/qualification, not relaxation of Tensor compatibility checks.
Acceptance
Ownership boundary
CUDA-JS-Tensor owns generic Tensor math, device-callable ABI and workspace/resource facts. Connect4 owns packed mask representation, BSFP antichain semantics, tiling policy, survivor compaction and correctness oracle. CUDA-JS owns runtime/compiler/device mechanisms.
If this exact-pair qualification exposes a missing or broken CUDA-JS primitive, file that defect in iteathen/CUDA-JS; do not emulate a lower-layer workaround inside Tensor or Connect4.
No claim is made that Tensor will be faster until the bounded native A/B is measured.
Consumer-backed request
Connect4 CUDA-BSFP P2 now has a concrete Tensor consumer seam: accelerating exact antichain dominance checks for overflow segments while keeping packed representation and compaction Connect4-owned.
The intended first experiment uses the existing device-callable Tensor profile:
tensorRunIteminto Device-JS and keeps final compaction on-device.No new Tensor math operation is currently required.
Concrete compatibility gate
Connect4 P2 is qualified against CUDA-JS:
98e2ebc942c14d63acf4dd82e912dd548c363a05(cuda-js@0.1.0-alpha.20)Current protected CUDA-JS-Tensor
mainremains frozen to:45a9ef15537b52d6fd7c615b7e596676dfd00587(cuda-js@0.1.0-alpha.18)Tensor correctly fails closed on the newer pair today. The requested work is an exact-pair refresh/qualification, not relaxation of Tensor compatibility checks.
Acceptance
98e2ebc...for Tensor-relevant contract changes.Ownership boundary
CUDA-JS-Tensor owns generic Tensor math, device-callable ABI and workspace/resource facts. Connect4 owns packed mask representation, BSFP antichain semantics, tiling policy, survivor compaction and correctness oracle. CUDA-JS owns runtime/compiler/device mechanisms.
If this exact-pair qualification exposes a missing or broken CUDA-JS primitive, file that defect in
iteathen/CUDA-JS; do not emulate a lower-layer workaround inside Tensor or Connect4.No claim is made that Tensor will be faster until the bounded native A/B is measured.