Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Reinis Cirpons <[email protected]> reiniscirpons <[email protected]>
Reinis Cirpons <[email protected]> Reinis Cirpons <[email protected]>
Joe Edwards <[email protected]> Joe Edwards <[email protected]>
Florent Hivert <[email protected]> Florent Hivert <[email protected]>
Florent Hivert <[email protected]> Florent Hivert <[email protected]>
Florent Hivert <[email protected]> Florent Hivert <[email protected]>
Reinis Cirpons <[email protected]> reiniscirpons <[email protected]>
Reinis Cirpons <[email protected]> Reinis Cirpons <[email protected]>
James Mitchell <[email protected]> James Mitchell <[email protected]>
James Mitchell <[email protected]> James Mitchell <[email protected]>
Jean-Baptiste Rouquier <[email protected]> jrouquie <[email protected]>
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ set(DESCRIPTION "High Performance Combinatorics in C++ using vector instruction
CACHE STRING "Project description.")
set(VERSION_MAJOR 1 CACHE STRING "Project major version number.")
set(VERSION_MINOR 0 CACHE STRING "Project minor version number.")
set(VERSION_PATCH 1 CACHE STRING "Project patch version number.")
set(VERSION_PATCH 2 CACHE STRING "Project patch version number.")
mark_as_advanced(VERSION_MAJOR VERSION_MINOR VERSION_PATCH)

message(STATUS "**** Build type = ${CMAKE_BUILD_TYPE}")
Expand Down
2 changes: 1 addition & 1 deletion CPPLINT.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
set noparent
filter=-build/c++14,-build/include_subdir,-runtime/indentation_namespace,-runtime/references,-build/include,-readability/todo,-runtime/printf
filter=-build/c++14,-build/include_subdir,-whitespace/indent_namespace,-runtime/references,-build/include,-readability/todo,-runtime/printf
linelength=80
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# HPCombi
High Performance Combinatorics in C++ using vector instructions v1.0.1
High Performance Combinatorics in C++ using vector instructions v1.0.2

HPCombi is a C++17 header-only library using the SSE and AVX instruction sets,
and some equivalents, for very fast manipulation of small combinatorial objects
such as transformations, permutations, and boolean matrices. HPCombi implements
new algorithms and benchmarks them on various compilers and architectures.

HPCombi was initially designed using the SSE and AVX instruction sets, and did
not work on machines without these instructions (such as ARM). From v1.0.1
not work on machines without these instructions (such as ARM). From v1
HPCombi supports processors with other instruction sets also, via
[SIMD Everywhere][]. It might be the case that the greatest performance gains
are achieved on processors supporting the SSE and AVX instruction sets, but the
Expand All @@ -23,6 +23,8 @@ other processors too.
## Contributors

- Reinis Cirpons <[email protected]> : CI
- Jean-Baptiste Rouquier <[email protected]> : improvements to the doc
- Joe Edwards <[email protected]> : improvements to the CI
- Finn Smith <[email protected]> : discussions + BMat8 reference code
- Viviane Pons <[email protected]> : algorithms discussions
- Daniel Vanzo <[email protected]> : GPU experiments
Expand Down
6 changes: 4 additions & 2 deletions include/hpcombi/perm16.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ template <> struct hash<HPCombi::PTransf16> {
template <> struct hash<HPCombi::Transf16> {
//! A hash operator for #HPCombi::Transf16
size_t operator()(const HPCombi::Transf16 &ar) const {
return uint64_t(ar);
return static_cast<uint64_t>(ar);
}
};

Expand All @@ -525,7 +525,9 @@ template <> struct hash<HPCombi::PPerm16> {
//! HPCombi::Perm16.
template <> struct hash<HPCombi::Perm16> {
//! A hash operator for #HPCombi::Perm16
size_t operator()(const HPCombi::Perm16 &ar) const { return uint64_t(ar); }
size_t operator()(const HPCombi::Perm16 &ar) const {
return static_cast<uint64_t>(ar);
}
};

} // namespace std
Expand Down