mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-08-06 10:27:34 +00:00
Updated spatz implementation
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#ifndef STA_CORE_SPATZ_HPP
|
||||
#define STA_CORE_SPATZ_HPP
|
||||
|
||||
#include <sta/mutex.hpp>
|
||||
|
||||
#include <sta/config.hpp>
|
||||
#ifdef STA_SPATZ_ENABLED
|
||||
|
||||
@@ -9,8 +11,6 @@
|
||||
# error "Cannot use SPATZ without debugging being enabled."
|
||||
#endif // STA_DEBUGGING_ENABLED
|
||||
|
||||
#include <sta/mutex.hpp>
|
||||
|
||||
namespace sta
|
||||
{
|
||||
namespace spatz
|
||||
@@ -51,6 +51,16 @@ namespace sta
|
||||
} // namespace spatz
|
||||
} // namespace sta
|
||||
|
||||
#else
|
||||
|
||||
namespace sta
|
||||
{
|
||||
namespace spatz
|
||||
{
|
||||
void init(Mutex * mutex);
|
||||
} // namespace spatz
|
||||
} // namespace sta
|
||||
|
||||
#endif // STA_SPATZ_ENABLED
|
||||
|
||||
#endif // STA_CORE_SPATZ_HPP
|
||||
|
Reference in New Issue
Block a user