summaryrefslogtreecommitdiff
path: root/modules/core/c++
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/c++')
-rw-r--r--modules/core/c++/over/chunk.hpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/modules/core/c++/over/chunk.hpp b/modules/core/c++/over/chunk.hpp
new file mode 100644
index 0000000..4c5bc76
--- /dev/null
+++ b/modules/core/c++/over/chunk.hpp
@@ -0,0 +1,27 @@
+#pragma once
+
+#include "common.hpp"
+
+/*
+ * The idea is to split chunks into overarching chunk which takes separable computation blocks into
+ * account
+ */
+namespace kel {
+namespace lbm {
+namespace sch {
+template<typename Chunk, uint64_t Dim>
+using OverChunk = Array<Chunk,Dim>;
+}
+}
+}
+
+namespace saw {
+template<template Chunk, uint64_t Dim>
+class data<kel::lbm::sch::OverChunk<Chunk,Dim>> final {
+public:
+ using Schema = kel::lbm::sch::OverChunk<Chunk,Dim>;
+private:
+ std::vector<data<Schema>> data_;
+public:
+};
+}