Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
ad03d7a4
"driver/src/host_tensor.cpp" did not exist on "2f2cf35bf4fdf71fc7f306e51ee8b34066e32829"
Commit
ad03d7a4
authored
Sep 03, 2021
by
Antoine Kaufmann
Browse files
lib/nicbm: add missing yield for blocking sync
parent
e49bb80e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
lib/simbricks/nicbm/nicbm.cc
lib/simbricks/nicbm/nicbm.cc
+1
-0
No files found.
lib/simbricks/nicbm/nicbm.cc
View file @
ad03d7a4
...
...
@@ -559,6 +559,7 @@ int Runner::RunMain(int argc, char *argv[]) {
while
(
!
exiting
)
{
while
(
SimbricksNicIfSync
(
&
nicif_
,
main_time
))
{
fprintf
(
stderr
,
"warn: SimbricksNicIfSync failed (t=%lu)
\n
"
,
main_time
);
YieldPoll
();
}
SimbricksNicIfAdvanceEpoch
(
&
nicif_
,
main_time
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment