cpu_ops.h 335 Bytes
Newer Older
Max Ryabinin's avatar
Max Ryabinin committed
1
2
3
#ifndef BITSANDBYTES_CPU_OPS_H
#define BITSANDBYTES_CPU_OPS_H

4
5
#include <iostream>
#include <stdio.h>
Max Ryabinin's avatar
Max Ryabinin committed
6

7
8
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);
Max Ryabinin's avatar
Max Ryabinin committed
9
10

#endif