Debian Codegraph @

src/c-blosc2/blosc/bitshuffle-avx512.h

raw
1 /*********************************************************************
2 Blosc - Blocked Shuffling and Compression Library
3
4 Copyright (c) 2021 Blosc Development Team <[email protected]>
5 https://blosc.org
6 License: BSD 3-Clause (see LICENSE.txt)
7
8 See LICENSE.txt for details about copyright and rights to use.
9 **********************************************************************/
10
11 /* AVX512-accelerated shuffle/unshuffle routines. */
12
13 #ifndef BLOSC_BITSHUFFLE_AVX512_H
14 #define BLOSC_BITSHUFFLE_AVX512_H
15
16 #include "blosc2/blosc2-common.h"
17
18 #include <stddef.h>
19 #include <stdint.h>
20 #include <stdbool.h>
21
22 /**
23 * AVX512-accelerated bit(un)shuffle routines availability.
24 */
25 extern const bool is_bshuf_AVX512;
26
27 BLOSC_NO_EXPORT int64_t
28 bshuf_trans_bit_elem_AVX512(const void* in, void* out, const size_t size,
29 const size_t elem_size);
30
31 BLOSC_NO_EXPORT int64_t
32 bshuf_untrans_bit_elem_AVX512(const void* in, void* out, const size_t size,
33 const size_t elem_size);
34
35 #endif /* BLOSC_BITSHUFFLE_AVX512_H */