source: thirdparty/SZ/sz/include/sz_omp.h @ 2c47b73

Revision 2c47b73, 1.3 KB checked in by Hal Finkel <hfinkel@…>, 6 years ago (diff)

more work on adding SZ (latest version)

  • Property mode set to 100644
Line 
1/**
2 *  @file sz_omp.h
3 *  @author Xin Liang
4 *  @date July, 2017
5 *  @brief Header file for the sz_omp.c.
6 *  (C) 2016 by Mathematics and Computer Science (MCS), Argonne National Laboratory.
7 *      See COPYRIGHT in top-level directory.
8 */
9
10#include <stdio.h>
11#include <stdlib.h>
12#include "omp.h"
13#include "sz.h"
14
15#ifndef _SZ_OMP_H
16#define _SZ_OMP_H
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22unsigned char * SZ_compress_float_1D_MDQ_openmp(float *oriData, size_t r1, double realPrecision, size_t * comp_size);
23
24unsigned char * SZ_compress_float_2D_MDQ_openmp(float *oriData, size_t r1, size_t r2, double realPrecision, size_t * comp_size);
25
26unsigned char * SZ_compress_float_3D_MDQ_openmp(float *oriData, size_t r1, size_t r2, size_t r3, double realPrecision, size_t * comp_size);
27
28void decompressDataSeries_float_1D_openmp(float** data, size_t r1, unsigned char* comp_data);
29
30void decompressDataSeries_float_3D_openmp(float** data, size_t r1, size_t r2, size_t r3, unsigned char* comp_data);
31
32void decompressDataSeries_float_2D_openmp(float** data, size_t r1, size_t r2, unsigned char* comp_data);
33
34//void Huffman_init_openmp(HuffmanTree* huffmanTree, int *s, size_t length, int thread_num);
35void Huffman_init_openmp(HuffmanTree* huffmanTree, int *s, size_t length, int thread_num, size_t * freq);
36
37#ifdef __cplusplus
38}
39#endif
40
41#endif /* ----- #ifndef _SZ_OMP_H  ----- */
Note: See TracBrowser for help on using the repository browser.