Skip to content

Commit 2cd03d0

Browse files
randaessayed
authored andcommitted
Sync interface to be platform independent
1 parent 076baf8 commit 2cd03d0

File tree

3 files changed

+6
-30
lines changed

3 files changed

+6
-30
lines changed

include/api/mli_ref_sync_interface.hpp

Lines changed: 0 additions & 29 deletions
This file was deleted.

include/mli_sync_interface.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace snps_arc::metaware::mli {
1414
class SynchronizationInterface {
1515

1616
public:
17-
virtual mli_status WaitEvent(int32_t mask) = 0;
17+
mli_status WaitEvent(int32_t mask);
1818
};
1919

2020

lib/src/private/src/mli_runtime.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
#include "mli_debug.h"
1414
#include "mli_ref_runtime_api.hpp"
15+
#include "mli_sync_interface.hpp"
1516

1617
namespace snps_arc::metaware::mli {
1718
using ref::Nop;
@@ -213,4 +214,8 @@ ExecutionInterface* ExecutionInterface::Create(
213214
return obj;
214215
}
215216

217+
mli_status SynchronizationInterface::WaitEvent(int32_t mask) {
218+
return MLI_STATUS_OK;
219+
}
220+
216221
} // namespace mli

0 commit comments

Comments
 (0)