inikep / lzbench

lzbench is an in-memory benchmark of open-source LZ77/LZSS/LZMA compressors
885 stars 179 forks source link

Make CUDA support more robust #101

Closed fwyzard closed 3 years ago

fwyzard commented 3 years ago

Completely disable the CUDA backends and the "cuda" alias, if CUDA support is not available.

fwyzard commented 3 years ago

This PR properly avoids that the cudaMemcpy backend and the cuda alias appear in the output of lzbench -l, when lzbench is built without CUDA support.

fwyzard commented 3 years ago

The changes to the comp_desc and alias_desc arrays have been reverted.

jinfeihan57 commented 3 years ago

Thanks!