2022-07-01 14:16:10 +00:00
|
|
|
#ifndef BITSANDBYTES_CPU_OPS_H
|
|
|
|
#define BITSANDBYTES_CPU_OPS_H
|
|
|
|
|
2022-09-11 18:55:09 +00:00
|
|
|
#include <iostream>
|
|
|
|
#include <stdio.h>
|
2022-07-01 14:16:10 +00:00
|
|
|
|
2022-09-11 18:55:09 +00:00
|
|
|
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);
|
2022-07-01 14:16:10 +00:00
|
|
|
|
|
|
|
#endif
|