-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a5c06a0
commit 3a489a0
Showing
32 changed files
with
772 additions
and
897 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,12 @@ | ||
package driver | ||
|
||
import "github.com/sarchlab/akita/v4/sim" | ||
|
||
// A Middleware is a pluggable element of the driver that can take care of the | ||
// handling of certain types of commands and parts of the driver-GPU | ||
// communication. | ||
type Middleware interface { | ||
ProcessCommand( | ||
now sim.VTimeInSec, | ||
cmd Command, | ||
queue *CommandQueue, | ||
) (processed bool) | ||
Tick(now sim.VTimeInSec) (madeProgress bool) | ||
Tick() (madeProgress bool) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.