mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-23 21:39:10 -04:00
minor update
This commit is contained in:
parent
cf3909a910
commit
60860ec684
1 changed files with 6 additions and 2 deletions
|
@ -143,7 +143,6 @@ public:
|
|||
}
|
||||
|
||||
void run() {
|
||||
|
||||
#ifndef NDEBUG
|
||||
std::cout << std::dec << timestamp << ": [sim] run()" << std::endl;
|
||||
#endif
|
||||
|
@ -151,6 +150,9 @@ public:
|
|||
// reset device
|
||||
this->reset();
|
||||
|
||||
// start
|
||||
device_->reset = 0;
|
||||
|
||||
// wait on device to go busy
|
||||
while (!device_->busy) {
|
||||
this->tick();
|
||||
|
@ -161,6 +163,9 @@ public:
|
|||
this->tick();
|
||||
}
|
||||
|
||||
// stop
|
||||
device_->reset = 1;
|
||||
|
||||
this->cout_flush();
|
||||
}
|
||||
|
||||
|
@ -196,7 +201,6 @@ private:
|
|||
this->eval();
|
||||
}
|
||||
|
||||
device_->reset = 0;
|
||||
device_->mem_req_ready = 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue