
As an Amazon Associate and affiliate partner, Menrva Books earns from qualifying purchases. Learn more
Most emerging applications in imaging and machine learning must perform immense amounts of computation while holding to strict limits on energy and power. To meet these goals, architects are building increasingly specialized compute engines tailored for these specific tasks. The resulting computer systems are heterogeneous, containing multiple processing cores with wildly different execution models. Unfortunately, the cost of producing this specialized hardware--and the software to control it--is astronomical. Moreover, the task of porting algorithms to these heterogeneous machines typically requires that the algorithm be partitioned across the machine and rewritten for each specific architecture, which is time consuming and prone to error. Over the last several years, the authors have approached this problem using domain-specific languages (DSLs): high-level programming languages customized for specific domains, such as database manipulation, machine learning, or image processing. By giving up generality, these languages are able to provide high-level abstractions to the developer while producing high performance output. The purpose of this book is to spur the adoption and the creation of domain-specific languages, especially for the task of creating hardware designs. In the first chapter, a short historical journey explains the forces driving computer architecture today. Chapter 2 describes the various methods for producing designs for accelerators, outlining the push for more abstraction and the tools that enable designers to work at a higher conceptual level. From there, Chapter 3 provides a brief introduction to image processing algorithms and hardware design patterns for implementing them. Chapters 4 and 5 describe and compare Darkroom and Halide, two domain-specific languages created for image processing that produce high-performance designs for both FPGAs and CPUs from the same source code, enabling rapid design cycles and quick porting of a
The increasing demand for computational power in emerging applications like imaging and machine learning, coupled with strict energy and power constraints, has led to the development of specialized, heterogeneous computing systems. These systems, containing diverse processing cores, present significant challenges in terms of hardware and software production costs, as well as the complex and error-prone process of porting algorithms. This book advocates for the adoption and creation of domain-specific languages (DSLs) as a solution to streamline algorithm development for these heterogeneous architectures, enabling both high-level abstraction for developers and high performance output.
The book addresses the critical challenge of developing efficient software for heterogeneous computing systems, a growing area driven by demands in machine learning and imaging. It proposes domain-specific languages (DSLs) as a practical solution, offering a path to manage complexity and improve performance. The content is structured to guide readers through the historical context, design methodologies, and specific examples of DSLs like Darkroom and Halide, aiming to foster wider adoption of these specialized languages in hardware design.
Page Count:
105
Publication Date:
2018-01-01
Publisher:
Morgan & Claypool Publishers
ISBN-10:
162705961X
ISBN-13:
9781627059619
No comments yet. Be the first to share your thoughts!