Skip to content

January 25 Update. Backend API and CompiledFunction Changes

gcatron edited this page Jan 25, 2019 · 3 revisions

Tree Hash: 240a78

Backend API Change:

We are currently working on the new Glow execution runtime that will allow us to perform data-flow execution and utilize multiple accelerators in parallel. As a part of the continuing effort on the new Glow Runtime Issue #2045 we are working on the ability to extract the constant collection phase from the compilation process : Issue #2254, and PR ##2246. The current plan is to introduce a new method to the Backend interface and refactor some of the APIs. This is an ongoing design please join the discussion on #2045.

CompiledFunction Change

We are beginning the process of removing per-run state from within the CompiledFunction object. This is a requirement for supporting multiple concurrent runs of a compiled Function, but comes with changes to the CompiledFunction interface. We're starting slow: initially we're adding only the Context as an argument to execution, but as we continue the plan is to depreciate the pre and post execute methods (setupRuns, beforeRuns, afterRuns and tearDownRuns) and move their functionality into the new DeviceManager object. PR #2274 has this change.