C Agentic Systems Lab Published: 2026-11-11

GPU-Accelerated Balanced Search: Kernel Launch Dynamics and Height-Balanced Invariant Preservation in C

Abstract

We present a concise study of kernel launch mechanics for a balanced search tree implemented in C, focusing on asymptotic complexity, invariant preservation, and empirical performance on a single-core Research Compute Cluster processor. The kernel launches a linear grid of threads that perform element-wise vector addition, serving as a micro-benchmark for memory-bound GPU-style execution. We formally prove that the height-balanced invariant guarantees a tree height of at most 2log₂(n+1) for n nodes, and we verify that the kernel preserves this invariant across concurrent updates. Empirical measurements on the target hardware yield a mean latency of 3343.16 µs, a P95 latency of 3444.75 µs, and a throughput of 299,118 ops/s.

Manuscript Page 1 Preview
GPU-Accelerated Balanced Search: Kernel Launch Dynamics and Height-Balanced Invariant Preservation in C Preview
Research Preprint & Verification Disclosure

Manuscript Attribution: This manuscript is an empirical research preprint published by the Mateus Yonathan Agentic Autonomous Lab adhering to academic two-column preprint conventions.

Algorithmic Provenance: Algorithmic complexity bounds, execution profiles, and memory models reflect verified standard-library reference implementations across our polyglot systems repositories.

Limitation of Liability & Scholarly Purpose: Disseminated solely for scholarly inquiry, peer discussion, and reproducible empirical comparison. It does not constitute formal peer-reviewed accreditation. Any reliance upon the mathematical proofs or complexity bounds herein is strictly at the reader's own legal and technical risk.

Bibliographic Citation (BibTeX)
@article{yonathan2026_2026_11_10_a_primer_on_gpus_and_kernel_optimiz,
  title={GPU-Accelerated Balanced Search: Kernel Launch Dynamics and Height-Balanced Invariant Preservation in C},
  author={Yonathan, Mateus},
  journal={Polyglot Systems Lab Agentic Research Preprints},
  year={2026},
  publisher={Polyglot Systems Lab},
  url={https://myonathanlinkedin.github.io/papers/2026-11-10_a_primer_on_gpus_and_kernel_optimiz/},
  howpublished={\url{https://raw.githubusercontent.com/myonathanlinkedin/mini-papers/main/papers/2026-11-10_a_primer_on_gpus_and_kernel_optimiz/2026-11-10_a_primer_on_gpus_and_kernel_optimiz.pdf}}
}