File tree Expand file tree Collapse file tree 3 files changed +6
-29
lines changed Expand file tree Collapse file tree 3 files changed +6
-29
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ target_sources(
3737 base/dense_cache.cpp
3838 base/device_matrix_data.cpp
3939 base/executor.cpp
40- base/event.cpp
4140 base/index_set.cpp
4241 base/memory.cpp
4342 base/mpi.cpp
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 88#include < memory>
99
1010#include < ginkgo/core/base/event.hpp>
11+ #include < ginkgo/core/base/executor.hpp>
1112
1213
1314namespace gko {
1415
1516
16- class Executor ;
17-
18-
1917/* *
2018 * NotAsyncEvent is to provide an Event implementation on unsupported executor
2119 * like reference. It will ensure the kernels are finished when recording this
2220 * event.
2321 */
2422class NotAsyncEvent : public Event {
2523public:
26- NotAsyncEvent (std::shared_ptr<const Executor> exec);
24+ NotAsyncEvent (std::shared_ptr<const Executor> exec) { exec-> synchronize (); }
2725
28- void synchronize () const override ;
26+ void synchronize () const override
27+ {
28+ // we have sync in the recording phase
29+ }
2930};
3031
3132
You can’t perform that action at this time.
0 commit comments