utcs-scea / ava

Automatic virtualization of (general) accelerators.
https://ava.yuhc.me/
BSD 2-Clause "Simplified" License
40 stars 20 forks source link

Refactor globals into common, guest and worker context #163

Closed photoszzt closed 3 years ago

photoszzt commented 3 years ago

Signed-off-by: Zhiting Zhu zhitingz@cs.utexas.edu

Description

This refactors global variables into common context, guest context and worker context. Each context is a global singleton, initialized at the library load time or API server start time.

How has this been tested?

Screenshots (if appropriate):

Types of changes

Checklist: