GPU CUDA 및 Tensor Core에서 다중 정밀도를 지원하는 메모리 효율 Im2win 합성곱 활성화
Enabling Memory-efficient Im2win Convolution with Multi-precision Support on GPU CUDA and Tensor Cores
한국어 초록
합성곱은 심층 신경망에서 주된 연산 병목이며, 그 효율은 알고리즘과 GPU 하드웨어의 긴밀한 통합에 달려 있다. 기존 GPU 합성곱 방법은 큰 메모리 오버헤드, 낮은 캐시 활용, 커널 크기별 제한된 효과, 또는 수치적 불안정성 등의 문제를 겪는다. 본 연구는 모든 커널 크기에 대해 연속적인 메모리 접근을 제공하는 범용적이고 메모리 효율적인 합성곱 방법인 im2win 패러다임을 CUDA 코어에서는 전 정밀도로, 텐서 코어에서는 반 정밀도로 효율적으로 실행되도록 확장한다. 지그재그 메모리 접근과 비동기 데이터 이동과 같은 새로운 커널 설계 및 최적화를 도입함으로써 im2win은 하드웨어 가속 반 정밀도 행렬 곱-누산 연산을 효율적으로 활용한다. 12개 CNN 벤치마크에서 im2win은 자체 CUDA 코어 구현 대비 최대 2.8배, cuDNN 대비 1.4배, cuBLAS를 사용한 GEMM 기반 합성곱 대비 6.4배 높은 TFLOPS를 달성하면서, 메모리는 각각 53% 및 35%에 불과하게 사용한다. 이 결과는 im2win을 최신 GPU 아키텍처를 위한 통합 고성능 합성곱 프레임워크로 입증한다.
원문 초록
Convolution is a principal computational bottleneck in deep neural networks, and its efficiency depends on tight integration between algorithms and GPU hardware. Existing GPU convolution methods suffer from large memory overhead, poor cache utilization, limited effectiveness across kernel sizes, or numerical instability. This work extends the im2win paradigm -- a universal, memory-efficient convolution method with contiguous memory access for all kernel sizes -- to run efficiently in full precision on CUDA cores and half precision on tensor cores. By introducing new kernel designs and optimizations such as zig-zag memory access and asynchronous data movement, im2win efficiently exploits hardware-accelerated half-precision matrix multiply-accumulate operations. Across twelve CNN benchmarks, im2win achieves up to 2.8x higher TFLOPS than its CUDA core implementation, 1.4x higher than cuDNN, and 6.4x higher than GEMM-based convolution with cuBLAS, while using as little as 53% and 35% of their memory, respectively. These results establish im2win as a unified, high-performance convolution framework for modern GPU architectures.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2608.20725v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.