CODARcode / cuZ-checker

Cuda version of Z-checker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cuZ-checker

This is the cuda GPU version of Z-checker (https://github.com/CODARcode/Z-checker), a library to characterize the data and check the compression results of lossy compressors. If you want to use the CPU/MPI version, please download Z-checker: https://github.com/CODARcode/Z-checker. If you want to install Z-checker (CPU version) and its dependencies with one simple command, you can use z-checker-installer (https://github.com/CODARcode/z-checker-installer)

Prerequisites

cmake >= 3.19
CUDA toolkit >= 10.0 with samples/common/inc

How to install

Under the cuZ-checker directory:

mkdir build
cd build
cmake ../
make -j8

How to run

Assuming your original 3D (100*500*500) data is foo.dat, the compressed data is foo.dat.sz, and the decompressed data is foo.dat.sz.out. They all are under cuZ-checker/example/Datasets.
To perform the measurements, enter cuZ-checker/example and first run data property analysis:

./analyzeDataProperty foo -f zc.config Datasets/foo.dat 500 500 100

Then conduct the comperisons between the original and decompressed data:

./compareDataSets -f zc.config "SZ(1E-3)" foo Datasets/foo.dat Datasets/foo.dat.sz.out 500 500 100

Note that "SZ(1E-3)" is the error bound that should be consistent with the compressor.
zc.config is changable that controls the measurement settings.

About

Cuda version of Z-checker

License:Other


Languages

Language:C 45.4%Language:Shell 21.8%Language:C++ 12.3%Language:Makefile 10.6%Language:Cuda 3.4%Language:CMake 2.3%Language:TeX 2.3%Language:M4 0.7%Language:JavaScript 0.6%Language:CSS 0.3%Language:HTML 0.2%Language:R 0.1%