diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-04-14 16:24:56 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-04-14 16:24:56 +0200 |
commit | 24827b7753fcdc6c837301064afe60e3d1df3145 (patch) | |
tree | 761b39325901c064dac8f2be794a76791c35ca39 /c++/component.hpp | |
parent | 6aa3606c200b0f5aafb5031ad459c316c25bf1b8 (diff) |
wip. Doing a basic modular design for GPU prep
Diffstat (limited to 'c++/component.hpp')
-rw-r--r-- | c++/component.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/c++/component.hpp b/c++/component.hpp index 14f908a..c67387b 100644 --- a/c++/component.hpp +++ b/c++/component.hpp @@ -6,13 +6,14 @@ namespace kel { namespace lbm { namespace cmpt { -template<saw::string_literal Name, uint64_t Dist, bool Read, bool Write> +template<saw::string_literal Name, uint64_t Dist, bool Read, bool Write, bool SkipSync = false> class access { public: static constexpr saw::string_literal name = Name; static constexpr uint64_t distance = Dist; static constexpr bool read = Read; static constexpr bool write = Write; + static constexpr bool skip_sync = SkipSync; }; template<typename... Acc> @@ -24,7 +25,7 @@ public: /** * Compponent class which forms the basis of the */ -template<typename T> +template<typename T, typename Descriptor, typename Cmpt> class component {}; } } |