Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
M
MGPUSim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
6
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Akita
MGPUSim
Commits
71ef0e17
Commit
71ef0e17
authored
5 years ago
by
Yifan Sun
Browse files
Options
Downloads
Patches
Plain Diff
Bug fix in emulator
parent
f3cf1e35
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Pipeline
#56382850
passed
5 years ago
Stage: build
Stage: test
Stage: acceptance_test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
emu/computeunit.go
+3
-3
3 additions, 3 deletions
emu/computeunit.go
with
3 additions
and
3 deletions
emu/computeunit.go
+
3
−
3
View file @
71ef0e17
...
...
@@ -55,11 +55,11 @@ func (cu *ComputeUnit) Handle(evt akita.Event) error {
switch
evt
:=
evt
.
(
type
)
{
case
*
gcn3
.
MapWGReq
:
return
cu
.
handleMapWGReq
(
evt
)
cu
.
handleMapWGReq
(
evt
)
case
*
akita
.
TickEvent
:
return
cu
.
handleTickEvent
(
evt
)
cu
.
handleTickEvent
(
evt
)
case
*
WGCompleteEvent
:
return
cu
.
handleWGCompleteEvent
(
evt
)
cu
.
handleWGCompleteEvent
(
evt
)
default
:
log
.
Panicf
(
"cannot handle event %s"
,
reflect
.
TypeOf
(
evt
))
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment