Skip to content

Commit

Permalink
Squashed 'src/zfp/' changes from e8edaced..f39af726
Browse files Browse the repository at this point in the history
f39af726 Release 1.0.0
82a557c8 Set release version and date
7f84893b Clarify ZFP_VERSION_DEVELOP meaning and value
074f0109 Point badges and documentation to release1.0.0 branch
1fc3539e Align license.rst with LICENSE
ed01090c Add version_tweak to zFORp
9ac63801 Document change in ZFP_VERSION mapping
fff64a14 Revert to gencodec for consistency with zfpcodec
07485e1a Update ReadTheDocs badge link
e1af8487 Bump copyright date, add copyright notice to zfp.hpp
2445a7c3 Bump zFORp_library_version
3ed74345 Ensure make clean removes libcfp
6c66c665 Proofread and ensure documentation is up to date
9cc3a25b Update expected testzfp errors for large arrays
8efecf10 Fix various bugs in diffusionC
49db1371 Fix incorrect order of distance() arguments
afabe40b Add cfp references, pointer, iterators, serialization to CHANGELOG
302d0a73 Fix C89 incompatibility in iteratorC.c
a9203c64 Add missing const_array::params() and const_array::set_params()
c6974ace Add zfp_field_blocks() to zFORp
46deb610 Update execution doc with planned future capabilities
e4357d0e Cosmetic changes to compression modes doc
f88a4131 Add variable-length code example
3deba5f1 Add Apple clang OpenMP instructions
bc29521b Update authors, zfp homepage URL
43d29aff Update links to zfp applications
c9ec980f Update zfp homepage URL
3c544564 Update authors and contributors
4ce851be Update versions.rst to align with CHANGELOG.md
44d4f849 Remove unused variable in decoder test
9a9a2263 update doc versions and add some missing changes
962a48bd update version in license and tests
c86be611 Update zfpy version number
c99a41f4 Fix mismatched memory (de)allocation calls
6825ee26 Add missing space between literal and identifier
91f1823f Update version identifiers for next release
cb618438 Correct suffix for examples/array2d.h
539db086 Update CHANGELOG to reflect directory restructuring
1c66f76b Silence compiler warnings in tests
b2ea0416 Remove -I../array
1bcbf0ec Ensure proper make clean in examples
8eecbfbb Document new name for zFORp module
ec96f631 Document lower bound on maxbits in expert mode
c597619c Fix compiler warnings in tests
b1ce0c16 Merge branch 'develop' into refactor/install-directory
73aeb464 Fix compiler warnings/errors in examples
7edcd917 Update time limit on gitlab tests
725f5cd7 remove fortran modules directory from git tracking
982ca868 Update cfp header includes, rename main cfp header
0f530708 Silence copy constructor warning
54966d1e Fix gmake build issues
7c9b4d23 Merge branch 'develop' into refactor/install-directory
81dbdd02 Fix Fortran GNU builds and compiler requirements
97fa1d75 Disable thread safety checks when OpenMP is absent
6c46dccf Update makefiles and fix a few inconsistencies
f0899413 Clarify that low-level API ignores execution policy
736581dd Silence implicit conversion warnings
86ffc4f2 Rename ZFP_VERSION_DEVELOP, remove ZFP_VERSION_RELEASE
0135c037 Merge branch 'bugfix/thread-safety' into develop (resolves silx-kit#154)
20a2efdc Use zfp_field_blocks() in codec
5c424bbf Update CHANGELOG [skip ci]
11f99284 Enabled OpenMP with testviews
e89d8038 Handle empty field in zfp_field_blocks()
0447f7e5 Make codec thread-safe
b9166ad1 Add LDFLAGS to support -lomp on Mac
5190cae2 Add zfp_field_blocks()
e1ac5e4e Merge pull request silx-kit#165 from DimitriPapadopoulos/codespell
20e62c58 Fix typos found by codespell
05b3f4c5 Update fortran module name and move internal codec headers
c13a6c7b Update bitstream.c include in cuda [skip ci]
9e78178a Fix include in zfpy
3674669d Update zforp install location
5fd6de39 update zfp util
f56070f6 updated tests fixed additional missing includes
615e86f4 Update headers in examples and fix bad include
eeac3a28 Updated cfp includes, fixed build issues
c7326188 Update cmake
b2366c0e updated inline src and moved cfp src
4aafbc81 Update hpp include guards
afe6a01f Update includes for internal headers
013210b0 Update includes for all non-internal headers
e1e4840c Move include files
9b0d278f Update where gitlab cpu tests are run
26678cde Replace stdio with iostream in testviews
bb59d845 Fix minor documentation issues
537c1205 Add compressed-array example
cc2e8500 add policy mode validation checks
938ffd2e change exec policy params to use void*
7335959b Merge branch 'refactor/stream-offsets' into develop
24bcfa28 Merge branch 'develop' into refactor/stream-offsets
2d975ce8 Correct type mismatches to silence compiler warnings
bf718a60 Update bitstream types in CUDA tests
9a1e3409 Introduce bitstream_{offset,size,count} types for 64-bit support
b40ab53d temporarily disable actions side of cmake test
9dcf734c temporarily disable actions side of cmake test
72fcac57 Add cmake version checking to tests
980155a8 Merge pull request silx-kit#162 from jonashaag/patch-1
cf7bd9ea Fix exception handling in compress_numpy
5d3ac203 Revert accidental change to ZFP_VERSION_RELEASE define
0335096e Fix version.h compile error
dd915b95 Update version files to support intermediate version numbers
15d77178 Move memory management to internal namespace
0f06782e Rename word -> stream_word
1d6fbe59 Silence compiler warnings in tests
f49a7fe5 Silence compiler warnings in tests
baaa782a Remove debugging code from diffusion example
76d684de Update CMakeLists to support OpenMP with AppleClang
19b261d6 Add macros for constructing version number and string
ad926b6a Add back references to execution section in docs
f6880a6a Add silx-kit#150 to CHANGELOG
d36f54d9 Fixes silx-kit#150
6bfd003a Revert attempted fix for silx-kit#150
e620e546 Undo failed attempt to fix silx-kit#150
a7c6047f Attempted fix for issue silx-kit#150 (cmocka macOS build)
da4e2829 Allow setting BIT_STREAM_WORD_TYPE on make line
33065d23 Add support for generic codec in diffusion example
f4e0850c Clarify that rounding mode, daz supported only on CPU
2b03babb Add conda zfp package and zarr application to docs
4a33aab5 add missing zfp field and stream tests
38e3cbbe Silence const compiler warnings in ppm
aeb707c1 Add CUDA tests for unsupported 4D data
5fe5ed19 Change name of actions workflow
ba2df4bc move gitlab cpu tests to new system
a674bf58 Remove Travis CI files
fd573184 Move status badge from travis to actions
64e5db65 Update python cmake build scripts
7ad84769 Add python build hints to tests
50774dcf Enable cython action temporarily disable win tests
d42fb0ee enable actions pytests and split py adv decompress test into bytes/memview versions
afac3f94 made test output more verbose
31902956 remove unneeded test code
84fb3d88 Make array::set(0) zero-initialize array
323e3e70 Move Cache and Store to internal namespace
eb6cd287 Bug fix: reopen codec when compacting store
122918c4 Fix incorrect loop counter types in simple.c
662fc0f4 Add size_bytes() to cfp
05156f50 Replace ieeecodec with generic codec templated on scalar type
8441d706 Fix inconsistent coding style in zfpcodec
142a11f7 Setup github actions config
5555333a add promote/demote util tests
b91dcafb Added field_metadata failure tests
6aec9dc4 compilation error fix
de381394 Fix unused variable warning
d65af032 Add link to MVAPICH2-GDR
5c991daa Add/rename top-level files for E4S compliance
99e526cd Document CUDA limitations
22beacb0 Document ZFP_WITH_CUDA in config file
57c50e03 Add FAQ on error distributions
bbfb88db Clarify FAQ silx-kit#17 on violated tolerances
1cd5978f Add printf FAQ
95dc3582 Merge pull request silx-kit#148 from vicentebolea/cmake-fix-include-dir
b6f344ff CMAKE: ZFP_INCLUDE_DIRS avail at configure time
310e12d5 Merge pull request silx-kit#147 from vicentebolea/add-zfp-cuda-var
67036823 Update zfp-config.cmake.in
f5d8c282 Add templated encode/decode tests
f65ac443 Move cuda testing to new machine
5079b895 Extend and include testviews in tests
2d0ba85f Fix view const accessors
a922f640 Clean up .travis.yml
1a4565c6 Force gcc-4.9 on Travis CI
416e1957 Require CMake 3.9 in tests
af933bb9 Suppress CMake warning about unused ZFP_OMP_TESTS_ONLY
f718c561 Add nullptr_t proxy pointer constructors
d83d3432 Update README build report badge
bfbaa992 Undo attempted codecov fix
1e74a04c Add mask parameter to header.size_bytes()
62569178 Bug fix: overflow due to subnormals (resolves silx-kit#119)
3f768fad Fix zfp_field bugs that confused precision and byte size
ecbbf763 Fix missing codecov uploads
ef8b8791 Document C++ wrappers for low-level API
8e790cbf Update installation instructions
88164401 Complete citation record
0ff612ec Merge pull request silx-kit#141 from researchapps/add/github-citation
cd14c063 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
33eed2fb Fix missing size_t and declarations in tests
c3a7b334 Fix missing size_t types and casts
19107376 Fix C89 incompatibility in tests
a85609f0 Build cmocka using prescribed build type for MSVC
149de0a5 Update cfp tests to use size_t
416d16b8 Complete size_t transition for array tests
83d572f1 Fix broken C89 support in tests
45c9e82b Silence warnings and use size_t over uint in tests
7450b728 Silence miscellaneous compiler warnings
ce5c5b3a Silence compiler warnings
4e49b318 Fix gtest deprecation warnings
6443612c Merge branch 'develop' of github.com:LLNL/zfp into develop
02872e2a added templated encode/decode block tests
72278260 Merge branch 'refactor/64-bit-indexing' into develop
954390e1 Silence compiler warnings in tests
2a2ff357 Update docs with new zfp_field and function signatures
28a3858b Silence compiler warnings in tests
d97e589b Update examples and utils to use size_t array dimensions
b756eb04 Handle missing size_t/ptrdiff_t
c3672137 Update Fortran API to support 64-bit indexing
64f71dde Update Python API to support 64-bit indexing
5f3ad37d 64-bit indexing: replace uint/int with size_t/ptrdiff_t
24bcaf80 Organized tests/array directory
ea8124f8 merged cpp namespace into zfp namespace
01ccb95d Clarify constraints on rate in docs
b47749f5 changed gtest version to fix compilation issues with non-gnu linux compilers
496a416c fixed macro expansion issue (commit issue fix)
1c5bc2ab fixed macro expansion issue
c9adc2a4 fixed macro expansion issue
1f5fb92a Rename Travis files
62f35034 Merge branch 'feature/const-arrays' into develop
5bdd22f3 Merge branch 'develop' into feature/const-arrays
26c5eb9d Do not reset rate in zfp::index::implicit::clear()
a571d435 Add appropriate casts around CHAR_BIT * sizeof() constructs
5c7f6ecc Add dispatch function for integer encoding/decoding
6cf405a2 added in const array bitstream checksum test
5f6394ee disable travis tests temporarily
6a7364b3 Fix docs on array serialization constraints
cea4ff6c Merge branch 'feature/unbiased-error' into develop
8a4487e7 Document ZFP_ROUND_* macros
bd2b1545 Fix CUDA rounding issue due to incorrect NBMASK
3205d721 Add rounding modes to CUDA implementation
4f3f1d4a Disabled travis linux testing due to new usage restrictions
caf14c7f Added index names to test reporting
a949b1c5 Added block index tests for const arrays
2968e8e0 Specialize coding for unconstrained rate
74a11efe Merge pull request silx-kit#137 from jwsblokland/bugfix/cmake
2fba7f69 CMake: (fix) OpenMP dependency.
f25982ad Merge branch 'misc/travis-update' into develop
eb1d4c2d Discontinue xcode7.3 tests
e5a55f76 Fix build errors
4f409922 Added const array checksum tests
97044629 Only call cudaGetDeviceProperties once.
fcae077d Add ability to specify CUDA compilation flags.
8a4db7fb Added in tests for multiple precision/accuracy compression mode values
fb4d7a61 Fixed uninitialized value error in test fixture
09a9f761 Initial work on const array tests
2d92b09d moved version info to zfp/version.h header
6389b89d Implemented fixes discussed in issue silx-kit#126
12772bd4 Fix incorrect math in relative-error bound FAQ
a51171f1 Document promotion/demotion of scalars
3ddbd24d renamed header.size() to header.size_bytes() to better clarify its functionality
6b2da922 strip out redundant CI builds
11341f46 Add new rounding mode: ZFP_ROUND_FIRST
6d24ac9f Fixed various CI test issues
928bbceb refactored GitlabCI config to be more extensible
f3736ca5 Update diffusion documentation
321ce7fc Add codec and index documentation
68099ac6 Add const_array support for expert mode
1d64a161 Fix off-by-one error in ZFP_MAX_BITS
aabe13f9 Documentation: Use checkmarks in tables
8ded86bd Add FAQ on C vs. Fortran order
ebe66d62 Add FAQ on compressed storage size
d7686bc4 Bug fix: compressed block size in reversible mode (resolves silx-kit#127)
35bc789a Rename zfp::codec derived classes
d9117612 Rename conflicting zfp_stream* codec::zfp::zfp
6b6602b6 Add zfp::codec namespace
24f9b070 Add support for const_array in diffusion example
d2932309 Fix incorrect rate granularity in FAQ
c733c923 Document const_array rate granularity and zero initialization
1d38a7f0 Refactor and fix bugs in arrays, store, index, codec
6993e72d Add exception on cache overflow
93780bb1 Add size_bytes() to fixed-rate arrays
4abe3d5c Fix incorrect cache size initialization
71d24c01 Add missing size_bytes() for block stores
4142c999 Remove debug info
bb4e567a Add const_array documentation
9f2b09c8 Add missing size_bytes() for block caches
fee7e80e Consolidate shape() and block_shape() functions
b2816e2e fix compiler error during cuda testing
0b4f9a3b Add 1D, 2D, 4D const_arrays
a56a749f Merge branch 'develop' into feature/const-arrays
dd174cd2 Update documentation on exceptions
0ecdc57c Add zfp_field layout functions
4a0d1f3e Use zfp_bool in examples
0ceec10c Ensure diffusionC builds with cfp
ccdec24e Add zfp_bool documentation
53b69c4d Document ppm example
ee3c9fe2 Refactor array/cache/store to support const_array
10612d47 Exclude redundant header inclusion
aa71d4ad Improve POD memory allocation
35086732 Add inclusion of missing headers
1de54120 Add zfp_config for const_array constructor
695886a7 Move install command to utils subdirectory
f4e55986 Change gtest build paths (resolves silx-kit#108)
ab07ab95 Remove zfp utility as install target
1fa8dbbe Add zfp utility as install target (resolves silx-kit#122)
a215e19c Merge branch 'bugfix/omp-large-arrays' into develop
67ab4c98 Avoid Win32 size_t overflow
b09d079a Resolves silx-kit#125
1051621b Pick up .travis.yml fix
915e0414 Squashed commit of the following:
f784bbeb Revert to OpenMP 2.0 to accommodate MSVC
e525e484 Fix OpenMP 32-bit int overflow; require OpenMP 3.0
f668af3d Add support for querying rate, precision, accuracy
d24b528e Fix bad link in file compression docs
a9694007 Bug fix: CUDA bit streams limited to 2^31 bits
8d09ee13 Silence compiler warnings
abc76964 Correct comments/code for coding partial/strided blocks
4fd72928 Rename cfparrays.*; add cfp/src/template directory
779b3665 Minor improvements to simple.c
5cefb373 Clarify zfp_read_header() documentation
7e68696d Consolidate intro and overview sections
1829523e added small fixes for zfp testing, new gitlab CI functionality
74364a8a Merge branch 'feature/cfp-references' into develop
71f13b81 Refactor cfp header API to align with accessors
ccdc3ec6 Silence PGI compiler warnings
5feae4ca Support no alignment via ZFP_CACHE_LINE_SIZE=0
ebb172d0 Propagate zfp_private_defs to tests
a048b3f5 Expose ZFP_CACHE_LINE_SIZE to address PGI compiler bug
e11004ae Add cfp serialization documentation
bf09645b Update Makefiles to simplify macOS builds
7eb57fa0 Clean up cfp docs
7ab1ed61 Update docs to use zfp_bool
9c6032bd Make cfp its own section
6f111ce2 Update cfp documentation
61f7b2ca Add zfp_bool documentation
ac22c584 Clean up merge and :c:expr: Sphinx issues
6db9cf04 Merge branch 'feature/cfp-references' into develop
661cd2aa Add cfp multidim iterator tests
dca15d47 Ensure consistent cfp parameter names and APIs
72e4fd1f Remove unnecessary casts
b2e65852 Add iterators to diffusionC; ensure C89 compatibility
88906c39 Add cfp random-access iterators and const qualifiers; refactor header
03f213ba Rename and reorder accessor members
f7682e65 Refactor cfpheader to avoid circular inclusion
87b770ea changed booleans from int to zfp_bool type
6b8e03dd Added cfp header tests
b20b2bb4 added header functionality to cfp
75c2a59c Avoid importing unused cpython array for compatibility with pypy
50aa4f19 changed uint8_t and memoryview test
29d7de12 change to void, add tests similar to ensure_ndarray
5cb7a325 remove print cython version
89b19d3f remove apt-get cython3
a4d6edac change cython3 to cython
2739f2e7 upgrade pip first
2fc75483 change back to pip
1d9524a5 remove upgrade pip
b560ddcb use pip3 instead pip
66d45d1c change cython3 in .travis.yml
0bed27e1 enable cython3 upgrade on xenial
3c2c0612 add cython version check in travis.sh
8269e09b check cython version in zfpy.pyx
bf05fb43 change to void *
f0f82406 add <char*> in stream_open
31d8c51c remove const for test
a3c572a1 Update python/zfpy.pyx
14da5114 Update python/zfpy.pyx
a75ef261 replace bytes of compressed stream to uint8_t
1f4973df fixed missing semi-colon
ee58ae34 changed cfp 4d fixed rate tests to prevent future problems
a36d4063 Fixed issues with 4d checksum tests
1c312335 Fix failing 4D cfp test due to lack of precision
29c4f5a9 Changed out of date uint references to size_t in docs
0541ec97 Added 4d cfp documentation
15187ed8 Disabled broken checksum tests
42d3c7fe Added cfp 4d tests
a79c4930 Merge branch 'develop' into feature/const-arrays
0817b086 Add documentation for 4D arrays
a5959fe0 Use python3 with sphinx documentation
6f829dd5 Enable 4D array support in cfp
78c2c51f Merge branch 'develop' into feature/cfp-references
c6bcb098 Remove temporary fix to private_view::get()
2fbe0084 Merge branch 'refactor/arrays' into develop
8b794fb8 Fix ppm issues with clamping; add chroma dimensionality parameter
33149742 Add support for 1D chroma blocks in ppm
1fd3a5f8 Revise zfp_bool type for C++ and update function signatures
50b635b4 Add tests for 4D compressed arrays
635db5c5 Fix minor issues with 3D array tests
915ba215 Fix copy-paste errors uncovered by tests
bdb2623c Fix ppm range expansion bug
5816bcde Add ppm example
d2c844c6 Add pointer and iterator tests for views
6a544b05 Add missing const_pointer and const_iterator friends to views
8e1d8dcd Fix testzfp-large tolerances for new default cache size
23bb66f6 Remove obsolete 4D deserialization test
935c3893 changed ctor name
67383cc4 Correct order of arguments in cfp {ptr,iter}.distance
bf58a4ad Prepare cfp for 4D arrays
02a403ee Add testzfp tests for 4D array classes
fdd14c9e Add 4D compressed-array classes
044cbe14 Add offset dereference operator tests for pointer and iterators
35d5c8cb Fix copy-paste error in iterator3
9761ee91 Update docs for iterators and views
cf899daf Fix bad typedefs in iterators
9bf99934 Refactor accessors using container template
29cbdf76 Changed cfp to use safer static casting
6bd6d724 Change to cfp header/array typedefs to solve issue with pre gcc 4.8
fa0d09c4 add cfp_header stubs to prep for new zfp header class
5b687458 Promote all iterators to random access; prepare for view iterators
19720bf7 Clean up documentation
520596bd Fix incorrect reads through private_view
f3e1ca9a Fix zfp_stream_maximum_size() estimate in reversible mode
ca97dfdc Extra cleanup & organization pass for cfp tests/docs
d1d185c1 fix iteratorC formatting to match new output types
97749bd0 Add missing functionality for 2d/3d cfp_iter, move cfp fully from uint/int to size_t/ptrdiff_t
3bdb7fa3 zfpy 0.5.5
8f81ae47 Update FAQ on relative error
2dafa9f8 Update cfp pointer docs
8487b618 Add missing functionality for 2d/3d cfp_ptr
d83c2c81 Fix cfp naming consistency, add missing 1d functionality
68bc279b Mention const pointer availability
b5255c5a Update docs to reflect 64-bit support
0df472c3 Small tweak to cfp docs
2104f25c Add const_pointer tests
97818431 Add const iterator tests
0086df3a Add pointer comparison tests
a29e83a9 Const accessor constructors must accept const containers
3a33078b zfpy 0.5.5-rc5
cf8740a1 zfp 0.5.5-rc4
94ac5c00 Add alignment, header tests
739ea17c zfpy 0.5.5rc3
61048ab2 zfpy rc2
37096f14 Update docs for new const accessors, serialization, etc.
9d0d1df3 Fixed iteratorC to match output with iterator example
1167e3d5 Docs changes: fix ptr/iter names, add missing functions, fix broken links
ba0d5f46 Add zfpy-wheels long description
64f1b58a Update version
8d0f76fd Windows friendly setup.py
33f9c665 Add URL
0f148ecf Build wheel with setup.py
35b5cafd Workaround for conflicting container_type declarations
ad613305 Resolve conflicting container_type in private views
1c4b9d9b Replace array with container_type in views
2ecc4686 Make accessors return const_reference; add pointers to views
cc332853 cfp accessor documentation first pass
27aca9c3 Fix iterator ~3u bug
20d81aa2 Add full 64-bit support to compressed arrays
da4a71f2 Silence type conversion warnings
f7893523 Rewrite zfp codec to use zfp::cpp templates
80b7841a Add C++ wrappers around low-level C API
470a743d Add typename to please MSVC 14
6a7ee093 Change header API to rely on constructor
e30a70a7 Replace last occurrence of stream_word_bits
45c508d0 Plug memory leak in zfp::array::construct
9548b940 Plug memory leak in block store
abc6922e Clean up codec and use stream_alignment()
90009fd0 Add stream_alignment() function
4e6f0315 Fix using declarations for MSVC
a42b52d6 Work around googletest iterator bug
f6a8be00 Update compressed_data() API in cfp
bc55d5e7 Fix codec constructors
4d4001e8 Remove obsolete code
81e577dd Refactor array serialization
24270e88 Add Boolean type
229a37df Respect cache size request
6f0b78e4 Move codec specializations
6e7c12b5 Use std:: prefix in memory allocation where appropriate
878b329c Add type traits
3539cc84 Reinstate private views
4f2525c9 Fix incorrect cache size initialization
a688d9de Initialize array dimensions in constructor from view
efb78225 Move codec from BlockStore to BlockCache
086a156a Rename storage -> store
d8b099c9 Fix codec source file names
a7b5a6d5 Update tests to support new array API
d2ca8ae6 Add new block storage + cache and refactor arrays + views
ecd4fb49 Add specialized allocator for void*
3b12f7c0 Made zfp memory alignment a compile-time macro
91e702f7 Add missing cbegin/cend to 2D and 3D arrays
b98c864b Update 3D references, pointers, iterators, and views
a2a7a2cf Fix incorrect pointer2 comparisons
e8e1000c Update 2D references, pointers, iterators, and views
b05afe92 Fix inconsistent relational operators
47e4c7ce Replace 1D view_reference with new generic reference
90eff650 Traverse array using new const iterator
aacc4989 Refactor 1D references, pointers, iterators and add const versions
079c409f Fix Cython 'Assignment to non-lvalue' errors
2d787371 Remove trailing semicolons which Cython treats as errors
a1a876c9 Fix make install clobbering existing gtest installations
fc0ecac3 Optimized cfp references and arrays based on results of testing
c4029cf4 Added cfp iterator example
08adb27d Fix typo in CXXFLAGS
0202b0be Check for undefined __STDC_VERSION__ to suppress warnings
bc2fe6bf Add reversible mode to simple.c
1bb7955a Minor documentation changes
5254963d Added iterator tests
18f6b8ad Added proxy iterators
bbcded58 Fix AppVeyor badge URL
74e8a145 Fix bad URLs
e1b45152 Reorganize README file
a05e2e52 Update license info per LLNL guidelines
bcea8930 Update Appveyor project URL
05ef3411 Added tests for pointers and array flat ptr/ref
26be0ff9 Added pointer shifting/arithmetic and flat array ref/ptr accessors
c8969dfa changed references to linear indexing
4079af78 Implemented cfp pointers
5710f291 Removed unnecessary export_ macro.
ee7ecc23 Revert "Minor optimization of lifting transform."
92fca13d Minor optimization of lifting transform.
4cb27e2a Fixed linker errors.
aa626692 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.
b515bd11 Fixed linker error LNK1114 when using Visual Studio. The fix required a change of name of zfp command line executable.
2ab06b3d hotfix: Fix wrong memset params order
b1a4f8a0 set and copy added to cfp references, diffusion example updated to use new API
d62a7f9e added get_ref to cfp arrays and get (value) to cfp refs (with associated tests)
af30bdc2 Changed cfp_array initialization syntax to fix windows build issue
28decba3 cfp_arrayALL changed from raw pointer to struct wrapped pointer (prep for cfp refs)
e748a9c9 Clean up code
edf135f5 Add compressed block index
bcf97058 Add variable rate support
f80c5103 Add uncompressed block index
40ae50ce Return block size in codec
e9f4743c Initial pass for 3D arrays
40ef12b7 Merge branch 'develop' of github.com:LLNL/zfp into develop
814c1108 Add reversible mode to simple.c
6fe05a5d Minor documentation changes
fa79823c Merge branch 'misc/checksum-gen-tool' into develop
1c6144a9 updated cython for new checksum API
b82d9e83 TODO: update cython for new test utils APIs
1a32165e Update cpp and CFP tests to conform to new checksum API
e75a0b11 Extend zfpChecksumsLib API for original-input specific function (omits irrelevant parameters)
32b4637a Checksums now support tuples (key1, key2, value), where new key2 encodes array dimension lengths. Encode, decode, endtoend all updated
93b602ce Checksum (key, value) lookup working for encode, decode, and endtoend tests. zfpChecksumsLib updated to handle (key, value) lookup
9e8a000e Checksum generation working for encode, decode, endtoend tests, across {dimensionalities 1-4}x{all scalar types}
00b944b0 endtoend tests can print (key, value) = (descriptor, checksum) pairs when compiled with flag PRINT_CHECKSUMS
881d8418 Update links to zfp website
6da6eff2 updated cython for new checksum API
d85b6fa4 Remove redundant CUDA h2d transfers
3119f94d add short mention of third-party tools in overview
a8def9af adding a short note and link for h5z-zfp
068f8150 Merge pull request silx-kit#61 from maddyscientist/feature/cuda_encode_unroll
110a4945 Merge pull request silx-kit#67 from maddyscientist/feature/cuda_decode_unroll
4cfd5882 TODO: update cython for new test utils APIs
070e4e4b Update cpp and CFP tests to conform to new checksum API
cf8c779d Extend zfpChecksumsLib API for original-input specific function (omits irrelevant parameters)
bf577f52 Checksums now support tuples (key1, key2, value), where new key2 encodes array dimension lengths. Encode, decode, endtoend all updated
64ef0ea9 Checksum (key, value) lookup working for encode, decode, and endtoend tests. zfpChecksumsLib updated to handle (key, value) lookup
208c6bbf Checksum generation working for encode, decode, endtoend tests, across {dimensionalities 1-4}x{all scalar types}
680fbb94 endtoend tests can print (key, value) = (descriptor, checksum) pairs when compiled with flag PRINT_CHECKSUMS
034f37bd Fix missing CUDA test function from previous refactor commit
047da679 Merge branch 'refactor/combine-testcases' into develop
7b75e6ce Remove fatal fail_msg() calls from setupCompressParam() becuase it would terminate some looping tests early
ec777124 Minor test changes: print uint64 in hex format, add "ERROR: " prefix to nonfatal print statements
cb784f8f Refactor compress/decompress, and hash bitstream/array to separate functions for re-use in endtoend tests
7c751efa Combine endtoend testcases for CUDA, similarly to past 2 commits. Also perform some refactoring across endtoend testcode
a608eb9b 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).
32fa7e76 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
045ca9cb Refactor encode/decode block special value tests (10 testcases become 1)
a7e77cc1 Fix typos in CFP documentation
ede3bee7 Merge branch 'develop' into feature/cuda_decode_unroll
989e1aa6 Merge pull request #1 from LLNL/develop
b7dcdb01 Unroll optimization for CUDA encode scatter partial functions
ae26c99c Merge pull request silx-kit#65 from maddyscientist/feature/cuda_inline_constants
76112759 Let the compiler inline the permutation lookup table into registers rather than using __constant__ memory
4444fd30 Fix C++ undefined behavior with last commit.  All tests now pass.
bee1d74f Add support for unbiased errors and tighter error bounds
9cb007ff CUDA optimization: unrolling optimization gather_partial functions
f7632023 Fix RuntimeError using int64 in zfpy on Windows (Pull Request silx-kit#60)
d488a6f6 Appveyor: build zfpy on MSVC release builds with python 2.7 and 3.5 (expect zfpy failures on MSVC)
8f175692 Fix mixed declarations and code
c0a7acc4 Update contact email
5384b571 Merge branch 'release0.5.5' into develop

git-subtree-dir: src/zfp
git-subtree-split: f39af72648a2aeb88e9b2cca8c64f51b493ad5f4
  • Loading branch information
t20100 committed Oct 21, 2022
1 parent 19bef35 commit fc7d3b7
Show file tree
Hide file tree
Showing 270 changed files with 19,943 additions and 7,020 deletions.
107 changes: 107 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
name: build
on: push
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
cxx_compiler: g++-10
c_compiler: gcc-10
omp: ON
target: all

- os: ubuntu-latest
cxx_compiler: clang++
c_compiler: clang
omp: ON
target: all

#- os: windows-latest
# cxx_compiler: msbuild
# c_compiler: msbuild
# omp: ON
# target: ALL_BUILD

#- os: windows-latest
# cxx_compiler: x86_64-w64-mingw32-g++
# c_compiler: x86_64-w64-mingw32-gcc
# omp: ON
# target: all
# generator: '-G "MinGW Makefiles"'

- os: macos-latest
cxx_compiler: clang++
c_compiler: clang
omp: OFF
target: all

- os: macos-latest
cxx_compiler: g++-10
c_compiler: gcc-10
omp: ON
target: all
steps:
- uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
architecture: x64

- name: Install zfpy dependencies
run: |
python -m pip install cython
python -m pip install numpy
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
architecture: x64

- name: Install zfpy dependencies
run: |
python -m pip install cython
python -m pip install numpy
- name: Setup MSBuild (Windows)
id: msbuild
if: ${{matrix.os == 'windows-latest' && matrix.cxx_compiler == 'msbuild'}}
uses: microsoft/setup-msbuild@v1.0.3

#- name: Setup MinGW (Windows)
# id: mingw
# if: ${{matrix.os == 'windows-latest' && matrix.cxx_compiler == 'x86_64-w64-mingw32-g++'}}
# uses: egor-tensin/setup-mingw@v2

- name: CI Settings
id: settings
run: |
echo "os: ${{matrix.os}}"
echo "compilers:"
echo " cxx: ${{matrix.cxx_compiler}}"
echo " c: ${{matrix.c_compiler}}"
echo "OpenMP: ${{matrix.omp}}"
- name: Run CMake
id: cmake
run: cmake -B ${{github.workspace}}/build ${{matrix.generator}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_CXX_COMPILER=${{matrix.cxx_compiler}} -DCMAKE_C_COMPILER=${{matrix.c_compiler}} -DBUILD_TESTING=ON -DZFP_WITH_OPENMP=${{matrix.omp}} -DBUILD_ZFPY=ON -DPYTHON_INCLUDE_DIR=$(python -c "from distutils.sysconfig import get_python_inc; print(get_python_inc())") -DPYTHON_LIBRARY=$(python -c "import distutils.sysconfig as sysconfig; print(sysconfig.get_config_var('LIBDIR'))")

- name: Build
id: build
run: cmake --build ${{github.workspace}}/build --target ${{matrix.target}} --config ${{env.BUILD_TYPE}}

- name: Run Tests
id: test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}} -VV

# Interactive Debug -> see: https://github.com/mxschmitt/action-tmate
#- name: Setup Debug Session
# uses: mxschmitt/action-tmate@v3
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
bin
build
lib
dist
wheelhouse
zfpy.egg-info
modules
Loading

0 comments on commit fc7d3b7

Please sign in to comment.