SearcharxivSearch

arXiv subjects

Anannya Mathur

Publications and source records attributed to Anannya Mathur.

2 recordsLinked to original sources

HyDRA: Deadline and Reuse-Aware Cacheability for Hardware Accelerators

The system-level cache is a critical resource shared by processor cores and domain-specific accelerators in heterogeneous systems on chips (SoCs). The strict QoS requirements of accelerators, such as deadlines, can lead to severe performance degradation of processor cores. Thus, managing the shared cache efficiently between cores and accelerators becomes crucial. State-of-the-art cache management techniques perform reuse-aware bypassing of accesses from cores with the help of reuse predictors to improve performance. However, architectural differences between accelerators and processor cores (often associated with deep cache hierarchies) can lead to significantly different reuse patterns at the shared cache. We propose a novel clustering-based methodology, LERN, for learning and predicting the reuse behavior of hardware accelerators at the shared cache. We then propose a deadline and reuse-aware cache management strategy, HyDRA, which explores a novel tradeoff between reuse and deadline awareness for performance efficiency. It uses LERN to dynamically predict the reuse behavior of the accelerator accesses and make bypass decisions to maximize the system throughput while meeting accelerator deadlines. We evaluate HyDRA across different workloads and varied accelerator configurations. It significantly improves the system performance and reduces the accelerator deadline miss rate.

cs.AR

Inverse-Designed Dot Product Engine

The work presents an inverse-designed optical cavity that can direct light from two sources such that if the sources were to represent any number in the range [-1,1] with magnitude encoded through the power emitted by the source and sign by switching the direction of source current, the photocurrent generated at the two output ports is proportional to the product of the two numbers. Let us say that the two sources encode x and y, which are two numbers $\in$ [-1,1]. Multiplication is reduced to the form $(x+y)^2 - (x-y)^2 = 4xy \propto xy$. The addition and subtraction operations of the numbers are supported by constructive and destructive interference, respectively. The work shows that replacing the DDOT dot product engine of the Lightening Transformer with the optical cavity proposed to calculate the dot product can lead to a reduction in the area occupied by the photonic core by 88 \%, can reduce the power consumption by lasers by around 23.43 \%, and bring down energy consumption while training DeiT models by 0.88 \%. The cavities can generate photocurrents of the form $1.057 xy + 0.249$ with $R^2=0.88,$ thus showing a relationship of direct proportionality between the target product $xy$ and the output of the cavity in response to stimuli encoding $x$ and $y$.

physics.optics