Saved in:
Bibliographic Details
Main Authors: Frolov, Vladimir, Sanzharov, Vadim, Albert, Garifullin, Raenchuk, Maxim, Voloboy, Alexei
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2409.12617
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912034906439680
author Frolov, Vladimir
Sanzharov, Vadim
Albert, Garifullin
Raenchuk, Maxim
Voloboy, Alexei
author_facet Frolov, Vladimir
Sanzharov, Vadim
Albert, Garifullin
Raenchuk, Maxim
Voloboy, Alexei
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2409_12617
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle CrossRT: A cross platform programming technology for hardware-accelerated ray tracing in CG and CV applications
Frolov, Vladimir
Sanzharov, Vadim
Albert, Garifullin
Raenchuk, Maxim
Voloboy, Alexei
Graphics
I.3
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.
title CrossRT: A cross platform programming technology for hardware-accelerated ray tracing in CG and CV applications
topic Graphics
I.3
url https://arxiv.org/abs/2409.12617