mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-06-10 16:55:58 +00:00
Added two macros for SPATZ init and notify
This commit is contained in:
parent
f57212bf6d
commit
6d6840a974
@ -55,6 +55,10 @@ namespace sta
|
||||
} // namespace spatz
|
||||
} // namespace sta
|
||||
|
||||
#define STA_SPATZ_NOTIFY(id) sta::spatz::notify(id)
|
||||
|
||||
#define STA_SPATZ_INIT(mutex, signal) sta::spatz::init(mutex, signal)
|
||||
|
||||
#else
|
||||
|
||||
namespace sta
|
||||
@ -65,6 +69,10 @@ namespace sta
|
||||
} // namespace spatz
|
||||
} // namespace sta
|
||||
|
||||
#define STA_SPATZ_NOTIFY(id) ((void)0)
|
||||
|
||||
#define STA_SPATZ_INIT(mutex, signal) ((void)0)
|
||||
|
||||
#endif // STA_SPATZ_ENABLED
|
||||
|
||||
#endif // STA_CORE_SPATZ_HPP
|
||||
|
Loading…
x
Reference in New Issue
Block a user