summaryrefslogtreecommitdiff
path: root/csrc/cpu_ops.h
diff options
context:
space:
mode:
Diffstat (limited to 'csrc/cpu_ops.h')
-rw-r--r--csrc/cpu_ops.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/csrc/cpu_ops.h b/csrc/cpu_ops.h
new file mode 100644
index 0000000..57145a9
--- /dev/null
+++ b/csrc/cpu_ops.h
@@ -0,0 +1,9 @@
+#ifndef BITSANDBYTES_CPU_OPS_H
+#define BITSANDBYTES_CPU_OPS_H
+
+
+void quantize_cpu(float *code, float *A, float *absmax, unsigned char *out, int n);
+
+void dequantize_cpu(float *code, unsigned char *A, float *absmax, float *out, int n);
+
+#endif