Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build: Added check of native flags availability #189

Merged
merged 1 commit into from
Oct 19, 2022

Conversation

t20100
Copy link
Member

@t20100 t20100 commented Oct 19, 2022

This PR adds an effective check of native compilation flags availability because it is not available for universal2 build on macos.

Related to #186

@t20100 t20100 added this to the Next release milestone Oct 19, 2022
@t20100 t20100 requested a review from vasole October 19, 2022 13:36
Copy link
Member

@vasole vasole left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vasole
Copy link
Member

vasole commented Oct 19, 2022

What has happened to the CI in this request?

@t20100
Copy link
Member Author

t20100 commented Oct 19, 2022

No idea, I forced pushed to trigger it again.

@vasole vasole merged commit 5958162 into silx-kit:main Oct 19, 2022
@t20100 t20100 deleted the fix-march-native branch October 21, 2022 15:29
t20100 added a commit to t20100/hdf5plugin that referenced this pull request Jan 18, 2024
f40868a6a Release 1.0.1
cd174e0bf Bump version number
6bdada5f3 Set release version and date
913e67fa7 Add dependency on six
a0bab6739 Add sphinx-fortran dependency
325bba6ca Add RTD v2 yaml file
c5879e222 Mention R&D 100 award
113767ee3 Add missing resolved issues to CHANGELOG
5f3ade7e2 Fix broken links
e892d713b Document that OS=mac is needed when building dylibs with gmake (resolves silx-kit#170)
c81062e2b Clarify that 64-bit OS is not required (resolves silx-kit#194)
63eeefa32 Fix for issue silx-kit#220
c7f329ab8 Merge pull request silx-kit#217 from hmaarrfk/distutils
d6bccbd71 Explicitly use old CMake FindPython policy
b345842fb Merge pull request silx-kit#204 from diegorsjv/bugfix/fortran-interface-stride-passbyvalue
bcc5a2548 Update gitlabCI runner config [skip ci]
f838d6cfd Merge pull request silx-kit#216 from LLNL/dependabot/github_actions/actions/checkout-4
83c6e47ec Update to support Python 3.12
c61eca71d Bump actions/checkout from 3 to 4
fa1014f5e Merge pull request silx-kit#188 from DimitriPapadopoulos/actions
21f4f399d Merge pull request silx-kit#215 from DimitriPapadopoulos/_WIN32
4c5d622ed Fix typo found by codespell
ad2f02b3e Testing _WIN32 is enough, no need to test _WIN64
920df4d96 Automatically update GitHub Actions in the future
d846d33fa Merge pull request silx-kit#211 from LLNL/markcmiller86-add-rd-100-badge
6cdff3060 Add R&D100 badge
bc5e24145 update gitlab compiler versions
d2a52e633 update gitlab build options
2b523d92a Removed unused functions from python test utils
c1845815e Add void to functions taking no parameters (resolves silx-kit#208)
300e77d12 Clean up minor issues in documentation [skip ci]
a3afa49f6 Clarify intent of zfp_stream_maximum_size() [skip ci]
3a90823d9 Clarify that thread safety requires OpenMP [skip ci]
fbca45407 Modified the set_stride_xd functions in zfp.f90 so that stride values are actually passed by value and not by reference as they were. This resulted in segmentation faults when using strided compression with the Fortran bindings
f15d00720 Update badges and actions names
b78055fa3 Organize actions and enable codecov upload
2c7cdeaa2 Add code coverage action
ee10feb73 squash merge misc/actions-fixes into develop
c4f175667 Create actions debug workflow for linux [skip ci]
0d7de48d7 Create actions debug workflow for macos
8a1dd0e0e Revert gitlab change
ff3a33926 update gitlabCI user
fc96c9158 Merge pull request silx-kit#189 from LLNL/misc/build-tests
54c8706de Add BUILD_TESTING_FULL to documentation [skip ci]
b50a4613e update github actions flag
c578028e0 Add BUILD_TESTING_FULL option (issue silx-kit#177)
28cb77742 Fix zfpy type issues (issue silx-kit#171)
2ac91d785 Merge pull request silx-kit#180 from DimitriPapadopoulos/actions
6c307aa70 Merge pull request silx-kit#184 from seung-lab/fix_numpy_abi
4de8c1b7e CMake RPath fix (issue silx-kit#181)
50dfaacdc build: use oldest numpy ABI to ensure maximum compatibility
92424bf65 Merge pull request silx-kit#174 from seung-lab/wms_py_header_reader
228c7a48a Update GitHub Actions
e57895219 Merge branch 'develop' into wms_py_header_reader
b2ad09e55 Fix issue silx-kit#176
51afffc05 fix: recommended changes
c05eba980 fix: remove strides from header dict
fc0a19c54 fix: cast everything to python int
adfeb3584 feat(python): add full header reader for zfp streams
c616bbec3 Update CHANGELOG
6d7d2424e Prevent LTO in libm dependency check (resolves silx-kit#169)
fdc30ff69 Set ZFP_VERSION_DEVELOP
35155961e Merge branch 'release1.0.0' into develop
f39af7264 Release 1.0.0
82a557c82 Set release version and date
7f84893b1 Clarify ZFP_VERSION_DEVELOP meaning and value
074f01092 Point badges and documentation to release1.0.0 branch
1fc3539e9 Align license.rst with LICENSE
ed01090c8 Add version_tweak to zFORp
9ac63801c Document change in ZFP_VERSION mapping
fff64a14a Revert to gencodec for consistency with zfpcodec
07485e1a3 Update ReadTheDocs badge link
e1af8487b Bump copyright date, add copyright notice to zfp.hpp
2445a7c3c Bump zFORp_library_version
3ed74345d Ensure make clean removes libcfp
6c66c6652 Proofread and ensure documentation is up to date
9cc3a25b1 Update expected testzfp errors for large arrays
8efecf10c Fix various bugs in diffusionC
49db1371b Fix incorrect order of distance() arguments
afabe40bb Add cfp references, pointer, iterators, serialization to CHANGELOG
302d0a734 Fix C89 incompatibility in iteratorC.c
a9203c644 Add missing const_array::params() and const_array::set_params()
c6974acec Add zfp_field_blocks() to zFORp
46deb6105 Update execution doc with planned future capabilities
e4357d0e2 Cosmetic changes to compression modes doc
f88a41319 Add variable-length code example
3deba5f1b Add Apple clang OpenMP instructions
bc29521be Update authors, zfp homepage URL
43d29affc Update links to zfp applications
c9ec980f7 Update zfp homepage URL
3c5445648 Update authors and contributors
4ce851be7 Update versions.rst to align with CHANGELOG.md
44d4f849d Remove unused variable in decoder test
9a9a22637 update doc versions and add some missing changes
962a48bde update version in license and tests
c86be611d Update zfpy version number
c99a41f4c Fix mismatched memory (de)allocation calls
6825ee263 Add missing space between literal and identifier
91f1823fa Update version identifiers for next release
cb618438b Correct suffix for examples/array2d.h
539db0866 Update CHANGELOG to reflect directory restructuring
1c66f76b7 Silence compiler warnings in tests
b2ea04160 Remove -I../array
1bcbf0ecb Ensure proper make clean in examples
8eecbfbb5 Document new name for zFORp module
ec96f631f Document lower bound on maxbits in expert mode
c597619ce Fix compiler warnings in tests
b1ce0c16b Merge branch 'develop' into refactor/install-directory
73aeb4644 Fix compiler warnings/errors in examples
7edcd917d Update time limit on gitlab tests
725f5cd7f remove fortran modules directory from git tracking
982ca8683 Update cfp header includes, rename main cfp header
0f530708a Silence copy constructor warning
54966d1e5 Fix gmake build issues
7c9b4d23d Merge branch 'develop' into refactor/install-directory
81dbdd02d Fix Fortran GNU builds and compiler requirements
97fa1d75b Disable thread safety checks when OpenMP is absent
6c46dccf9 Update makefiles and fix a few inconsistencies
f08994139 Clarify that low-level API ignores execution policy
736581dd4 Silence implicit conversion warnings
86ffc4f20 Rename ZFP_VERSION_DEVELOP, remove ZFP_VERSION_RELEASE
0135c037e Merge branch 'bugfix/thread-safety' into develop (resolves silx-kit#154)
20a2efdcb Use zfp_field_blocks() in codec
5c424bbff Update CHANGELOG [skip ci]
11f992849 Enabled OpenMP with testviews
e89d80383 Handle empty field in zfp_field_blocks()
0447f7e56 Make codec thread-safe
b9166ad1a Add LDFLAGS to support -lomp on Mac
5190cae2d Add zfp_field_blocks()
e1ac5e4ee Merge pull request silx-kit#165 from DimitriPapadopoulos/codespell
20e62c582 Fix typos found by codespell
05b3f4c56 Update fortran module name and move internal codec headers
c13a6c7b9 Update bitstream.c include in cuda [skip ci]
9e78178a4 Fix include in zfpy
3674669df Update zforp install location
5fd6de39f update zfp util
f56070f6a updated tests fixed additional missing includes
615e86f4b Update headers in examples and fix bad include
eeac3a28a Updated cfp includes, fixed build issues
c73261887 Update cmake
b2366c0e7 updated inline src and moved cfp src
4aafbc81a Update hpp include guards
afe6a01f9 Update includes for internal headers
013210b06 Update includes for all non-internal headers
e1e4840c0 Move include files
9b0d278f8 Update where gitlab cpu tests are run
26678cded Replace stdio with iostream in testviews
bb59d8457 Fix minor documentation issues
537c12052 Add compressed-array example
cc2e85008 add policy mode validation checks
938ffd2e9 change exec policy params to use void*
7335959b8 Merge branch 'refactor/stream-offsets' into develop
24bcfa28b Merge branch 'develop' into refactor/stream-offsets
2d975ce89 Correct type mismatches to silence compiler warnings
bf718a604 Update bitstream types in CUDA tests
9a1e3409f Introduce bitstream_{offset,size,count} types for 64-bit support
b40ab53dd temporarily disable actions side of cmake test
9dcf734c8 temporarily disable actions side of cmake test
72fcac571 Add cmake version checking to tests
980155a8e Merge pull request silx-kit#162 from jonashaag/patch-1
cf7bd9eac Fix exception handling in compress_numpy
5d3ac203e Revert accidental change to ZFP_VERSION_RELEASE define
0335096e6 Fix version.h compile error
dd915b95a Update version files to support intermediate version numbers
15d77178c Move memory management to internal namespace
0f06782e4 Rename word -> stream_word
1d6fbe597 Silence compiler warnings in tests
f49a7fe5d Silence compiler warnings in tests
baaa782ac Remove debugging code from diffusion example
76d684ded Update CMakeLists to support OpenMP with AppleClang
19b261d6c Add macros for constructing version number and string
ad926b6a8 Add back references to execution section in docs
f6880a6a6 Add silx-kit#150 to CHANGELOG
d36f54d9b Fixes silx-kit#150
6bfd003ab Revert attempted fix for silx-kit#150
e620e546d Undo failed attempt to fix silx-kit#150
a7c6047fa Attempted fix for issue silx-kit#150 (cmocka macOS build)
da4e28293 Allow setting BIT_STREAM_WORD_TYPE on make line
33065d237 Add support for generic codec in diffusion example
f4e0850c6 Clarify that rounding mode, daz supported only on CPU
2b03babb8 Add conda zfp package and zarr application to docs
4a33aab52 add missing zfp field and stream tests
38e3cbbe2 Silence const compiler warnings in ppm
aeb707c1d Add CUDA tests for unsupported 4D data
5fe5ed198 Change name of actions workflow
ba2df4bcd move gitlab cpu tests to new system
a674bf58b Remove Travis CI files
fd5731846 Move status badge from travis to actions
64e5db65e Update python cmake build scripts
7ad847694 Add python build hints to tests
50774dcfd Enable cython action temporarily disable win tests
d42fb0eea enable actions pytests and split py adv decompress test into bytes/memview versions
afac3f94f made test output more verbose
31902956b remove unneeded test code
84fb3d880 Make array::set(0) zero-initialize array
323e3e708 Move Cache and Store to internal namespace
eb6cd2873 Bug fix: reopen codec when compacting store
122918c4c Fix incorrect loop counter types in simple.c
662fc0f42 Add size_bytes() to cfp
05156f50d Replace ieeecodec with generic codec templated on scalar type
8441d7063 Fix inconsistent coding style in zfpcodec
142a11f72 Setup github actions config
5555333ae add promote/demote util tests
b91dcafb4 Added field_metadata failure tests
6aec9dc42 compilation error fix
de381394f Fix unused variable warning
d65af032c Add link to MVAPICH2-GDR
5c991daae Add/rename top-level files for E4S compliance
99e526cd5 Document CUDA limitations
22beacb09 Document ZFP_WITH_CUDA in config file
57c50e038 Add FAQ on error distributions
bbfb88db8 Clarify FAQ silx-kit#17 on violated tolerances
1cd5978fb Add printf FAQ
95dc35828 Merge pull request silx-kit#148 from vicentebolea/cmake-fix-include-dir
b6f344ff4 CMAKE: ZFP_INCLUDE_DIRS avail at configure time
310e12d51 Merge pull request silx-kit#147 from vicentebolea/add-zfp-cuda-var
670368238 Update zfp-config.cmake.in
f5d8c2824 Add templated encode/decode tests
f65ac4434 Move cuda testing to new machine
5079b8958 Extend and include testviews in tests
2d0ba85f8 Fix view const accessors
a922f6408 Clean up .travis.yml
1a4565c6f Force gcc-4.9 on Travis CI
416e19573 Require CMake 3.9 in tests
af933bb99 Suppress CMake warning about unused ZFP_OMP_TESTS_ONLY
f718c5616 Add nullptr_t proxy pointer constructors
d83d3432c Update README build report badge
bfbaa9929 Undo attempted codecov fix
1e74a04c4 Add mask parameter to header.size_bytes()
625691784 Bug fix: overflow due to subnormals (resolves silx-kit#119)
3f768fad6 Fix zfp_field bugs that confused precision and byte size
ecbbf7633 Fix missing codecov uploads
ef8b8791a Document C++ wrappers for low-level API
8e790cbf5 Update installation instructions
881644019 Complete citation record
0ff612eca Merge pull request silx-kit#141 from researchapps/add/github-citation
cd14c0633 GitHub has recently added this standard file, CITATION.cff, that will render a sidebar link to easily copy paste bibtex information to cite the work. This should be useful for zfp
33eed2fb0 Fix missing size_t and declarations in tests
c3a7b3343 Fix missing size_t types and casts
191073760 Fix C89 incompatibility in tests
a85609f07 Build cmocka using prescribed build type for MSVC
149de0a54 Update cfp tests to use size_t
416d16b82 Complete size_t transition for array tests
83d572f17 Fix broken C89 support in tests
45c9e82bf Silence warnings and use size_t over uint in tests
7450b7282 Silence miscellaneous compiler warnings
ce5c5b3af Silence compiler warnings
4e49b3180 Fix gtest deprecation warnings
6443612cb Merge branch 'develop' of github.com:LLNL/zfp into develop
02872e2a0 added templated encode/decode block tests
722782608 Merge branch 'refactor/64-bit-indexing' into develop
954390e19 Silence compiler warnings in tests
2a2ff3571 Update docs with new zfp_field and function signatures
28a3858b3 Silence compiler warnings in tests
d97e589b6 Update examples and utils to use size_t array dimensions
b756eb043 Handle missing size_t/ptrdiff_t
c3672137c Update Fortran API to support 64-bit indexing
64f71dde8 Update Python API to support 64-bit indexing
5f3ad37d6 64-bit indexing: replace uint/int with size_t/ptrdiff_t
24bcaf80e Organized tests/array directory
ea8124f8d merged cpp namespace into zfp namespace
01ccb95d3 Clarify constraints on rate in docs
b47749f56 changed gtest version to fix compilation issues with non-gnu linux compilers
496a416c3 fixed macro expansion issue (commit issue fix)
1c5bc2ab7 fixed macro expansion issue
c9adc2a4a fixed macro expansion issue
1f5fb92ab Rename Travis files
62f350340 Merge branch 'feature/const-arrays' into develop
5bdd22f37 Merge branch 'develop' into feature/const-arrays
26c5eb9df Do not reset rate in zfp::index::implicit::clear()
a571d4350 Add appropriate casts around CHAR_BIT * sizeof() constructs
5c7f6ecc4 Add dispatch function for integer encoding/decoding
6cf405a27 added in const array bitstream checksum test
5f6394ee9 disable travis tests temporarily
6a7364b3c Fix docs on array serialization constraints
cea4ff6ce Merge branch 'feature/unbiased-error' into develop
8a4487e75 Document ZFP_ROUND_* macros
bd2b1545c Fix CUDA rounding issue due to incorrect NBMASK
3205d7219 Add rounding modes to CUDA implementation
4f3f1d4a7 Disabled travis linux testing due to new usage restrictions
caf14c7f1 Added index names to test reporting
a949b1c55 Added block index tests for const arrays
2968e8e0e Specialize coding for unconstrained rate
74a11efef Merge pull request silx-kit#137 from jwsblokland/bugfix/cmake
2fba7f690 CMake: (fix) OpenMP dependency.
f25982add Merge branch 'misc/travis-update' into develop
eb1d4c2d3 Discontinue xcode7.3 tests
e5a55f762 Fix build errors
4f409922f Added const array checksum tests
97044629f Only call cudaGetDeviceProperties once.
fcae077d9 Add ability to specify CUDA compilation flags.
8a4db7fb0 Added in tests for multiple precision/accuracy compression mode values
fb4d7a613 Fixed uninitialized value error in test fixture
09a9f7614 Initial work on const array tests
2d92b09d9 moved version info to zfp/version.h header
6389b89d3 Implemented fixes discussed in issue silx-kit#126
12772bd48 Fix incorrect math in relative-error bound FAQ
a51171f14 Document promotion/demotion of scalars
3ddbd24d5 renamed header.size() to header.size_bytes() to better clarify its functionality
6b2da922e strip out redundant CI builds
11341f46f Add new rounding mode: ZFP_ROUND_FIRST
6d24ac9f1 Fixed various CI test issues
928bbceb2 refactored GitlabCI config to be more extensible
f3736ca59 Update diffusion documentation
321ce7fcd Add codec and index documentation
68099ac68 Add const_array support for expert mode
1d64a1613 Fix off-by-one error in ZFP_MAX_BITS
aabe13f93 Documentation: Use checkmarks in tables
8ded86bd6 Add FAQ on C vs. Fortran order
ebe66d628 Add FAQ on compressed storage size
d7686bc49 Bug fix: compressed block size in reversible mode (resolves silx-kit#127)
35bc789ab Rename zfp::codec derived classes
d91176121 Rename conflicting zfp_stream* codec::zfp::zfp
6b6602b6d Add zfp::codec namespace
24f9b0708 Add support for const_array in diffusion example
d2932309e Fix incorrect rate granularity in FAQ
c733c923e Document const_array rate granularity and zero initialization
1d38a7f02 Refactor and fix bugs in arrays, store, index, codec
6993e72da Add exception on cache overflow
93780bb1c Add size_bytes() to fixed-rate arrays
4abe3d5ca Fix incorrect cache size initialization
71d24c018 Add missing size_bytes() for block stores
4142c9995 Remove debug info
bb4e567a5 Add const_array documentation
9f2b09c88 Add missing size_bytes() for block caches
fee7e80eb Consolidate shape() and block_shape() functions
b2816e2ef fix compiler error during cuda testing
0b4f9a3b8 Add 1D, 2D, 4D const_arrays
a56a749fb Merge branch 'develop' into feature/const-arrays
dd174cd21 Update documentation on exceptions
0ecdc57cd Add zfp_field layout functions
4a0d1f3eb Use zfp_bool in examples
0ceec10cc Ensure diffusionC builds with cfp
ccdec24e3 Add zfp_bool documentation
53b69c4dc Document ppm example
ee3c9fe23 Refactor array/cache/store to support const_array
10612d476 Exclude redundant header inclusion
aa71d4ade Improve POD memory allocation
350867321 Add inclusion of missing headers
1de54120e Add zfp_config for const_array constructor
695886a76 Move install command to utils subdirectory
f4e559860 Change gtest build paths (resolves silx-kit#108)
ab07ab956 Remove zfp utility as install target
1fa8dbbef Add zfp utility as install target (resolves silx-kit#122)
a215e19c7 Merge branch 'bugfix/omp-large-arrays' into develop
67ab4c983 Avoid Win32 size_t overflow
b09d079aa Resolves silx-kit#125
1051621b7 Pick up .travis.yml fix
915e04141 Squashed commit of the following:
f784bbebd Revert to OpenMP 2.0 to accommodate MSVC
e525e484e Fix OpenMP 32-bit int overflow; require OpenMP 3.0
f668af3d5 Add support for querying rate, precision, accuracy
d24b528e9 Fix bad link in file compression docs
a96940074 Bug fix: CUDA bit streams limited to 2^31 bits
8d09ee13d Silence compiler warnings
abc769647 Correct comments/code for coding partial/strided blocks
4fd729283 Rename cfparrays.*; add cfp/src/template directory
779b36653 Minor improvements to simple.c
5cefb373e Clarify zfp_read_header() documentation
7e68696db Consolidate intro and overview sections
1829523e6 added small fixes for zfp testing, new gitlab CI functionality
74364a8a4 Merge branch 'feature/cfp-references' into develop
71f13b819 Refactor cfp header API to align with accessors
ccdc3ec68 Silence PGI compiler warnings
5feae4ca4 Support no alignment via ZFP_CACHE_LINE_SIZE=0
ebb172d00 Propagate zfp_private_defs to tests
a048b3f58 Expose ZFP_CACHE_LINE_SIZE to address PGI compiler bug
e11004ae1 Add cfp serialization documentation
bf09645b6 Update Makefiles to simplify macOS builds
7eb57fa02 Clean up cfp docs
7ab1ed615 Update docs to use zfp_bool
9c6032bd8 Make cfp its own section
6f111ce21 Update cfp documentation
61f7b2caf Add zfp_bool documentation
ac22c5847 Clean up merge and :c:expr: Sphinx issues
6db9cf049 Merge branch 'feature/cfp-references' into develop
661cd2aaa Add cfp multidim iterator tests
dca15d47d Ensure consistent cfp parameter names and APIs
72e4fd1fe Remove unnecessary casts
b2e658527 Add iterators to diffusionC; ensure C89 compatibility
88906c395 Add cfp random-access iterators and const qualifiers; refactor header
03f213bab Rename and reorder accessor members
f7682e657 Refactor cfpheader to avoid circular inclusion
87b770ea1 changed booleans from int to zfp_bool type
6b8e03dd8 Added cfp header tests
b20b2bb40 added header functionality to cfp
75c2a59cf Avoid importing unused cpython array for compatibility with pypy
50aa4f193 changed uint8_t and memoryview test
29d7de129 change to void, add tests similar to ensure_ndarray
5cb7a3253 remove print cython version
89b19d3f5 remove apt-get cython3
a4d6edac1 change cython3 to cython
2739f2e7a upgrade pip first
2fc75483f change back to pip
1d9524a59 remove upgrade pip
b560ddcbf use pip3 instead pip
66d45d1c6 change cython3 in .travis.yml
0bed27e1d enable cython3 upgrade on xenial
3c2c06128 add cython version check in travis.sh
8269e09b2 check cython version in zfpy.pyx
bf05fb43d change to void *
f0f824063 add <char*> in stream_open
31d8c51c2 remove const for test
a3c572a10 Update python/zfpy.pyx
14da51149 Update python/zfpy.pyx
a75ef2615 replace bytes of compressed stream to uint8_t
1f4973df4 fixed missing semi-colon
ee58ae344 changed cfp 4d fixed rate tests to prevent future problems
a36d4063b Fixed issues with 4d checksum tests
1c3123355 Fix failing 4D cfp test due to lack of precision
29c4f5a9d Changed out of date uint references to size_t in docs
0541ec97c Added 4d cfp documentation
15187ed8b Disabled broken checksum tests
42d3c7fe8 Added cfp 4d tests
a79c49305 Merge branch 'develop' into feature/const-arrays
0817b0865 Add documentation for 4D arrays
a5959fe02 Use python3 with sphinx documentation
6f829dd50 Enable 4D array support in cfp
78c2c51f8 Merge branch 'develop' into feature/cfp-references
c6bcb0988 Remove temporary fix to private_view::get()
2fbe0084a Merge branch 'refactor/arrays' into develop
8b794fb8b Fix ppm issues with clamping; add chroma dimensionality parameter
33149742a Add support for 1D chroma blocks in ppm
1fd3a5f80 Revise zfp_bool type for C++ and update function signatures
50b635b45 Add tests for 4D compressed arrays
635db5c5b Fix minor issues with 3D array tests
915ba2159 Fix copy-paste errors uncovered by tests
bdb2623ce Fix ppm range expansion bug
5816bcde1 Add ppm example
d2c844c6d Add pointer and iterator tests for views
6a544b056 Add missing const_pointer and const_iterator friends to views
8e1d8dcd1 Fix testzfp-large tolerances for new default cache size
23bb66f67 Remove obsolete 4D deserialization test
935c38937 changed ctor name
67383cc4a Correct order of arguments in cfp {ptr,iter}.distance
bf58a4ad0 Prepare cfp for 4D arrays
02a403ee7 Add testzfp tests for 4D array classes
fdd14c9e4 Add 4D compressed-array classes
044cbe14f Add offset dereference operator tests for pointer and iterators
35d5c8cb1 Fix copy-paste error in iterator3
9761ee91c Update docs for iterators and views
cf899daf0 Fix bad typedefs in iterators
9bf999348 Refactor accessors using container template
29cbdf760 Changed cfp to use safer static casting
6bd6d7248 Change to cfp header/array typedefs to solve issue with pre gcc 4.8
fa0d09c45 add cfp_header stubs to prep for new zfp header class
5b687458d Promote all iterators to random access; prepare for view iterators
19720bf79 Clean up documentation
520596bdc Fix incorrect reads through private_view
f3e1ca9a5 Fix zfp_stream_maximum_size() estimate in reversible mode
ca97dfdc1 Extra cleanup & organization pass for cfp tests/docs
d1d185c11 fix iteratorC formatting to match new output types
97749bd02 Add missing functionality for 2d/3d cfp_iter, move cfp fully from uint/int to size_t/ptrdiff_t
3bdb7fa31 zfpy 0.5.5
8f81ae47d Update FAQ on relative error
2dafa9f81 Update cfp pointer docs
8487b618e Add missing functionality for 2d/3d cfp_ptr
d83c2c81f Fix cfp naming consistency, add missing 1d functionality
68bc279be Mention const pointer availability
b5255c5a0 Update docs to reflect 64-bit support
0df472c3c Small tweak to cfp docs
2104f25cc Add const_pointer tests
97818431d Add const iterator tests
0086df3a8 Add pointer comparison tests
a29e83a99 Const accessor constructors must accept const containers
3a33078ba zfpy 0.5.5-rc5
cf8740a1d zfp 0.5.5-rc4
94ac5c00f Add alignment, header tests
739ea17c0 zfpy 0.5.5rc3
61048ab23 zfpy rc2
37096f146 Update docs for new const accessors, serialization, etc.
9d0d1df3a Fixed iteratorC to match output with iterator example
1167e3d5c Docs changes: fix ptr/iter names, add missing functions, fix broken links
ba0d5f46e Add zfpy-wheels long description
64f1b58af Update version
8d0f76fd2 Windows friendly setup.py
33f9c6657 Add URL
0f148ecf6 Build wheel with setup.py
35b5cafd0 Workaround for conflicting container_type declarations
ad613305d Resolve conflicting container_type in private views
1c4b9d9be Replace array with container_type in views
2ecc4686f Make accessors return const_reference; add pointers to views
cc332853e cfp accessor documentation first pass
27aca9c3d Fix iterator ~3u bug
20d81aa21 Add full 64-bit support to compressed arrays
da4a71f2b Silence type conversion warnings
f7893523f Rewrite zfp codec to use zfp::cpp templates
80b7841a2 Add C++ wrappers around low-level C API
470a743d8 Add typename to please MSVC 14
6a7ee0935 Change header API to rely on constructor
e30a70a73 Replace last occurrence of stream_word_bits
45c508d00 Plug memory leak in zfp::array::construct
9548b9404 Plug memory leak in block store
abc6922ee Clean up codec and use stream_alignment()
90009fd0c Add stream_alignment() function
4e6f0315d Fix using declarations for MSVC
a42b52d6f Work around googletest iterator bug
f6a8be00f Update compressed_data() API in cfp
bc55d5e77 Fix codec constructors
4d4001e8e Remove obsolete code
81e577dd8 Refactor array serialization
24270e887 Add Boolean type
229a37df6 Respect cache size request
6f0b78e42 Move codec specializations
6e7c12b5f Use std:: prefix in memory allocation where appropriate
878b329c7 Add type traits
3539cc849 Reinstate private views
4f2525c92 Fix incorrect cache size initialization
a688d9de4 Initialize array dimensions in constructor from view
efb78225b Move codec from BlockStore to BlockCache
086a156ad Rename storage -> store
d8b099c91 Fix codec source file names
a7b5a6d52 Update tests to support new array API
d2ca8ae63 Add new block storage + cache and refactor arrays + views
ecd4fb496 Add specialized allocator for void*
3b12f7c08 Made zfp memory alignment a compile-time macro
91e702f73 Add missing cbegin/cend to 2D and 3D arrays
b98c864b4 Update 3D references, pointers, iterators, and views
a2a7a2cf0 Fix incorrect pointer2 comparisons
e8e1000c8 Update 2D references, pointers, iterators, and views
b05afe923 Fix inconsistent relational operators
47e4c7cea Replace 1D view_reference with new generic reference
90eff6506 Traverse array using new const iterator
aacc4989a Refactor 1D references, pointers, iterators and add const versions
079c409fc Fix Cython 'Assignment to non-lvalue' errors
2d7873710 Remove trailing semicolons which Cython treats as errors
a1a876c96 Fix make install clobbering existing gtest installations
fc0ecac33 Optimized cfp references and arrays based on results of testing
c4029cf48 Added cfp iterator example
08adb27db Fix typo in CXXFLAGS
0202b0be3 Check for undefined __STDC_VERSION__ to suppress warnings
bc2fe6bf9 Add reversible mode to simple.c
1bb7955a6 Minor documentation changes
5254963d9 Added iterator tests
18f6b8ad4 Added proxy iterators
bbcded585 Fix AppVeyor badge URL
74e8a145c Fix bad URLs
e1b45152d Reorganize README file
a05e2e529 Update license info per LLNL guidelines
bcea89307 Update Appveyor project URL
05ef34110 Added tests for pointers and array flat ptr/ref
26be0ff9b Added pointer shifting/arithmetic and flat array ref/ptr accessors
c8969dfa0 changed references to linear indexing
4079af78b Implemented cfp pointers
5710f2913 Removed unnecessary export_ macro.
ee7ecc233 Revert "Minor optimization of lifting transform."
92fca13de Minor optimization of lifting transform.
4cb27e2a6 Fixed linker errors.
aa6266927 Fixed LNK4217 linker warnings when using Visual Studio. Also removes .lib and .exp files created along executable file of a project using static zfp library.
b515bd112 Fixed linker error LNK1114 when using Visual Studio. The fix required a change of name of zfp command line executable.
2ab06b3d7 hotfix: Fix wrong memset params order
b1a4f8a0c set and copy added to cfp references, diffusion example updated to use new API
d62a7f9e6 added get_ref to cfp arrays and get (value) to cfp refs (with associated tests)
af30bdc24 Changed cfp_array initialization syntax to fix windows build issue
28decba39 cfp_arrayALL changed from raw pointer to struct wrapped pointer (prep for cfp refs)
e748a9c96 Clean up code
edf135f5a Add compressed block index
bcf97058c Add variable rate support
f80c5103c Add uncompressed block index
40ae50ce1 Return block size in codec
e9f4743cd Initial pass for 3D arrays
40ef12b71 Merge branch 'develop' of github.com:LLNL/zfp into develop
814c11086 Add reversible mode to simple.c
6fe05a5d6 Minor documentation changes
fa79823c7 Merge branch 'misc/checksum-gen-tool' into develop
1c6144a99 updated cython for new checksum API
b82d9e836 TODO: update cython for new test utils APIs
1a32165eb Update cpp and CFP tests to conform to new checksum API
e75a0b111 Extend zfpChecksumsLib API for original-input specific function (omits irrelevant parameters)
32b4637ad Checksums now support tuples (key1, key2, value), where new key2 encodes array dimension lengths. Encode, decode, endtoend all updated
93b602ce2 Checksum (key, value) lookup working for encode, decode, and endtoend tests. zfpChecksumsLib updated to handle (key, value) lookup
9e8a000ea Checksum generation working for encode, decode, endtoend tests, across {dimensionalities 1-4}x{all scalar types}
00b944b01 endtoend tests can print (key, value) = (descriptor, checksum) pairs when compiled with flag PRINT_CHECKSUMS
881d8418d Update links to zfp website
6da6eff20 updated cython for new checksum API
d85b6fa48 Remove redundant CUDA h2d transfers
3119f94df add short mention of third-party tools in overview
a8def9af5 adding a short note and link for h5z-zfp
068f8150f Merge pull request silx-kit#61 from maddyscientist/feature/cuda_encode_unroll
110a4945e Merge pull request silx-kit#67 from maddyscientist/feature/cuda_decode_unroll
4cfd5882f TODO: update cython for new test utils APIs
070e4e4b6 Update cpp and CFP tests to conform to new checksum API
cf8c779d6 Extend zfpChecksumsLib API for original-input specific function (omits irrelevant parameters)
bf577f528 Checksums now support tuples (key1, key2, value), where new key2 encodes array dimension lengths. Encode, decode, endtoend all updated
64ef0ea9f Checksum (key, value) lookup working for encode, decode, and endtoend tests. zfpChecksumsLib updated to handle (key, value) lookup
208c6bbf7 Checksum generation working for encode, decode, endtoend tests, across {dimensionalities 1-4}x{all scalar types}
680fbb941 endtoend tests can print (key, value) = (descriptor, checksum) pairs when compiled with flag PRINT_CHECKSUMS
034f37bde Fix missing CUDA test function from previous refactor commit
047da679a Merge branch 'refactor/combine-testcases' into develop
7b75e6ce6 Remove fatal fail_msg() calls from setupCompressParam() becuase it would terminate some looping tests early
ec7771247 Minor test changes: print uint64 in hex format, add "ERROR: " prefix to nonfatal print statements
cb784f8f1 Refactor compress/decompress, and hash bitstream/array to separate functions for re-use in endtoend tests
7c751efab Combine endtoend testcases for CUDA, similarly to past 2 commits. Also perform some refactoring across endtoend testcode
a608eb9b0 Combine testcases for OpenMP endtoend tests, such that one testcase now tests 1 compression mode, varying the compression parameter (3), threadcount (3), and chunk size (3).
32fa7e76a Combine testcases for serial endtoend tests, such that one test case tests a compression mode across all 3 compression parameters, covering all compress/decompress checksum comparisons, without prematurely ending at the first failure
045ca9cbb Refactor encode/decode block special value tests (10 testcases become 1)
a7e77cc1f Fix typos in CFP documentation
ede3bee7b Merge branch 'develop' into feature/cuda_decode_unroll
989e1aa6c Merge pull request #1 from LLNL/develop
b7dcdb019 Unroll optimization for CUDA encode scatter partial functions
ae26c99ce Merge pull request silx-kit#65 from maddyscientist/feature/cuda_inline_constants
761127592 Let the compiler inline the permutation lookup table into registers rather than using __constant__ memory
4444fd309 Fix C++ undefined behavior with last commit.  All tests now pass.
bee1d74fa Add support for unbiased errors and tighter error bounds
9cb007ff2 CUDA optimization: unrolling optimization gather_partial functions
f76320231 Fix RuntimeError using int64 in zfpy on Windows (Pull Request silx-kit#60)
d488a6f69 Appveyor: build zfpy on MSVC release builds with python 2.7 and 3.5 (expect zfpy failures on MSVC)
8f1756928 Fix mixed declarations and code
c0a7acc4f Update contact email
5384b5715 Merge branch 'release0.5.5' into develop

git-subtree-dir: src/zfp
git-subtree-split: f40868a6a1c190c802e7d8b5987064f044bf7812
t20100 added a commit to t20100/hdf5plugin that referenced this pull request Jan 19, 2024
f40868a6a Release 1.0.1
cd174e0bf Bump version number
6bdada5f3 Set release version and date
913e67fa7 Add dependency on six
a0bab6739 Add sphinx-fortran dependency
325bba6ca Add RTD v2 yaml file
c5879e222 Mention R&D 100 award
113767ee3 Add missing resolved issues to CHANGELOG
5f3ade7e2 Fix broken links
e892d713b Document that OS=mac is needed when building dylibs with gmake (resolves silx-kit#170)
c81062e2b Clarify that 64-bit OS is not required (resolves silx-kit#194)
63eeefa32 Fix for issue silx-kit#220
c7f329ab8 Merge pull request silx-kit#217 from hmaarrfk/distutils
d6bccbd71 Explicitly use old CMake FindPython policy
b345842fb Merge pull request silx-kit#204 from diegorsjv/bugfix/fortran-interface-stride-passbyvalue
bcc5a2548 Update gitlabCI runner config [skip ci]
f838d6cfd Merge pull request silx-kit#216 from LLNL/dependabot/github_actions/actions/checkout-4
83c6e47ec Update to support Python 3.12
c61eca71d Bump actions/checkout from 3 to 4
fa1014f5e Merge pull request silx-kit#188 from DimitriPapadopoulos/actions
21f4f399d Merge pull request silx-kit#215 from DimitriPapadopoulos/_WIN32
4c5d622ed Fix typo found by codespell
ad2f02b3e Testing _WIN32 is enough, no need to test _WIN64
920df4d96 Automatically update GitHub Actions in the future
d846d33fa Merge pull request silx-kit#211 from LLNL/markcmiller86-add-rd-100-badge
6cdff3060 Add R&D100 badge
bc5e24145 update gitlab compiler versions
d2a52e633 update gitlab build options
2b523d92a Removed unused functions from python test utils
c1845815e Add void to functions taking no parameters (resolves silx-kit#208)
300e77d12 Clean up minor issues in documentation [skip ci]
a3afa49f6 Clarify intent of zfp_stream_maximum_size() [skip ci]
3a90823d9 Clarify that thread safety requires OpenMP [skip ci]
fbca45407 Modified the set_stride_xd functions in zfp.f90 so that stride values are actually passed by value and not by reference as they were. This resulted in segmentation faults when using strided compression with the Fortran bindings
f15d00720 Update badges and actions names
b78055fa3 Organize actions and enable codecov upload
2c7cdeaa2 Add code coverage action
ee10feb73 squash merge misc/actions-fixes into develop
c4f175667 Create actions debug workflow for linux [skip ci]
0d7de48d7 Create actions debug workflow for macos
8a1dd0e0e Revert gitlab change
ff3a33926 update gitlabCI user
fc96c9158 Merge pull request silx-kit#189 from LLNL/misc/build-tests
54c8706de Add BUILD_TESTING_FULL to documentation [skip ci]
b50a4613e update github actions flag
c578028e0 Add BUILD_TESTING_FULL option (issue silx-kit#177)
28cb77742 Fix zfpy type issues (issue silx-kit#171)
2ac91d785 Merge pull request silx-kit#180 from DimitriPapadopoulos/actions
6c307aa70 Merge pull request silx-kit#184 from seung-lab/fix_numpy_abi
4de8c1b7e CMake RPath fix (issue silx-kit#181)
50dfaacdc build: use oldest numpy ABI to ensure maximum compatibility
92424bf65 Merge pull request silx-kit#174 from seung-lab/wms_py_header_reader
228c7a48a Update GitHub Actions
e57895219 Merge branch 'develop' into wms_py_header_reader
b2ad09e55 Fix issue silx-kit#176
51afffc05 fix: recommended changes
c05eba980 fix: remove strides from header dict
fc0a19c54 fix: cast everything to python int
adfeb3584 feat(python): add full header reader for zfp streams
c616bbec3 Update CHANGELOG
6d7d2424e Prevent LTO in libm dependency check (resolves silx-kit#169)
fdc30ff69 Set ZFP_VERSION_DEVELOP
35155961e Merge branch 'release1.0.0' into develop
f39af7264 Release 1.0.0
82a557c82 Set release version and date
7f84893b1 Clarify ZFP_VERSION_DEVELOP meaning and value
074f01092 Point badges and documentation to release1.0.0 branch
1fc3539e9 Align license.rst with LICENSE
ed01090c8 Add version_tweak to zFORp
9ac63801c Document change in ZFP_VERSION mapping
fff64a14a Revert to gencodec for consistency with zfpcodec
07485e1a3 Update ReadTheDocs badge link
e1af8487b Bump copyright date, add copyright notice to zfp.hpp
2445a7c3c Bump zFORp_library_version
3ed74345d Ensure make clean removes libcfp
6c66c6652 Proofread and ensure documentation is up to date
9cc3a25b1 Update expected testzfp errors for large arrays
8efecf10c Fix various bugs in diffusionC
49db1371b Fix incorrect order of distance() arguments
afabe40bb Add cfp references, pointer, iterators, serialization to CHANGELOG
302d0a734 Fix C89 incompatibility in iteratorC.c
a9203c644 Add missing const_array::params() and const_array::set_params()
c6974acec Add zfp_field_blocks() to zFORp
46deb6105 Update execution doc with planned future capabilities
e4357d0e2 Cosmetic changes to compression modes doc
f88a41319 Add variable-length code example
3deba5f1b Add Apple clang OpenMP instructions
bc29521be Update authors, zfp homepage URL
43d29affc Update links to zfp applications
c9ec980f7 Update zfp homepage URL
3c5445648 Update authors and contributors
4ce851be7 Update versions.rst to align with CHANGELOG.md
44d4f849d Remove unused variable in decoder test
9a9a22637 update doc versions and add some missing changes
962a48bde update version in license and tests
c86be611d Update zfpy version number
c99a41f4c Fix mismatched memory (de)allocation calls
6825ee263 Add missing space between literal and identifier
91f1823fa Update version identifiers for next release
cb618438b Correct suffix for examples/array2d.h
539db0866 Update CHANGELOG to reflect directory restructuring
1c66f76b7 Silence compiler warnings in tests
b2ea04160 Remove -I../array
1bcbf0ecb Ensure proper make clean in examples
8eecbfbb5 Document new name for zFORp module
ec96f631f Document lower bound on maxbits in expert mode
c597619ce Fix compiler warnings in tests
b1ce0c16b Merge branch 'develop' into refactor/install-directory
73aeb4644 Fix compiler warnings/errors in examples
7edcd917d Update time limit on gitlab tests
725f5cd7f remove fortran modules directory from git tracking
982ca8683 Update cfp header includes, rename main cfp header
0f530708a Silence copy constructor warning
54966d1e5 Fix gmake build issues
7c9b4d23d Merge branch 'develop' into refactor/install-directory
81dbdd02d Fix Fortran GNU builds and compiler requirements
97fa1d75b Disable thread safety checks when OpenMP is absent
6c46dccf9 Update makefiles and fix a few inconsistencies
f08994139 Clarify that low-level API ignores execution policy
736581dd4 Silence implicit conversion warnings
86ffc4f20 Rename ZFP_VERSION_DEVELOP, remove ZFP_VERSION_RELEASE
0135c037e Merge branch 'bugfix/thread-safety' into develop (resolves silx-kit#154)
20a2efdcb Use zfp_field_blocks() in codec
5c424bbff Update CHANGELOG [skip ci]
11f992849 Enabled OpenMP with testviews
e89d80383 Handle empty field in zfp_field_blocks()
0447f7e56 Make codec thread-safe
b9166ad1a Add LDFLAGS to support -lomp on Mac
5190cae2d Add zfp_field_blocks()
e1ac5e4ee Merge pull request silx-kit#165 from DimitriPapadopoulos/codespell
20e62c582 Fix typos found by codespell
05b3f4c56 Update fortran module name and move internal codec headers
c13a6c7b9 Update bitstream.c include in cuda [skip ci]
9e78178a4 Fix include in zfpy
3674669df Update zforp install location
5fd6de39f update zfp util
f56070f6a updated tests fixed additional missing includes
615e86f4b Update headers in examples and fix bad include
eeac3a28a Updated cfp includes, fixed build issues
c73261887 Update cmake
b2366c0e7 updated inline src and moved cfp src
4aafbc81a Update hpp include guards
afe6a01f9 Update includes for internal headers
013210b06 Update includes for all non-internal headers
e1e4840c0 Move include files
9b0d278f8 Update where gitlab cpu tests are run
26678cded Replace stdio with iostream in testviews
bb59d8457 Fix minor documentation issues
537c12052 Add compressed-array example
cc2e85008 add policy mode validation checks
938ffd2e9 change exec policy params to use void*
7335959b8 Merge branch 'refactor/stream-offsets' into develop
24bcfa28b Merge branch 'develop' into refactor/stream-offsets
2d975ce89 Correct type mismatches to silence compiler warnings
bf718a604 Update bitstream types in CUDA tests
9a1e3409f Introduce bitstream_{offset,size,count} types for 64-bit support
b40ab53dd temporarily disable actions side of cmake test
9dcf734c8 temporarily disable actions side of cmake test
72fcac571 Add cmake version checking to tests
980155a8e Merge pull request silx-kit#162 from jonashaag/patch-1
cf7bd9eac Fix exception handling in compress_numpy
5d3ac203e Revert accidental change to ZFP_VERSION_RELEASE define
0335096e6 Fix version.h compile error
dd915b95a Update version files to support intermediate version numbers
15d77178c Move memory management to internal namespace
0f06782e4 Rename word -> stream_word
1d6fbe597 Silence compiler warnings in tests
f49a7fe5d Silence compiler warnings in tests
baaa782ac Remove debugging code from diffusion example
76d684ded Update CMakeLists to support OpenMP with AppleClang
19b261d6c Add macros for constructing version number and string
ad926b6a8 Add back references to execution section in docs
f6880a6a6 Add silx-kit#150 to CHANGELOG
d36f54d9b Fixes silx-kit#150
6bfd003ab Revert attempted fix for silx-kit#150
e620e546d Undo failed attempt to fix silx-kit#150
a7c6047fa Attempted fix for issue silx-kit#150 (cmocka macOS build)
da4e28293 Allow setting BIT_STREAM_WORD_TYPE on make line
33065d237 Add support for generic codec in diffusion example
f4e0850c6 Clarify that rounding mode, daz supported only on CPU
2b03babb8 Add conda zfp package and zarr application to docs
4a33aab52 add missing zfp field and stream tests
38e3cbbe2 Silence const compiler warnings in ppm
aeb707c1d Add CUDA tests for unsupported 4D data
5fe5ed198 Change name of actions workflow
ba2df4bcd move gitlab cpu tests to new system
a674bf58b Remove Travis CI files
fd5731846 Move status badge from travis to actions
64e5db65e Update python cmake build scripts
7ad847694 Add python build hints to tests
50774dcfd Enable cython action temporarily disable win tests
d42fb0eea enable actions pytests and split py adv decompress test into bytes/memview versions
afac3f94f made test output more verbose
31902956b remove unneeded test code
84fb3d880 Make array::set(0) zero-initialize array
323e3e708 Move Cache and Store to internal namespace
eb6cd2873 Bug fix: reopen codec when compacting store
122918c4c Fix incorrect loop counter types in simple.c
662fc0f42 Add size_bytes() to cfp
05156f50d Replace ieeecodec with generic codec templated on scalar type
8441d7063 Fix inconsistent coding style in zfpcodec
142a11f72 Setup github actions config
5555333ae add promote/demote util tests
b91dcafb4 Added field_metadata failure tests
6aec9dc42 compilation error fix
de381394f Fix unused variable warning
d65af032c Add link to MVAPICH2-GDR
5c991daae Add/rename top-level files for E4S compliance
99e526cd5 Document CUDA limitations
22beacb09 Document ZFP_WITH_CUDA in config file
57c50e038 Add FAQ on error distributions
bbfb88db8 Clarify FAQ silx-kit#17 on violated tolerances
1cd5978fb Add printf FAQ
95dc35828 Merge pull request silx-kit#148 from vicentebolea/cmake-fix-include-dir
b6f344ff4 CMAKE: ZFP_INCLUDE_DIRS avail at configure time
310e12d51 Merge pull request silx-kit#147 from vicentebolea/add-zfp-cuda-var
670368238 Update zfp-config.cmake.in
f5d8c2824 Add templated encode/decode tests
f65ac4434 Move cuda testing to new machine
5079b8958 Extend and include testviews in tests
2d0ba85f8 Fix view const accessors
a922f6408 Clean up .travis.yml
1a4565c6f Force gcc-4.9 on Travis CI
416e19573 Require CMake 3.9 in tests
af933bb99 Suppress CMake warning about unused ZFP_OMP_TESTS_ONLY
f718c5616 Add nullptr_t proxy pointer constructors
d83d3432c Update README build report badge
bfbaa9929 Undo attempted codecov fix
1e74a04c4 Add mask parameter to header.size_bytes()
625691784 Bug fix: overflow due to subnormals (resolves silx-kit#119)
3f768fad6 Fix zfp_field bugs that confused precision and byte size
ecbbf7633 Fix missing codecov uploads
ef8b8791a Document C++ wrappers for low-level API
8e790cbf5 Update installation instructions
881644019 Complete citation record
0ff612eca Merge pull request silx-kit#141 from researchapps/add/github-citation
cd14c0633 GitHub has recently added this standard file, CITATION.cff, that will render a sidebar link to easily copy paste bibtex information to cite the work. This should be useful for zfp
33eed2fb0 Fix missing size_t and declarations in tests
c3a7b3343 Fix missing size_t types and casts
191073760 Fix C89 incompatibility in tests
a85609f07 Build cmocka using prescribed build type for MSVC
149de0a54 Update cfp tests to use size_t
416d16b82 Complete size_t transition for array tests
83d572f17 Fix broken C89 support in tests
45c9e82bf Silence warnings and use size_t over uint in tests
7450b7282 Silence miscellaneous compiler warnings
ce5c5b3af Silence compiler warnings
4e49b3180 Fix gtest deprecation warnings
6443612cb Merge branch 'develop' of github.com:LLNL/zfp into develop
02872e2a0 added templated encode/decode block tests
722782608 Merge branch 'refactor/64-bit-indexing' into develop
954390e19 Silence compiler warnings in tests
2a2ff3571 Update docs with new zfp_field and function signatures
28a3858b3 Silence compiler warnings in tests
d97e589b6 Update examples and utils to use size_t array dimensions
b756eb043 Handle missing size_t/ptrdiff_t
c3672137c Update Fortran API to support 64-bit indexing
64f71dde8 Update Python API to support 64-bit indexing
5f3ad37d6 64-bit indexing: replace uint/int with size_t/ptrdiff_t
24bcaf80e Organized tests/array directory
ea8124f8d merged cpp namespace into zfp namespace
01ccb95d3 Clarify constraints on rate in docs
b47749f56 changed gtest version to fix compilation issues with non-gnu linux compilers
496a416c3 fixed macro expansion issue (commit issue fix)
1c5bc2ab7 fixed macro expansion issue
c9adc2a4a fixed macro expansion issue
1f5fb92ab Rename Travis files
62f350340 Merge branch 'feature/const-arrays' into develop
5bdd22f37 Merge branch 'develop' into feature/const-arrays
26c5eb9df Do not reset rate in zfp::index::implicit::clear()
a571d4350 Add appropriate casts around CHAR_BIT * sizeof() constructs
5c7f6ecc4 Add dispatch function for integer encoding/decoding
6cf405a27 added in const array bitstream checksum test
5f6394ee9 disable travis tests temporarily
6a7364b3c Fix docs on array serialization constraints
cea4ff6ce Merge branch 'feature/unbiased-error' into develop
8a4487e75 Document ZFP_ROUND_* macros
bd2b1545c Fix CUDA rounding issue due to incorrect NBMASK
3205d7219 Add rounding modes to CUDA implementation
4f3f1d4a7 Disabled travis linux testing due to new usage restrictions
caf14c7f1 Added index names to test reporting
a949b1c55 Added block index tests for const arrays
2968e8e0e Specialize coding for unconstrained rate
74a11efef Merge pull request silx-kit#137 from jwsblokland/bugfix/cmake
2fba7f690 CMake: (fix) OpenMP dependency.
f25982add Merge branch 'misc/travis-update' into develop
eb1d4c2d3 Discontinue xcode7.3 tests
e5a55f762 Fix build errors
4f409922f Added const array checksum tests
97044629f Only call cudaGetDeviceProperties once.
fcae077d9 Add ability to specify CUDA compilation flags.
8a4db7fb0 Added in tests for multiple precision/accuracy compression mode values
fb4d7a613 Fixed uninitialized value error in test fixture
09a9f7614 Initial work on const array tests
2d92b09d9 moved version info to zfp/version.h header
6389b89d3 Implemented fixes discussed in issue silx-kit#126
12772bd48 Fix incorrect math in relative-error bound FAQ
a51171f14 Document promotion/demotion of scalars
3ddbd24d5 renamed header.size() to header.size_bytes() to better clarify its functionality
6b2da922e strip out redundant CI builds
11341f46f Add new rounding mode: ZFP_ROUND_FIRST
6d24ac9f1 Fixed various CI test issues
928bbceb2 refactored GitlabCI config to be more extensible
f3736ca59 Update diffusion documentation
321ce7fcd Add codec and index documentation
68099ac68 Add const_array support for expert mode
1d64a1613 Fix off-by-one error in ZFP_MAX_BITS
aabe13f93 Documentation: Use checkmarks in tables
8ded86bd6 Add FAQ on C vs. Fortran order
ebe66d628 Add FAQ on compressed storage size
d7686bc49 Bug fix: compressed block size in reversible mode (resolves silx-kit#127)
35bc789ab Rename zfp::codec derived classes
d91176121 Rename conflicting zfp_stream* codec::zfp::zfp
6b6602b6d Add zfp::codec namespace
24f9b0708 Add support for const_array in diffusion example
d2932309e Fix incorrect rate granularity in FAQ
c733c923e Document const_array rate granularity and zero initialization
1d38a7f02 Refactor and fix bugs in arrays, store, index, codec
6993e72da Add exception on cache overflow
93780bb1c Add size_bytes() to fixed-rate arrays
4abe3d5ca Fix incorrect cache size initialization
71d24c018 Add missing size_bytes() for block stores
4142c9995 Remove debug info
bb4e567a5 Add const_array documentation
9f2b09c88 Add missing size_bytes() for block caches
fee7e80eb Consolidate shape() and block_shape() functions
b2816e2ef fix compiler error during cuda testing
0b4f9a3b8 Add 1D, 2D, 4D const_arrays
a56a749fb Merge branch 'develop' into feature/const-arrays
dd174cd21 Update documentation on exceptions
0ecdc57cd Add zfp_field layout functions
4a0d1f3eb Use zfp_bool in examples
0ceec10cc Ensure diffusionC builds with cfp
ccdec24e3 Add zfp_bool documentation
53b69c4dc Document ppm example
ee3c9fe23 Refactor array/cache/store to support const_array
10612d476 Exclude redundant header inclusion
aa71d4ade Improve POD memory allocation
350867321 Add inclusion of missing headers
1de54120e Add zfp_config for const_array constructor
695886a76 Move install command to utils subdirectory
f4e559860 Change gtest build paths (resolves silx-kit#108)
ab07ab956 Remove zfp utility as install target
1fa8dbbef Add zfp utility as install target (resolves silx-kit#122)
a215e19c7 Merge branch 'bugfix/omp-large-arrays' into develop
67ab4c983 Avoid Win32 size_t overflow
b09d079aa Resolves silx-kit#125
1051621b7 Pick up .travis.yml fix
915e04141 Squashed commit of the following:
f784bbebd Revert to OpenMP 2.0 to accommodate MSVC
e525e484e Fix OpenMP 32-bit int overflow; require OpenMP 3.0
f668af3d5 Add support for querying rate, precision, accuracy
d24b528e9 Fix bad link in file compression docs
a96940074 Bug fix: CUDA bit streams limited to 2^31 bits
8d09ee13d Silence compiler warnings
abc769647 Correct comments/code for coding partial/strided blocks
4fd729283 Rename cfparrays.*; add cfp/src/template directory
779b36653 Minor improvements to simple.c
5cefb373e Clarify zfp_read_header() documentation
7e68696db Consolidate intro and overview sections
1829523e6 added small fixes for zfp testing, new gitlab CI functionality
74364a8a4 Merge branch 'feature/cfp-references' into develop
71f13b819 Refactor cfp header API to align with accessors
ccdc3ec68 Silence PGI compiler warnings
5feae4ca4 Support no alignment via ZFP_CACHE_LINE_SIZE=0
ebb172d00 Propagate zfp_private_defs to tests
a048b3f58 Expose ZFP_CACHE_LINE_SIZE to address PGI compiler bug
e11004ae1 Add cfp serialization documentation
bf09645b6 Update Makefiles to simplify macOS builds
7eb57fa02 Clean up cfp docs
7ab1ed615 Update docs to use zfp_bool
9c6032bd8 Make cfp its own section
6f111ce21 Update cfp documentation
61f7b2caf Add zfp_bool documentation
ac22c5847 Clean up merge and :c:expr: Sphinx issues
6db9cf049 Merge branch 'feature/cfp-references' into develop
661cd2aaa Add cfp multidim iterator tests
dca15d47d Ensure consistent cfp parameter names and APIs
72e4fd1fe Remove unnecessary casts
b2e658527 Add iterators to diffusionC; ensure C89 compatibility
88906c395 Add cfp random-access iterators and const qualifiers; refactor header
03f213bab Rename and reorder accessor members
f7682e657 Refactor cfpheader to avoid circular inclusion
87b770ea1 changed booleans from int to zfp_bool type
6b8e03dd8 Added cfp header tests
b20b2bb40 added header functionality to cfp
75c2a59cf Avoid importing unused cpython array for compatibility with pypy
50aa4f193 changed uint8_t and memoryview test
29d7de129 change to void, add tests similar to ensure_ndarray
5cb7a3253 remove print cython version
89b19d3f5 remove apt-get cython3
a4d6edac1 change cython3 to cython
2739f2e7a upgrade pip first
2fc75483f change back to pip
1d9524a59 remove upgrade pip
b560ddcbf use pip3 instead pip
66d45d1c6 change cython3 in .travis.yml
0bed27e1d enable cython3 upgrade on xenial
3c2c06128 add cython version check in travis.sh
8269e09b2 check cython version in zfpy.pyx
bf05fb43d change to void *
f0f824063 add <char*> in stream_open
31d8c51c2 remove const for test
a3c572a10 Update python/zfpy.pyx
14da51149 Update python/zfpy.pyx
a75ef2615 replace bytes of compressed stream to uint8_t
1f4973df4 fixed missing semi-colon
ee58ae344 changed cfp 4d fixed rate tests to prevent future problems
a36d4063b Fixed issues with 4d checksum tests
1c3123355 Fix failing 4D cfp test due to lack of precision
29c4f5a9d Changed out of date uint references to size_t in docs
0541ec97c Added 4d cfp documentation
15187ed8b Disabled broken checksum tests
42d3c7fe8 Added cfp 4d tests
a79c49305 Merge branch 'develop' into feature/const-arrays
0817b0865 Add documentation for 4D arrays
a5959fe02 Use python3 with sphinx documentation
6f829dd50 Enable 4D array support in cfp
78c2c51f8 Merge branch 'develop' into feature/cfp-references
c6bcb0988 Remove temporary fix to private_view::get()
2fbe0084a Merge branch 'refactor/arrays' into develop
8b794fb8b Fix ppm issues with clamping; add chroma dimensionality parameter
33149742a Add support for 1D chroma blocks in ppm
1fd3a5f80 Revise zfp_bool type for C++ and update function signatures
50b635b45 Add tests for 4D compressed arrays
635db5c5b Fix minor issues with 3D array tests
915ba2159 Fix copy-paste errors uncovered by tests
bdb2623ce Fix ppm range expansion bug
5816bcde1 Add ppm example
d2c844c6d Add pointer and iterator tests for views
6a544b056 Add missing const_pointer and const_iterator friends to views
8e1d8dcd1 Fix testzfp-large tolerances for new default cache size
23bb66f67 Remove obsolete 4D deserialization test
935c38937 changed ctor name
67383cc4a Correct order of arguments in cfp {ptr,iter}.distance
bf58a4ad0 Prepare cfp for 4D arrays
02a403ee7 Add testzfp tests for 4D array classes
fdd14c9e4 Add 4D compressed-array classes
044cbe14f Add offset dereference operator tests for pointer and iterators
35d5c8cb1 Fix copy-paste error in iterator3
9761ee91c Update docs for iterators and views
cf899daf0 Fix bad typedefs in iterators
9bf999348 Refactor accessors using container template
29cbdf760 Changed cfp to use safer static casting
6bd6d7248 Change to cfp header/array typedefs to solve issue with pre gcc 4.8
fa0d09c45 add cfp_header stubs to prep for new zfp header class
5b687458d Promote all iterators to random access; prepare for view iterators
19720bf79 Clean up documentation
520596bdc Fix incorrect reads through private_view
f3e1ca9a5 Fix zfp_stream_maximum_size() estimate in reversible mode
ca97dfdc1 Extra cleanup & organization pass for cfp tests/docs
d1d185c11 fix iteratorC formatting to match new output types
97749bd02 Add missing functionality for 2d/3d cfp_iter, move cfp fully from uint/int to size_t/ptrdiff_t
3bdb7fa31 zfpy 0.5.5
8f81ae47d Update FAQ on relative error
2dafa9f81 Update cfp pointer docs
8487b618e Add missing functionality for 2d/3d cfp_ptr
d83c2c81f Fix cfp naming consistency, add missing 1d functionality
68bc279be Mention const pointer availability
b5255c5a0 Update docs to reflect 64-bit support
0df472c3c Small tweak to cfp docs
2104f25cc Add const_pointer tests
97818431d Add const iterator tests
0086df3a8 Add pointer comparison tests
a29e83a99 Const accessor constructors must accept const containers
3a33078ba zfpy 0.5.5-rc5
cf8740a1d zfp 0.5.5-rc4
94ac5c00f Add alignment, header tests
739ea17c0 zfpy 0.5.5rc3
61048ab23 zfpy rc2
37096f146 Update docs for new const accessors, serialization, etc.
9d0d1df3a Fixed iteratorC to match output with iterator example
1167e3d5c Docs changes: fix ptr/iter names, add missing functions, fix broken links
ba0d5f46e Add zfpy-wheels long description
64f1b58af Update version
8d0f76fd2 Windows friendly setup.py
33f9c6657 Add URL
0f148ecf6 Build wheel with setup.py
35b5cafd0 Workaround for conflicting container_type declarations
ad613305d Resolve conflicting container_type in private views
1c4b9d9be Replace array with container_type in views
2ecc4686f Make accessors return const_reference; add pointers to views
cc332853e cfp accessor documentation first pass
27aca9c3d Fix iterator ~3u bug
20d81aa21 Add full 64-bit support to compressed arrays
da4a71f2b Silence type conversion warnings
f7893523f Rewrite zfp codec to use zfp::cpp templates
80b7841a2 Add C++ wrappers around low-level C API
470a743d8 Add typename to please MSVC 14
6a7ee0935 Change header API to rely on constructor
e30a70a73 Replace last occurrence of stream_word_bits
45c508d00 Plug memory leak in zfp::array::construct
9548b9404 Plug memory leak in block store
abc6922ee Clean up codec and use stream_alignment()
90009fd0c Add stream_alignment() function
4e6f0315d Fix using declarations for MSVC
a42b52d6f Work around googletest iterator bug
f6a8be00f Update compressed_data() API in cfp
bc55d5e77 Fix codec constructors
4d4001e8e Remove obsolete code
81e577dd8 Refactor array serialization
24270e887 Add Boolean type
229a37df6 Respect cache size request
6f0b78e42 Move codec specializations
6e7c12b5f Use std:: prefix in memory allocation where appropriate
878b329c7 Add type traits
3539cc849 Reinstate private views
4f2525c92 Fix incorrect cache size initialization
a688d9de4 Initialize array dimensions in constructor from view
efb78225b Move codec from BlockStore to BlockCache
086a156ad Rename storage -> store
d8b099c91 Fix codec source file names
a7b5a6d52 Update tests to support new array API
d2ca8ae63 Add new block storage + cache and refactor arrays + views
ecd4fb496 Add specialized allocator for void*
3b12f7c08 Made zfp memory alignment a compile-time macro
91e702f73 Add missing cbegin/cend to 2D and 3D arrays
b98c864b4 Update 3D references, pointers, iterators, and views
a2a7a2cf0 Fix incorrect pointer2 comparisons
e8e1000c8 Update 2D references, pointers, iterators, and views
b05afe923 Fix inconsistent relational operators
47e4c7cea Replace 1D view_reference with new generic reference
90eff6506 Traverse array using new const iterator
aacc4989a Refactor 1D references, pointers, iterators and add const versions
079c409fc Fix Cython 'Assignment to non-lvalue' errors
2d7873710 Remove trailing semicolons which Cython treats as errors
a1a876c96 Fix make install clobbering existing gtest installations
fc0ecac33 Optimized cfp references and arrays based on results of testing
c4029cf48 Added cfp iterator example
08adb27db Fix typo in CXXFLAGS
0202b0be3 Check for undefined __STDC_VERSION__ to suppress warnings
bc2fe6bf9 Add reversible mode to simple.c
1bb7955a6 Minor documentation changes
5254963d9 Added iterator tests
18f6b8ad4 Added proxy iterators
bbcded585 Fix AppVeyor badge URL
74e8a145c Fix bad URLs
e1b45152d Reorganize README file
a05e2e529 Update license info per LLNL guidelines
bcea89307 Update Appveyor project URL
05ef34110 Added tests for pointers and array flat ptr/ref
26be0ff9b Added pointer shifting/arithmetic and flat array ref/ptr accessors
c8969dfa0 changed references to linear indexing
4079af78b Implemented cfp pointers
5710f2913 Removed unnecessary export_ macro.
ee7ecc233 Revert "Minor optimization of lifting transform."
92fca13de Minor optimization of lifting transform.
4cb27e2a6 Fixed linker errors.
aa6266927 Fixed LNK4217 linker warnings when using Visual Studio. Also removes .lib and .exp files created along executable file of a project using static zfp library.
b515bd112 Fixed linker error LNK1114 when using Visual Studio. The fix required a change of name of zfp command line executable.
2ab06b3d7 hotfix: Fix wrong memset params order
b1a4f8a0c set and copy added to cfp references, diffusion example updated to use new API
d62a7f9e6 added get_ref to cfp arrays and get (value) to cfp refs (with associated tests)
af30bdc24 Changed cfp_array initialization syntax to fix windows build issue
28decba39 cfp_arrayALL changed from raw pointer to struct wrapped pointer (prep for cfp refs)
e748a9c96 Clean up code
edf135f5a Add compressed block index
bcf97058c Add variable rate support
f80c5103c Add uncompressed block index
40ae50ce1 Return block size in codec
e9f4743cd Initial pass for 3D arrays
40ef12b71 Merge branch 'develop' of github.com:LLNL/zfp into develop
814c11086 Add reversible mode to simple.c
6fe05a5d6 Minor documentation changes
fa79823c7 Merge branch 'misc/checksum-gen-tool' into develop
1c6144a99 updated cython for new checksum API
b82d9e836 TODO: update cython for new test utils APIs
1a32165eb Update cpp and CFP tests to conform to new checksum API
e75a0b111 Extend zfpChecksumsLib API for original-input specific function (omits irrelevant parameters)
32b4637ad Checksums now support tuples (key1, key2, value), where new key2 encodes array dimension lengths. Encode, decode, endtoend all updated
93b602ce2 Checksum (key, value) lookup working for encode, decode, and endtoend tests. zfpChecksumsLib updated to handle (key, value) lookup
9e8a000ea Checksum generation working for encode, decode, endtoend tests, across {dimensionalities 1-4}x{all scalar types}
00b944b01 endtoend tests can print (key, value) = (descriptor, checksum) pairs when compiled with flag PRINT_CHECKSUMS
881d8418d Update links to zfp website
6da6eff20 updated cython for new checksum API
d85b6fa48 Remove redundant CUDA h2d transfers
3119f94df add short mention of third-party tools in overview
a8def9af5 adding a short note and link for h5z-zfp
068f8150f Merge pull request silx-kit#61 from maddyscientist/feature/cuda_encode_unroll
110a4945e Merge pull request silx-kit#67 from maddyscientist/feature/cuda_decode_unroll
4cfd5882f TODO: update cython for new test utils APIs
070e4e4b6 Update cpp and CFP tests to conform to new checksum API
cf8c779d6 Extend zfpChecksumsLib API for original-input specific function (omits irrelevant parameters)
bf577f528 Checksums now support tuples (key1, key2, value), where new key2 encodes array dimension lengths. Encode, decode, endtoend all updated
64ef0ea9f Checksum (key, value) lookup working for encode, decode, and endtoend tests. zfpChecksumsLib updated to handle (key, value) lookup
208c6bbf7 Checksum generation working for encode, decode, endtoend tests, across {dimensionalities 1-4}x{all scalar types}
680fbb941 endtoend tests can print (key, value) = (descriptor, checksum) pairs when compiled with flag PRINT_CHECKSUMS
034f37bde Fix missing CUDA test function from previous refactor commit
047da679a Merge branch 'refactor/combine-testcases' into develop
7b75e6ce6 Remove fatal fail_msg() calls from setupCompressParam() becuase it would terminate some looping tests early
ec7771247 Minor test changes: print uint64 in hex format, add "ERROR: " prefix to nonfatal print statements
cb784f8f1 Refactor compress/decompress, and hash bitstream/array to separate functions for re-use in endtoend tests
7c751efab Combine endtoend testcases for CUDA, similarly to past 2 commits. Also perform some refactoring across endtoend testcode
a608eb9b0 Combine testcases for OpenMP endtoend tests, such that one testcase now tests 1 compression mode, varying the compression parameter (3), threadcount (3), and chunk size (3).
32fa7e76a Combine testcases for serial endtoend tests, such that one test case tests a compression mode across all 3 compression parameters, covering all compress/decompress checksum comparisons, without prematurely ending at the first failure
045ca9cbb Refactor encode/decode block special value tests (10 testcases become 1)
a7e77cc1f Fix typos in CFP documentation
ede3bee7b Merge branch 'develop' into feature/cuda_decode_unroll
989e1aa6c Merge pull request #1 from LLNL/develop
b7dcdb019 Unroll optimization for CUDA encode scatter partial functions
ae26c99ce Merge pull request silx-kit#65 from maddyscientist/feature/cuda_inline_constants
761127592 Let the compiler inline the permutation lookup table into registers rather than using __constant__ memory
4444fd309 Fix C++ undefined behavior with last commit.  All tests now pass.
bee1d74fa Add support for unbiased errors and tighter error bounds
9cb007ff2 CUDA optimization: unrolling optimization gather_partial functions
f76320231 Fix RuntimeError using int64 in zfpy on Windows (Pull Request silx-kit#60)
d488a6f69 Appveyor: build zfpy on MSVC release builds with python 2.7 and 3.5 (expect zfpy failures on MSVC)
8f1756928 Fix mixed declarations and code
c0a7acc4f Update contact email
5384b5715 Merge branch 'release0.5.5' into develop

git-subtree-dir: src/zfp
git-subtree-split: f40868a6a1c190c802e7d8b5987064f044bf7812
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants