aboutsummaryrefslogtreecommitdiffhomepage
path: root/hip_common/src/zluda.capnp
diff options
context:
space:
mode:
Diffstat (limited to 'hip_common/src/zluda.capnp')
-rw-r--r--hip_common/src/zluda.capnp18
1 files changed, 18 insertions, 0 deletions
diff --git a/hip_common/src/zluda.capnp b/hip_common/src/zluda.capnp
new file mode 100644
index 0000000..89c1d7d
--- /dev/null
+++ b/hip_common/src/zluda.capnp
@@ -0,0 +1,18 @@
+@0xbefb36a5417c8ae1;
+
+struct Metadata {
+ # We can turn it into an union later: "a field can be replaced with a group
+ # or union containing an equivalent field and some new fields"
+ version1 @0 :Version1;
+}
+
+struct Version1 {
+ kernels @0 :List(Kernel);
+ smVersion @1 :UInt32;
+}
+
+struct Kernel {
+ name @0 :Text;
+ minGoupSize @1 :UInt32;
+ maxGroupSize @2 :UInt32;
+}