计算机科学
并行计算
计算
计算科学
图形处理单元的通用计算
库达
计算机图形学(图像)
算法
绘图
作者
Romolo Marotta,Alessandro Pellegrini,Philipp Andelfinger
出处
期刊:Proceedings of the ... Workshop on Parallel and Distributed Simulation
[Association for Computing Machinery]
日期:2024-06-24
卷期号:: 47-51
被引量:8
标识
DOI:10.1145/3615979.3656056
摘要
Despite the successes of graphics processing units (GPUs) in accelerating simulations in several research fields, their use is largely restricted to domain-specific workloads that consistently offer the large degree of inherent parallelism and computational intensity at which GPUs excel. When targeting generic discrete-event simulations, whose dynamics can vary wildly over time, a static choice between a GPU-based and traditional CPU-based execution is likely to be suboptimal. Here, we explore a parallel discrete-event (PDES) execution scheme for CPU-GPU platforms that aims to approximate an optimal dynamic device choice. Starting from an intermediate model state, a current “leader” device running the simulation is periodically challenged by a brief concurrent run on another device starting from an intermediate model state. Based on the gathered performance measurements, a forecasting scheme determines the leader for the next period. The execution time and power consumption of this scheme hinge on 1) an efficient mechanism for providing the “follower” device with a consistent model state, and 2) robust performance forecasting to justify the device choices. We present these building blocks, their implementation combining the existing CPU and GPU simulators ROOT-Sim and GPUTW, and measurement results demonstrating substantially reduced execution time without increasing energy consumption over a static device choice.
科研通智能强力驱动
Strongly Powered by AbleSci AI