Hardware Design, Synthesis, and Verification of a Multicore Communication API

Total Page:16

File Type:pdf, Size:1020Kb

Hardware Design, Synthesis, and Verification of a Multicore Communication API Hardware Design, Synthesis, and Verification of a Multicore Communication API Ben Meakin, and Ganesh Gopalakrishnan University of Utah {meakin, ganesh}@cs.utah.edu AbstractÐModern trends in computer architecture and Instead of `reinventing the wheel,' it is imperative that semiconductor scaling are leading towards the design of chips semiconductor companies agree on a standard software API with more and more processor cores. Highly concurrent that, on one hand, offers high efficiency, but on the other hardware and software architectures are inevitable in future hand offers the ability to build and re-use software. The systems. One of the greatest problems in these systems is need for such a standardized API is underscored by the communication. Providing coherence, consistency, emergence of on-chip networks as the physical synchronization, and sharing of data in a multicore system communication mechanism (as opposed to busses) [2]. Thus requires that communication overhead is minimal. This paper the standard API must be able to mimic the functionality describes the design of tightly integrated hardware / software offered by MPI and threads ± but in a light-weight manner, mechanisms for providing extremely efficient on-chip communication. A multicore communication API (MCAPI), and in a manner that meshes well with the existing (bus- developed by the Multicore Association, is combined with based) and emerging (network based) hardware transport network-on-chip (NoC) technology to provide software mechanisms. developers with a scalable hardware accelerated transport This paper describes an effort to merge these two trends ± layer. The designs presented follow the methodology presented sophisticated transport mechanisms in hardware, driven by by MCAPI and target embedded multicore systems-on-chip reusable standard API based high performance software. As (SoC). The key hardware, synthesis, and verification the title suggests, there are three major components of this mechanisms are described. Actual and simulated results work. The hardware design component consists of creating suggest that the proposed solution offers significant HDL models of the key pieces of a scalable on-chip advantages over existing communication architectures in communication fabric and a processing core which terms of performance, power, scalability, and software implements an instruction set architecture capable of development efficiency. seamless integration with the chosen communication API. INTRODUCTION The synthesis component involves both logic synthesis and architectural synthesis of an application specific network- It is widely accepted that modern and future computing on-chip (NoC) topology using an internally developed tool. systems will see performance improvements primarily This tool also performs verification of deadlock-free routing through exploiting increased process/thread level functions for the generated custom topology, which is part parallelism. One of the main pre-requisites to exploiting this of the verification component of this project. IBM©s parallelism efficiently is the availability of APIs that are Sixthsense semi-formal verification tool is also incorporated well matched with the communication / synchronization to provide verification of the key hardware modules at a needs of this area. Clearly, ªone size does not fit all.º In the high level [3]. The semi-formal nature of this tool promises area of large-scale cluster computing, the Message Passing to provide significant coverage and an ability to verify Interface (MPI) ± a very sophisticated API with over 300 designs at a high enough level of abstraction to make functions -- is the lingua franca. MPI is used to program quality-of-service (QoS) guarantees for the resulting cluster computers with up to hundreds of thousands of communication fabric; a task that is quite difficult with processing nodes. In other realms such as embedded simulation. Portions of this project are currently a work in systems using commodity microprocessors, various real- progress and more substantial results will be provided in time operating system primitives and shared memory future publications. threads serve the needs of communication and synchronization. However, for the rapidly exploding area of MULTICORE API IMPLEMENTATION embedded systems based on multiple cores, chips not only contain multiple general purpose computing cores, but for A. MCAPI Overview cost effectiveness and performance also contain application The Multicore Communication API is a message passing specific accelerators, I/O interfaces, and memory interface that is similar to MPI. However, it is designed controllers. All of these on-chip devices need low overhead primarily for embedded devices where broad functionality is communication. As semiconductors continue to scale, more not as important as high performance in a few types of and more of these devices will be found on the same chip. communication. MCAPI provides the communication primitives that can be used by operating systems, libraries, footprint of the library implementation such that it is and applications to improve code portability across different suitable for embedded applications. hardware generations. Since the API is designed for on-chip communication, it makes few assumptions about the hardware architecture and leaves a lot of freedom for the implementation to take advantage of whatever optimizations may be permitted through the architecture. It aspires to provide good code portability across hardware generations. However, its simplicity also enables implementations with high performance communication, lower power consumption, and a lower memory footprint [1]. B. MIPS ISA Extension The core functionality of the implementation described in this paper is controllable via a set of RISC type assembly instructions added as an extension to the MIPS instruction set. These instructions are given in Fig. 1. The decision to make the control of the communication hardware programmable is based on an effort to avoid over Fig. 2. Send / Receive Implementation complicating the hardware. Using these instructions all of the communication ON-CHIP NETWORK DESIGN functionality of MCAPI can be implemented. The send header instruction builds the packet header and sends it on A. Topology Generation the network. It includes source and destination node MCAPI is intended to be used on embedded multicore identifiers, as well as a packet class that indicates the type of platforms. These types of systems are typically geared data being sent (i.e. pointer/buffer, short, integer, or long). towards performing one or more specific types of tasks such Note that zero copy data transfer through pointer passing is as network packet processing, graphics, or some type of possible only if both communication endpoints reside in the multimedia processing. In these applications regular same shared memory domain. The receive header patterns of communication are observed. Therefore, a instruction subsequently gets the packet header and writes it general purpose communication fabric is not optimal. As to a register. The header data can then be parsed using bit part of this work, a tool has been developed which mask and shift instructions (standard with the MIPS ISA). synthesizes an custom network topology for a given The send/receive word instructions send or receive word workload specification. The generated topology is length chunks of data. The get ID and flag instructions write optimized to reduce the average network hops per packet in the local node ID and the specified network status flag to an attempt to reduce power consumption and registers respectively. communication latency. The tool also attempts to find a placement of the network nodes such that wire lengths are minimized. The algorithms used by this tool are presented in detail in [4]. Fig. 1. Communication Instructions 1) Example Send/Receive Implementation: With these added instructions MCAPI can be implemented as a C library with in-line assembly code. An example implementation of MCAPI message send function is given in Fig. 2. For brevity, some error checking code has been omitted. Note that the code size of these functions is relatively small. This is critical to minimizing the memory Fig. 4. Example Topology proportional to the router radix. Fig. 5 depicts a 3 by 3 An example topology generated by the tool is given in router. The topology synthesis tool generates networks with Fig. 4. Here, a network node is a tile consisting of a router, a this in consideration. The user enters a maximum router network interface unit (NIU), a shared resource such as a radix based on the constraints of the system and a network processor, and an optional private resource such as an L1 is produced where no router is larger then the maximum size cache. and the average router size is minimized. This results in better average case performance that an asynchronous B. Asynchronous Router Design network can exploit. In systems such as this it is also essential that the communication fabric supports different clock domains. C. Packet Structure Each heterogeneous processing element will often have a MCAPI packets are divided into flits as shown in Fig. 6. different clock rate that is ideal. Therefore, the bridging of The head flit consists of a destination node and port ID, these different clock domains must be provided by the packet class, and sender ID. Different packet classes are network. This support is provided by designing the on-chip used to implement
Recommended publications
  • Microprocessor
    MICROPROCESSOR www.MPRonline.com THE REPORTINSIDER’S GUIDE TO MICROPROCESSOR HARDWARE EEMBC’S MULTIBENCH ARRIVES CPU Benchmarks: Not Just For ‘Benchmarketing’ Any More By Tom R. Halfhill {7/28/08-01} Imagine a world without measurements or statistical comparisons. Baseball fans wouldn’t fail to notice that a .300 hitter is better than a .100 hitter. But would they welcome a trade that sends the .300 hitter to Cleveland for three .100 hitters? System designers and software developers face similar quandaries when making trade-offs EEMBC’s role has evolved over the years, and Multi- with multicore processors. Even if a dual-core processor Bench is another step. Originally, EEMBC was conceived as an appears to be better than a single-core processor, how much independent entity that would create benchmark suites and better is it? Twice as good? Would a quad-core processor be certify the scores for accuracy, allowing vendors and customers four times better? Are more cores worth the additional cost, to make valid comparisons among embedded microproces- design complexity, power consumption, and programming sors. (See MPR 5/1/00-02, “EEMBC Releases First Bench- difficulty? marks.”) EEMBC still serves that role. But, as it turns out, most The Embedded Microprocessor Benchmark Consor- EEMBC members don’t openly publish their scores. Instead, tium (EEMBC) wants to help answer those questions. they disclose scores to prospective customers under an NDA or EEMBC’s MultiBench 1.0 is a new benchmark suite for use the benchmarks for internal testing and analysis. measuring the throughput of multiprocessor systems, Partly for this reason, MPR rarely cites EEMBC scores including those built with multicore processors.
    [Show full text]
  • Programmers' Tool Chain
    Reduce the complexity of programming multicore ++ Offload™ for PlayStation®3 | Offload™ for Cell Broadband Engine™ | Offload™ for Embedded | Custom C and C++ Compilers | Custom Shader Language Compiler www.codeplay.com It’s a risk to underestimate the complexity of programming multicore applications Software developers are now presented with a rapidly-growing range of different multi-core processors. The common feature of many of these processors is that they are difficult and error-prone to program with existing tools, give very unpredictable performance, and that incompatible, complex programming models are used. Codeplay develop compilers and programming tools with one primary goal - to make it easy for programmers to achieve big performance boosts with multi-core processors, but without needing bigger, specially-trained, expensive development teams to get there. Introducing Codeplay Based in Edinburgh, Scotland, Codeplay Software Limited was founded by veteran games developer Andrew Richards in 2002 with funding from Jez San (the founder of Argonaut Games and ARC International). Codeplay introduced their first product, VectorC, a highly optimizing compiler for x86 PC and PlayStation®2, in 2003. In 2004 Codeplay further developed their business by offering services to processor developers to provide them with compilers and programming tools for their new and unique architectures, using VectorC’s highly retargetable compiler technology. Realising the need for new multicore tools Codeplay started the development of the company’s latest product, the Offload™ C++ Multicore Programming Platform. In October 2009 Offload™: Community Edition was released as a free-to-use tool for PlayStation®3 programmers. Experience and Expertise Codeplay have developed compilers and software optimization technology since 1999.
    [Show full text]
  • Educational Goals for Embedded Systems in the Multicore Era
    AC 2009-414: EDUCATIONAL GOALS FOR EMBEDDED SYSTEMS IN THE MULTICORE ERA James Holt, Freescale Semiconductor, Inc. Jim leads the Multicore Design Evaluation team for Freescale’s NMG/NSD division. Jim has 27 years of industry experience focused on distributed systems, microprocessor and SoC architecture, design verification, and optimization. Jim is an IEEE Senior Member, and is a board member for the Multicore Association. He is also chair of the Integrated Systems & Circuits Science area for the Semiconductor Research Corporation (SRC), and chair of the Multicore Resource API Working group for the Multicore Association. Jim earned a Ph.D. in Electrical and Computer Engineering from the University of Texas at Austin, and an MS in Computer Science from Texas State University. Hongchi Shi, Texas State University, San Marcos Hongchi Shi is Professor and Chair of the Computer Science Department at Texas State University-San Marcos. Prior to joining Texas State University, he has been an Assistant/Associate/Full Professor of Computer Science and Electrical and Computer Engineering at the University of Missouri. He obtained his BS degree and MS degree in Computer Science and Engineering from Beijing University of Aeronautics and Astronautics in 1983 and 1986, respectively. He obtained his PhD degree in Computer and Information Sciences from the University of Florida in 1994. Hongchi Shi's research interests include parallel and distributed computing, wireless sensor networks, neural networks, and image processing. He has served on many organizing and/or technical program committees of international conferences in his research areas. He is a member of ACM and a senior member of IEEE.
    [Show full text]
  • Performance Analysis and Tuning in Multicore Environments
    Computer Architecture and Operative Systems Department Master in High Performance Computing Performance Analysis and Tuning in Multicore Environments MSc research Project for the “Master in High Performance Computing” submitted by MARIO ADOLFO ZAVALA JIMENEZ, advised by Eduardo Galobardes. Dissertation done at Escola Tècnica Superior d’Enginyeria (Computer Architecture and Operative Systems Department). 2009 Abstract Performance analysis is the task of monitor the behavior of a program execution. The main goal is to find out the possible adjustments that might be done in order improve the performance. To be able to get that improvement it is necessary to find the different causes of overhead. Nowadays we are already in the multicore era, but there is a gap between the level of development of the two main divisions of multicore technology (hardware and software). When we talk about multicore we are also speaking of shared memory systems, on this master thesis we talk about the issues involved on the performance analysis and tuning of applications running specifically in a shared Memory system. We move one step ahead to take the performance analysis to another level by analyzing the applications structure and patterns. We also present some tools specifically addressed to the performance analysis of OpenMP multithread application. At the end we present the results of some experiments performed with a set of OpenMP scientific application. Keywords: Performance analysis, application patterns, Tuning, Multithread, OpenMP, Multicore. Resumen Análisis de rendimiento es el área de estudio encargada de monitorizar el comportamiento de la ejecución de programas informáticos. El principal objetivo es encontrar los posibles ajustes que serán necesarios para mejorar el rendimiento.
    [Show full text]
  • Exploring Task Parallelism for Heterogeneous Systems Using Multicore Task Management API
    Exploring Task Parallelism for Heterogeneous Systems Using Multicore Task Management API Suyang Zhu1, Sunita Chandrasekaran2, Peng Sun1, Barbara Chapman1, Marcus Winter3, and Tobias Schuele4 1 Dept. of Computer Science, University of Houston [email protected], [email protected], [email protected] 2 Dept. of Computer and Information Sciences, University of Delaware [email protected] 3 Hypnolords Gbr [email protected] 4 Siemens Corporate Technology [email protected] Abstract. Current trends in multicore platform design indicate that heterogeneous systems are here to stay. Such systems include processors with specialized accelerators supporting different instruction sets and different types of memory spaces among several other features. Unfor- tunately, these features increase the effort for programming and porting applications to different target platforms. To solve this problem, effec- tive programming strategies that can exploit the rich feature set of such heterogeneous multicore architectures are required without leading to an increased learning curve for applying these strategies. In this paper, we explore the Multicore Task Management API (MTAPI), a standard for task-based parallel programming in embedded systems. MTAPI provides interfaces for decomposing a problem into a set of tasks while abstracting from the heterogeneous nature of the target platforms. This way, it allows to efficiently distribute work in systems consisting of different cores running at different speed. For evaluation purposes, we use an NVIDIA Jetson TK1 board (ARM + GPU) as our test bed. As applications, we employ codes from benchmark suites such as Rodinia and BOTS. Keywords: Multicore Systems, Runtime, Heterogeneity, Accelerators, MTAPI 1 Introduction Embedded multicore systems are widely used in areas such as networking, au- tomobiles, and robotics.
    [Show full text]
  • Openmp for Heterogeneous Multicore Embedded Systems Using MCA API Standard Interface
    OpenMP for Heterogeneous Multicore Embedded Systems using MCA API standard interface Sunita Chandrasekaran ([email protected]) Peng Sun, Suyang zhu, Barbara Chapman HPCTools Group, University of Houston, USA in collaboration with freescale semiconductor (FSL) and Semiconductor Research Corporation (SRC) OpenMP Booth @ SC14 Real-world applications using embedded systems FPGAS used to receive a number of acoustic pings form an image DSP, a device to interact with a user through the embedded processor within A self-piloted car powered by the NVIDIA Jetson TK1 11/18/14 2 Embedded programmers’ requirements • Write once, reuse anywhere o Avoid rewriting from scratch o Provide incremental migration path essential for application codes o Exploit multiple levels of parallelism • …with familiar and/or commodity programming models o None are perfect, but industry adoption is critical 11/18/14 3 OpenMP – widely adopted standard (www.openmp.org) ! Industry standard for shared memory parallel programming o Supported by large # of vendors (TI, AMD, IBM, Intel, Cray, NVIDIA, HP…..) o OpenMP 4.0 – provides support for compute devices such as Xeon Phis, GPUs and others ! High level directive-based solution Compiler directives, library routines and envt. variables o void main() o Programming Model - Fork-Join parallelism { o Threads communicate by sharing variables o Synchronizations to control race conditions double Res[1000]; o Structured programming to reduce likelihood #pragma omp parallel for of bugs for(int i=0;i<1000;i++) { do_huge_comp(Res[i]); Programming made easy! } 11/18/14 4 } OpenMP Solution Stack 5 OpenMP Parallel Computing Solution Stack OpenMP Application User User layer layer API Directives, OpenMP Environment .
    [Show full text]
  • High-Level Programming Model for Heterogeneous Embedded Systems Using
    HIGH-LEVEL PROGRAMMING MODEL FOR HETEROGENEOUS EMBEDDED SYSTEMS USING MULTICORE INDUSTRY STANDARD APIS A Dissertation Presented to the Faculty of the Department of Computer Science University of Houston In Partial Fulfillment of the Requirements for the Degree Doctor of Philosophy By Peng Sun July 2016 HIGH-LEVEL PROGRAMMING MODEL FOR HETEROGENEOUS EMBEDDED SYSTEMS USING MULTICORE INDUSTRY STANDARD APIS Peng Sun APPROVED: Dr. Chapman, Barbara Dept. of Computer Science, University of Houston Dr. Gabriel, Edgar Dept. of Computer Science, University of Houston Dr. Shah, Shishir Dept. of Computer Science, University of Houston Dr. Subhlok, Jaspal Dept. of Computer Science, University of Houston Dr. Chandrasekaran, Sunita Dept. of CIS, University of Delaware Dean, College of Natural Sciences and Mathematics ii Acknowledgements First and foremost, I would like to thank my advisor, Dr. Barbara Chapman, for her invaluable advice and guidance in my Ph.D. study. I appreciate all her dedi- cated guidance, and great opportunities to participate in those worthwhile academic projects, and the funding to complete my Ph.D. study. Special thanks to all my com- mittee members: Dr. Edgar Gabriel, Dr. Shishir Shah, Dr. Jaspal Subhlok, and Dr. Sunita Chandrasekaran, for their time, insightful comments and help. Specifically, I am very grateful to Dr. Sunita Chandrasekaran for the valuable mentoring and guidance for my research and publications. That help is paramount to my Ph.D. Journey. I would also like to thank my fellow labmates of the HPCTools group: Dr. Deepak Eachempati, Tony Curtis, Dr. Dounia Khaldi, Dr. Cheng Wang, Dr. Xiaonan Tian for their valuable discussion and friendships. I enjoy working with them.
    [Show full text]
  • Performance Impact of Lock-Free Algorithms on Multicore Communication Apis
    Performance Impact of Lock-Free Algorithms on Multicore Communication APIs K. Eric Harper and Thijmen de Gooijer Industrial Software Systems ABB Corporate Research [email protected], [email protected] Abstract: - Data race conditions in multi-tasking software applications are prevented by serializing access to shared memory resources, ensuring data consistency and deterministic behavior. Traditionally tasks acquire and release locks to synchronize operations on shared memory. Unfortunately, lock management can add significant processing overhead especially for multicore deployments where tasks on different cores convoy in queues waiting to acquire a lock. Implementing more than one lock introduces the risk of deadlock and using spinlocks constrains which cores a task can run on. The better alternative is to eliminate locks and validate that real-time properties are met, which is not directly considered in many embedded applications. Removing the locks is non-trivial and packaging lock-free algorithms for developers reduces the possibility of concurrency defects. This paper details how a multicore communication API implementation is enhanced to support lock-free messaging and the impact this has on data exchange latency between tasks. Throughput and latency are compared on Windows and Linux between lock-based and lock-free implementations for data exchange of messages, packets, and scalars. A model of the lock-free exchange predicts performance at the system architecture level and provides a stop criterion for the refactoring. The results show that migration from single to multicore hardware architectures degrades lock-based performance, and increases lock-free performance. 1 Introduction The world is full of embedded devices whose software has been developed with the assumption that a single processor executes its functions.
    [Show full text]
  • Making Full Use of Emerging ARM-Based Heterogeneous Multicore Socs Felix Baum, Arvind Raghuraman
    Making Full use of Emerging ARM-based Heterogeneous Multicore SoCs Felix Baum, Arvind Raghuraman To cite this version: Felix Baum, Arvind Raghuraman. Making Full use of Emerging ARM-based Heterogeneous Multicore SoCs. 8th European Congress on Embedded Real Time Software and Systems (ERTS 2016), Jan 2016, TOULOUSE, France. hal-01292325 HAL Id: hal-01292325 https://hal.archives-ouvertes.fr/hal-01292325 Submitted on 23 Mar 2016 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Making Full use of Emerging ARM-based Heterogeneous Multicore SoCs Felix Baum Arvind Raghuraman Embedded Systems Division Embedded Systems Division Mentor Graphics Corporation Mentor Graphics Corporation Fremont, California USA Fremont, California USA [email protected] [email protected] Abstract— The complexity and pace of heterogeneous SoC present in the SoC – all working in concert to achieve the architectures is accelerating at blinding speed. While these design goals of the end application. Typical designs involve a complex hardware architectures enable product vision, they also software context on a master core bringing up a remote create new and difficult challenges for the system architects. software context on a remote core on a demand-driven basis to Running and debugging an Operating System and application offload computation.
    [Show full text]
  • Automatically Parallelizing Embedded Legacy Software on Soft-Core Socs
    Automatically Parallelizing Embedded Legacy Software on Soft-Core SoCs Automatische Parallelisierung bestehender eingebetteter Software mit Soft-Core SoCs Zur Erlangung des akademischen Grades Doktor-Ingenieur (Dr.-Ing.) genehmigte Dissertation von Kris Heid aus Groß-Umstadt Tag der Einreichung: 24.06.2019, Tag der Prüfung: 20.08.2019 Darmstadt — D 17 1. Gutachten: Prof. Dr.-Ing. Christian Hochberger 2. Gutachten: Prof. Dr.-Ing. Jeronimo Castrillon Fachgebiet Rechnersysteme Fachbereich Elektrotechnik und Informationstechnik Automatically Parallelizing Embedded Legacy Software on Soft-Core SoCs Automatische Parallelisierung bestehender eingebetteter Software mit Soft-Core SoCs Genehmigte Dissertation von Kris Heid aus Groß-Umstadt 1. Gutachten: Prof. Dr.-Ing. Christian Hochberger 2. Gutachten: Prof. Dr.-Ing. Jeronimo Castrillon Tag der Einreichung: 24.06.2019 Tag der Prüfung: 20.08.2019 Darmstadt — D 17 URN: urn:nbn:de:tuda-tuprints-90205 URL: http://tuprints.ulb.tu-darmstadt.de/id/eprint/9020 Dieses Dokument wird bereitgestellt von tuprints, E-Publishing-Service der TU Darmstadt http://tuprints.ulb.tu-darmstadt.de [email protected] Die Veröffentlichung steht unter folgender Creative Commons Lizenz: Namensnennung – Keine kommerzielle Nutzung – Keine Bearbeitung 4.0 International https://creativecommons.org/licenses/by/4.0/deed.de Erklärungen laut Promotionsordnung § 8 Abs. 1 lit. c PromO Ich versichere hiermit, dass die elektronische Version meiner Dissertation mit der schriftlichen Version übereinstimmt. § 8 Abs. 1 lit. d PromO Ich versichere hiermit, dass zu einem vorherigen Zeitpunkt noch keine Promotion versucht wurde. In diesem Fall sind nähere Angaben über Zeitpunkt, Hochschule, Dissertationsthema und Ergebnis dieses Versuchs mitzuteilen. § 9 Abs. 1 PromO Ich versichere hiermit, dass die vorliegende Dissertation selbstständig und nur unter Verwendung der angegebenen Quellen verfasst wurde.
    [Show full text]
  • Heterogeneous Multicore Openamp
    Heterogeneous Multicore OpenAMP Felix Baum Mentor Embedded 1 Trends Create Opportunities Competitive Consolidation SoC Technology Market (Reuse, Space, Advancement Weight, Power) Multiple OSes Mixed Core Types Global Competition Complex Increasing Pace of Innovation Configurations Complexity 2 Heterogeneous Computing for Power/Performance Systems that use more than one kind of processor Allows improved efficiency for various workloads Increases the programming challenge 3 Heterogeneous Computing for Power/Performance 4 SoC FPGA: Heterogeneous Processing Choices Hard processor system: ARM* Cortex*-A9, A53 • Dual- and quad-core variants • System management and control Soft CPU(s): Nios II • Configurable (performance, number of cores) • From C-programmable state machine to Linux* Hardware accelerators • Application specific hardware in FPGA • OpenCL*, MATLAB*/Simulink*, custom designed RTL • Managed by CPU or autonomous 5 Techniques to Parallelize the Processing: OpenMP OpenMP (Open Multi-Processing) is an application programming interface (API) that supports multi-platform shared memory multiprocessing programming in C, C++, and Fortran. • It consists of a set of compiler directives, library routines, and environment variables that influence runtime behavior • User identifies supported constructs, and manually inserts directives to assist compiler for a reconstruction of supported constructs into parallel • User does not need to create threads, and does not need to consider the work assigned to threads • OpenMP allows users who do not have a sufficient knowledge of parallel computing to explore parallel computing 6 Techniques to Parallelize the Processing: OpenCL* OpenCL* (Open Computing Language) is the industry’s open standard for writing data-parallel code in heterogeneous computers. • OpenCL is promoted as a primary approach towards programming Intel parallel computing hardware offerings.
    [Show full text]
  • MINIME: Pattern-Aware Multicore Benchmark Synthesizer Etem Deniz, Member, IEEE, Alper Sen, Senior Member, IEEE, Brian Kahne, Jim Holt, Senior Member, IEEE
    This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TC.2014.2349522, IEEE Transactions on Computers IEEE TRANSACTIONS ON COMPUTERS, VOL. V, NO. N, 2013 1 MINIME: Pattern-Aware Multicore Benchmark Synthesizer Etem Deniz, Member, IEEE, Alper Sen, Senior Member, IEEE, Brian Kahne, Jim Holt, Senior Member, IEEE Abstract—We present a novel automated multicore benchmark synthesis framework with characterization and generation components. Our framework uses parallel patterns in capturing important characteristics of multi-threaded applications and generates synthetic multicore benchmarks from those applications. The resulting synthetic benchmarks are small, fast, portable, human-readable, and they accurately reflect microarchitecture dependent and independent characteristics of the original multicore applications. Also, they can use either Pthreads or MCA libraries. We implement our techniques in the MINIME tool and generate synthetic benchmarks from PARSEC, Rodinia, and EEMBC MultibenchTM benchmarks on x86 and Power Architecture R platforms. We show that synthetic benchmarks are representative across a range of multicore machines with different architectures, while being on average 21x faster and 14x smaller than original benchmarks. Index Terms—Multicore Systems, Parallel Patterns, Synthetic Benchmarks. F 1 INTRODUCTION ence of shared memory architectures, or Pthreads, OpenMP, and OpenCL libraries as well as uniform Thermal and power problems limit the performance CPU ISAs. Multicore systems may not be able to that single core processors can deliver. This has led use these benchmarks as they may not support such to the development of multicore systems.
    [Show full text]