
doi: 10.1002/spe.3414
ABSTRACTIntroductionUnity is a powerful and versatile tool for creating real‐time experiments. It includes a built‐in compute shader language, a C‐like programming language designed for massively parallel General‐Purpose GPU (GPGPU) computing. However, as Unity is primarily developed for multi‐platform game creation, its compute shader language has several limitations, including the lack of multi‐GPU computation support and incomplete mathematical libraries.ContributionTo address these limitations, GPU manufacturers have developed specialized programming models, such as CUDA and HIP, which enable developers to leverage the full computational power of modern GPUs. This article introduces an open‐source tool designed to bridge the gap between Unity and CUDA, allowing developers to integrate CUDA's capabilities within Unity‐based projects.MethodsThe proposed solution establishes an interoperability framework that facilitates communication between Unity and CUDA. The tool is designed to efficiently transfer data, execute CUDA kernels, and retrieve results, ensuring seamless integration into Unity's rendering and computation pipeline.ResultsOur tool extends Unity's capabilities by enabling CUDA‐based computations, overcoming the inherent limitations of Unity's compute shader language. This integration allows developers to exploit multi‐GPU architectures, leverage advanced mathematical functions, and enhance computational performance for real‐time applications.
Parallel Programming, Unity, Software Tools, [INFO.INFO-CL] Computer Science [cs]/Computation and Language [cs.CL], Real-time Systems, [INFO.INFO-SE] Computer Science [cs]/Software Engineering [cs.SE], [INFO.INFO-DC] Computer Science [cs]/Distributed, Parallel, and Cluster Computing [cs.DC], CUDA, Interoperability, Programming Techniques
Parallel Programming, Unity, Software Tools, [INFO.INFO-CL] Computer Science [cs]/Computation and Language [cs.CL], Real-time Systems, [INFO.INFO-SE] Computer Science [cs]/Software Engineering [cs.SE], [INFO.INFO-DC] Computer Science [cs]/Distributed, Parallel, and Cluster Computing [cs.DC], CUDA, Interoperability, Programming Techniques
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 1 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Average | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Average | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Average |
