ACM SIGPLAN Notices· 2013
Halide: Yüksek Performanslı Görüntü İşleme İçin Alan Özelinde Bir Dil
Halide
- 494atıf
- 2013yıl
Kısa özet
Halide dili ve optimize edici derleyicisi, paralellik, yerellik ve yeniden hesaplama arasındaki ödünleşim alanını sistematik olarak modelleyerek görüntü işleme boru hatları için uzman tarafından ayarlanmış C, intrinsics ve CUDA'ya göre 5 kata kadar performans artışı sağlıyor.
Yapay zekâ ile başlık ve abstract'tan üretildi; tam metin okunmaz.
Ana noktalar
- Halide, karmaşık şablon hesaplamaları olan görüntü işleme boru hatlarını optimize etmek için sistematik bir model sunar.
- Halide derleyicisi, paralellik, yerellik ve yeniden hesaplamayı optimize ederek yüksek performanslı uygulamalar sentezler.
- Stokastik arama, Halide'nin çeşitli donanım mimarilerinde (çoklu çekirdek, CPU+GPU) en gelişmiş performansı elde etmesini sağlar.
- Halide programları, uzman tarafından el ile ayarlanmış C, intrinsics ve CUDA uygulamalarına göre 5 kata kadar daha hızlıdır.
Yapay zekâ ile başlık ve abstract'tan üretildi; tam metin okunmaz.
Özet (abstract)
Image processing pipelines combine the challenges of stencil computations and stream programs. They are composed of large graphs of different stencil stages, as well as complex reductions, and stages with global or data-dependent access patterns. Because of their complex structure, the performance difference between a naive implementation of a pipeline and an optimized one is often an order of magnitude. Efficient implementations require optimization of both parallelism and locality, but due to the nature of stencils, there is a fundamental tension between parallelism, locality, and introducing redundant recomputation of shared values. We present a systematic model of the tradeoff space fundamental to stencil pipelines, a schedule representation which describes concrete points in this space for each stage in an image processing pipeline, and an optimizing compiler for the Halide image processing language that synthesizes high performance implementations from a Halide algorithm and a schedule. Combining this compiler with stochastic search over the space of schedules enables terse, composable programs to achieve state-of-the-art performance on a wide range of real image processing pipelines, and across different hardware architectures, including multicores with SIMD, and heterogeneous CPU+GPU execution. From simple Halide programs written in a few hours, we demonstrate performance up to 5x faster than hand-tuned C, intrinsics, and CUDA implementations optimized by experts over weeks or months, for image processing applications beyond the reach of past automatic compilers.
Yazarların özeti; kaynağından alınmıştır. ACM SIGPLAN Notices, 2013 · DOI ↗
Ücretsiz hesapla devam et
Makaleye Sor ile bu makaleye günde 3 soru ücretsiz; makaleyi kaydet, kaynakçasını al, ilgi alanına göre her gün yeni özetler. Çıkarımlar Premium.
Web'de ücretsiz devam etGoogle ya da Apple hesabınla giriş; kart istemez. Bu makaleye geri dönersin.
Telefonda:
Alan: Donanım ve Mimari
Hardware and ArchitectureComputer Science