PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
March 3, 20240 citationsOpen Access

Automatic Static Analysis-Guided Optimization of CUDA Kernels

View Full Paper
MLMark LouSMStefan K. Muller

Key Points

Key points are not available for this paper at this time.

Abstract

We propose a framework for using static resource analysis to guide the automatic optimization of general-purpose GPU (GPGPU) kernels written in CUDA, NVIDIA's framework for GPGPU programming. In our proposed framework, optimizations are applied to the kernel and candidate kernels are evaluated for performance by running a static analysis that predicts the execution cost of GPU kernels. The use of static analysis, in contrast to many existing frameworks for performance tuning GPU kernels, lends itself to high-level, hardware-independent optimizations that can be of particular benefit to novice programmers unfamiliar with CUDA's performance pitfalls. As a proof of concept, we have implemented two example optimizations and a simple search strategy in a tool called COpPER (CUDA Optimization through Programmatic Estimation of Resources), which makes use of a static resource analysis tool for CUDA from prior work. The prototype tool automatically improves the performance of sample kernels by 2-4% in initial experiments, and demonstrates the feasibility of using static analysis as part of automated performance tuning for GPU kernels.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Lou et al. (2024) studied this question.

synapsesocial.com/papers/68e75efdb6db6435876d6169https://doi.org/10.1145/3649169.3649249
Ask AI
Helpful
Bookmark
Share
View Full Paper