bulk commit
[LbmBenchmarkKernelsPublic.git] / src / Padding.h
diff --git a/src/Padding.h b/src/Padding.h
new file mode 100644 (file)
index 0000000..55fa33e
--- /dev/null
@@ -0,0 +1,19 @@
+#ifndef __PADDING_H__
+#define __PADDING_H__
+
+typedef struct PadInfo_
+{
+       int nEntries;
+       int * Modulus;
+       int * Offset;
+} PadInfo;
+
+PadInfo * PadInfoFromStr(const char * padStr);
+
+int PadCells(int nCells, int cellSizeBytes, PadInfo ** padInfo);
+int PadCellsAndReport(int nCells, int cellSizeBytes, PadInfo ** padInfoPtr);
+
+void PadInfoPrint(PadInfo * padInfo, FILE * f, const char * prefix);
+void PadInfoFree(PadInfo * padInfo);
+
+#endif // __PADDING_H__
This page took 0.050175 seconds and 5 git commands to generate.