Tensor computations overwhelm traditional general-purpose computing devices due to the large amounts of data and operations of the computations. They call for a holistic solution composed of both hardware acceleration and software mapping. Hardware/software (HW/SW) co-design optimizes the hardware and software in concert and produces high-quality solutions. There are two main challenges in the co-design flow. First, multiple methods exist to partition tensor computation and have different impacts on performance and energy efficiency. Besides, the hardware part must be implemented by the intrinsic functions of spatial accelerators. It is hard for programmers to identify and analyze the partitioning methods manually. Second, the overall design space composed of HW/SW partitioning, hardware optimization, and software optimization is huge. The design space needs to be efficiently explored.
To this end, we propose an agile co-design approach HASCO that provides an efficient HW/SW solution to dense tensor computation. We use tensor syntax trees as the unified IR, based on which we develop a two-step approach to identify partitioning methods. For each method, HASCO explores the hardware and software design spaces. We propose different algorithms for the explorations, as they have distinct objectives and evaluation costs. Concretely, we develop a multi-objective Bayesian optimization algorithm to explore hardware optimization. For software optimization, we use heuristic and Q-learning algorithms. Experiments demonstrate that HASCO achieves a 1.25X to 1.44X latency reduction through HW/SW co-design compared with developing the hardware and software separately.
ChiseLLM: Unleashing the Power of Reasoning LLMs for Chisel Agile Hardware Development
Computer Department National University of Defense Technology(国防科技大学计算机系);School of Computer & Communication Engineering University of Science and Technology Beijing(北京科技大学计算机与通信工程学院);Intelligent Microelectronics Center Qiyuan Lab(智能微电子中心启元实验室);College of Computer Science and Technology National University of Defense Technology(国防科技大学计算机科学与技术学院);Defense Innovation Institute Academy of Military Science(军事科学创新院)
TurboFuzz: FPGA Accelerated Hardware Fuzzing for Processor Agile Verification
State Key Lab of Processors, Institute of Computing Technology, Chinese Academy of Sciences(处理器国家重点实验室,中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);University of Cambridge(剑桥大学);The University of Sydney(悉尼大学)
Special Session: Towards an Agile Design Methodology for Efficient, Reliable, and Secure ML Systems
Arizona State University(亚利桑那州立大学);Technische Universität Wien(维也纳工业大学);New York University Abu Dhabi(纽约大学阿布扎比分校);Université Polytechnique Hauts-De-France(上法兰西理工大学)