<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>INTIACC: A 32-bit Floating-Point Programmable Custom-ISA Accelerator for Solving Classes of Partial Differential Equations</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>09/19/2022</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10464827</idno>
					<idno type="doi">10.1109/ESSCIRC55480.2022.9911441</idno>
					<title level='j'>ESSCIRC 2022- IEEE 48th European Solid State Circuits Conference (ESSCIRC)</title>
<idno></idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Paul Xuanyuanliang Huang</author><author>Daniel Jang</author><author>Yannis Tsividis</author><author>Mingoo Seok</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[We propose a numerical integration accelerator (INTIACC) that speeds up the solution of partial differential equations (PDEs) for scientific computing. In contrast to recent works, INTIACC applies to a variety of PDEs and boundary conditions, has enhanced nonlinear function capability, supports high-order integration algorithms, and uses floating-point arithmetic for orders of magnitude smaller solution error. With all the benefits, our test chip still achieves 40X speed-up over prior accelerators and orders of magnitudes over CPU and GPU based systems.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>I. INTRODUCTION</head><p>PDEs are the core mathematical tool for modeling a wide range of scientific and engineering phenomena, making it of great interest to accelerate their numerical solution. Today's primary choices for solving PDEs are multi-core CPUs <ref type="bibr">[5,</ref><ref type="bibr">6]</ref> and GPUs, but it still takes a long time and a large amount of energy to solve them. This limitation has motivated multiple accelerator architectures <ref type="bibr">[1]</ref><ref type="bibr">[2]</ref><ref type="bibr">[3]</ref><ref type="bibr">[4]</ref><ref type="bibr">7]</ref>. However, they are still severely limited in mainly four ways. First, they can only handle ordinary differential equations (ODEs) <ref type="bibr">[3]</ref> or a single type of PDE (Poisson's equation) <ref type="bibr">[1,</ref><ref type="bibr">2]</ref>, leaving a large number of essential PDEs inapplicable. Second, they only support constant (i.e., Dirichlet) boundary conditions <ref type="bibr">[1]</ref><ref type="bibr">[2]</ref><ref type="bibr">[3]</ref><ref type="bibr">[4]</ref>. Third, some accelerators do not support the computation of nonlinear terms such as x 2 , sin(x), and 1/x, which frequently arise in realworld problems <ref type="bibr">[1,</ref><ref type="bibr">2]</ref>. Fourth, they have low computation precision and limited dynamic range, using analog current signals <ref type="bibr">[3]</ref> or 4-16-bit fixed-point arithmetic <ref type="bibr">[1,</ref><ref type="bibr">2]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>II. PROPOSED ACCELERATOR</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Architectural Features</head><p>INTIACC contains 16 processing elements (PEs), each of which is a fully programmable custom-ISA RISC processor. The programmable architecture allows INTIACC to solve a wide range of PDEs (Fig. <ref type="figure">1</ref>) and to support Dirichlet, Neumann, and time-dependent boundary conditions. Also, each core employs the 32-bit floating-point ALU and multiplier, allowing it to compute high-precision solutions without dynamic range issues (Fig. <ref type="figure">2</ref>). Also, the accelerator supports high-order integration algorithms such as the Runge-Kutta 4th order (RK4). Furthermore, it can compute almost any nonlinear terms by evaluating them with numerical routines (i.e., algorithms) programmed in each PE, such as the Goldschmidt fast division for 1/x, Newton-Raphson for &#8730;x, and Taylor approximation for sin(x). As compared to using look-up tables (LUTs) <ref type="bibr">[3,</ref><ref type="bibr">4]</ref>, the algorithmic method is ordersof-magnitude more efficient in memory usage (Fig. <ref type="figure">3</ref>). We also adopt a hybrid local and global clock scheme, where each PE operates at a fast local clock (570 MHz), with only the slow global clock (10-50 MHz) distributed across PEs, significantly saving clock power dissipation. We prototyped INTIACC in 65nm (Fig. <ref type="figure">12</ref>). It vastly outperforms the previous accelerators in applicability and precision while improving speed by 40X (Fig. <ref type="figure">14</ref>). As compared to the CPU/GPU-based system, INTIACC achieves one to three orders of magnitude improvement both in speed and energy (Fig. <ref type="figure">13</ref> bottom right).  </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>PDEs</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Programming Model</head><p>Fig. <ref type="figure">4</ref> illustrates the programming model of INTIACC. First, we discretize a target PDE by applying the finitedifference method to the space dimensions and a numerical integration method (e.g., Euler, RK4) to the time dimension <ref type="bibr">[8]</ref> (Fig. <ref type="figure">4</ref>, top left). The discretization produces 16 coupled equations, each leading to a time-evolving PDE solution at one of the 16 discretized spatial grid points in the domain of interest. Then, we formulate a data flow for each discrete equation.  <ref type="figure">4</ref>). Note that for PDEs that do not have the time dimension (e.g., Poisson's or Laplace's equation), we can create a similar program that performs an iterative algorithm (e.g., Jacobi's) without the time integration. Finally, we write the programs to the PEs through a test circuit consisting of scan chains and a global clock generator, etc.    C. Microarchitecture Fig. <ref type="figure">5</ref> depicts the microarchitecture of the PE. The PE features the proposed hybrid local (570 MHz) and global (10-50 MHz) clock scheme for saving clock power dissipation. In this scheme, each positive edge of the global clock triggers the local clock generator to produce a local clock signal using a ring oscillator (Fig. <ref type="figure">6</ref><ref type="figure">7</ref>). With this active local clock, the PE executes the instructions of the program. At the end of the program execution, as determined by the instruction, the local finish signal is asserted, which disables the local clock and resets the PC to zero, getting the PE ready for the next global clock positive edge. The D flip-flop and mux in the local clock generator ensure that the local clock always starts with the logic-0 value to avoid any setup time violation. We designed the special register file (SRF) in each PE to capture the computation results from neighboring PEs at every global clock positive edge. The captured data are transferred to the last four registers (A28~31) of the general-purpose register file (GRF), which the PE can access with the local clock (Fig. <ref type="figure">8</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>R is a function of u</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Convection-diffusion equation u1[i] uright[i] utop[i] uleft[i] ubot[i]</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Euler</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D. Custom ISA and Algorithms</head><p>We designed a custom ISA for the PE to implement numerical routines to perform high-order integration and evaluate nonlinear functions. Fig. <ref type="figure">9</ref> shows INTIACC's 28-bit instruction format and a summary of the custom ISA. Fig. <ref type="figure">10</ref> shows the pseudo-program implementation of RK4, which INTIACC can perform across four global clock cycles for each time step (it computes one slope [k1 to k4] per cycle). RK4 is the de facto standard method for time integration since it is significantly more accurate than the Euler method. On the other hand, Fig. <ref type="figure">11</ref> left shows the pseudo-program for computing the sin(u) function using Taylor approximation. Here, the variable u is first reduced to a value between 0 and &#960;&#8260;4 based on trigonometric identities, and Taylor expansion is applied to approximate the function. Meanwhile, an iterative algorithm gives higher accuracy for some nonlinear functions,</p><p>The work is supported in part by NSF (1840763). e.g., the Goldschmidt fast division is optimal to compute the reciprocal function 1/u. For this algorithm to converge, however, it is critical to give an approximately correct initial guess. Therefore, we propose a new procedure (Fig. <ref type="figure">11</ref> top right), which exploits the fact that the magnitude of the mantissa part of the floating-point number (i.e., M) is between 1 and 2. Hence, the initial guess for its reciprocal (i.e., 1/M) can be any number from 0.5 to 1. While those programs look complex, the custom ISA allows us to implement them with small numbers of instructions, typically 11-33, consuming 38.5-115.5 bytes of memory (Fig. <ref type="figure">11</ref>  Fig. <ref type="figure">9</ref>. instruction format and instructions of the custom instruction set architecture (ISA).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Global CLK Cycle</head><p>Computation Performed* </p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_0"><p>ESSCIRC 2022-IEEE 48th European Solid State Circuits Conference (ESSCIRC) | 978-1-6654-8494-7/22/$31.00 &#169;2022 IEEE | DOI: 10.1109/ESSCIRC55480.2022.9911441 Authorized licensed use limited to: Columbia University Libraries. Downloaded on September 25,2023 at 13:59:43 UTC from IEEE Xplore. Restrictions apply.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_1"><p>Authorized licensed use limited to: Columbia University Libraries. Downloaded on September 25,2023 at 13:59:43 UTC from IEEE Xplore. Restrictions apply.</p></note>
		</body>
		</text>
</TEI>
