CrossRT: A cross platform programming technology for hardware-accelerated ray tracing in CG and CV applications
<|reference_start|>CrossRT: A cross platform programming technology for hardware-accelerated ray tracing in CG and CV applications: We propose a programming technology that bridges cross-platform compatibility and hardware acceleration in ray tracing applications. Our methodology enables developers to define algorithms while our translator manages implementation specifics for different hardware or APIs. Features include: generating hardware-accelerated code from hardware-agnostic, object-oriented C++ algorithm descriptions; enabling users to define software fallbacks for non-hardware-accelerated CPUs and GPUs; producing GPU programming API-based algorithm implementations resembling manually ported C++ versions. The generated code is editable and readable, allowing for additional hardware acceleration. Our translator supports single megakernel and multiple kernel path tracing implementations without altering the programming model or input source code. Wavefront mode is crucial for NeRF and SDF, ensuring efficient evaluation with multiple kernels. Validation on tasks such as BVH tree build/traversal, ray-surface intersection for SDF, ray-volume intersection for 3D Gaussian Splatting, and complex Path Tracing models showed comparable performance levels to expert-written implementations for GPUs. Our technology outperformed existing Path Tracing implementations.<|reference_end|>
@article{frolov2024crossrt:,
    title={CrossRT: A cross platform programming technology for
  hardware-accelerated ray tracing in CG and CV applications},
    author={Vladimir Frolov, Vadim Sanzharov, Garifullin Albert, Maxim Raenchuk
  and Alexei Voloboy},
    journal={arXiv preprint arXiv:2409.12617},
    year={2024},
    archivePrefix={arXiv},
    eprint={2409.12617},
    primaryClass={cs.GR}
}