summaryrefslogtreecommitdiff
path: root/csrc/cpu_ops.h
blob: 2ddf81e49f2b0127e5d177e614c0047ff939309f (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef BITSANDBYTES_CPU_OPS_H
#define BITSANDBYTES_CPU_OPS_H

#include <iostream>
#include <stdio.h>

void quantize_cpu(float *code, float *A, float *absmax, unsigned char *out, long long blocksize, long long n);
void dequantize_cpu(float *code, unsigned char *A, float *absmax, float *out, long long blocksize, long long n);

#endif