Commit 4081c37
committed
# This is a combination of 75 commits.
# This is the 1st commit message:
Issue #303: framework for reference_dense added
This commit comes from a split of the original commit whose details are as follows:
SHA1 ID: a7c1db0
Author: Albert-Jan Yzelman <yzelman@linux.fritz.box> 2022-01-14 15:52:26
Committer: Albert-Jan Yzelman <yzelman@linux.fritz.box> 2022-01-30 13:48:35
The reason for splitting is to separate the changes irrelevant to the branch 303 into a separate branch.
The split produced 3 separate commits.
This commit is number 1.
This commit in particular is relevant to 303 and will remain in it.
# This is the commit message #2:
Issue #303: unify script argument similar to --no-reference
# This is the commit message #3:
Issue #303: complete implementation of Vector< reference_dense >, modulo output iteration.
# This is the commit message #4:
Issue #303: modified vector implementation according to option 3 in handling dense container construction.
# This is the commit message #5:
Issue #303: vectors now have an iterator for the user to extract data from.
# This is the commit message #6:
Issue #303, fixed silly oops: the difference between two iterators should be an integer
# This is the commit message #7:
Issue #303: containers are now uninitialized on construction. Iteration over uninitialized containers returns nothing.
# This is the commit message #8:
Issue #303: configure and cmake now properly do make install with reference_dense
# This is the commit message #9:
Issue #303: cmake infra has updated-- make dense_reference additions compatible to it
# This is the commit message #10:
Drafting structured matrix interface using reference_dense backend
# This is the commit message #11:
Issue #303: Copy test mxm.cpp to dense_mxm.cpp as a starting point
# This is the commit message #12:
Issue #303: Add partial first version of Matrix interface for denseref
# This is the commit message #13:
Issue #303: WIP: dense mxm test
# This is the commit message #14:
Issue #303: Add dense mxm test to CMakeLists
# This is the commit message #15:
Issue #303: Separate reference and reference_dense includes
# This is the commit message #16:
Issue #303: Fix grb include name mismatch
# This is the commit message #17:
Issue #303: Add src files for reference dense backend
# This is the commit message #18:
Issue #303: Add project related option for dense backend
# This is the commit message #19:
Issue #303: Remove dense_reference-related code from reference cmake
# This is the commit message #20:
Keeping a clean separate denseref backend when building with cmake.
# This is the commit message #21:
Fix cmake option name
# This is the commit message #22:
Use a proper data container for a denseref matrix
# This is the commit message #23:
Change PRIVATE to INTERFACE for denseref backend
# This is the commit message #24:
fix cmake config for building backend
# This is the commit message #25:
Add friend functions for accessing matrix dimensions and raw data
# This is the commit message #26:
Add first version of blas3 mxm for reference dense backend
# This is the commit message #27:
Add temporary code for matrix data initialization
# This is the commit message #28:
Complete first working dense mxm unit test
# This is the commit message #29:
Added structured matrix test including draft static views and references
# This is the commit message #30:
Convert spaces to tabs
# This is the commit message #31:
Make use of operators and monoid provided to mxm
# This is the commit message #32:
Add friend getter/setter for field 'initialized' of denseref matrix
# This is the commit message #33:
Revert "Add temporary code for matrix data initialization"
This reverts commit 676cb4d.
# This is the commit message #34:
Add temporary way for allocating data of a denseref matrix
# This is the commit message #35:
Add functions to initialize matrix data from provided forward iterator
# This is the commit message #36:
Make getters const
# This is the commit message #37:
Exploit new features in mxm unit test
New features are building a matrix from an iterator and handling of
uninitialized matrices.
# This is the commit message #38:
added get/remove_ref type traits for StructuredMatrix types
# This is the commit message #39:
Temporary switch to pointers to target matrices to enable empty init.
# This is the commit message #40:
First draft of index mapping functions
# This is the commit message #41:
Cleaned up StructuredMatrix-related doxygen drafts
# This is the commit message #42:
Added to the spec draft
# This is the commit message #43:
Add alloc primitives for denseref
Currently they are a copy of the same primitives for reference backend.
Think whether it makes sense to group the alloc functions for these two
backends.
# This is the commit message #44:
Handle memory allocation failure. Implement destructor.
# This is the commit message #45:
WIP: Add data size calculator depending on Storage scheme and structure.
Also add a simple test to showcase the usage of this feature.
# This is the commit message #46:
Add buildMatrix for general full StructuredMatrix
# This is the commit message #47:
Add a check for size mismatch in buildMatrix
# This is the commit message #48:
Add mxm for dense Structured Matrices
# This is the commit message #49:
Introducing grb::get_view<> draft
# This is the commit message #50:
Add UpperTriangular StructuredMatrix (container and view)
# This is the commit message #51:
Implement polymorphic comparison of IMFs
# This is the commit message #52:
Add to structures a compatibility check from source structure and IMF functions
This is to be used when creating a view over a source matrix using
provided IMF functions. The compatibility of TargetStructure depends on
the SourceStructure and provided IMF functions. This is a runtime check.
# This is the commit message #53:
Add constructor taking two IMFs to reference SM with general structure
# This is the commit message #54:
Implement gather through view with provided TargetStructure and IMFs
# This is the commit message #55:
Add test for gathers on StructuredMatrix using views with IMFs
# This is the commit message #56:
Basic VectorView definition based on grb::vector container
# This is the commit message #57:
Draft of diagonal (vector) view of a matrix
# This is the commit message #58:
Initial get_view for VectorViews
# This is the commit message #59:
Add a stub for Storage Mapping Functions
# This is the commit message #60:
Define interface for dense StructuredMatrices and scalars
# This is the commit message #61:
Add test showcasing eWiseApply operations on Structured Matrices
# This is the commit message #62:
Minor changes for dense reference vector
# This is the commit message #63:
Add outer product of two vectors for reference_dense backend
# This is the commit message #64:
Expand the gather via IMF to general view of general Storage Matrix
# This is the commit message #65:
Add more Structures for StructuredMatrix
# This is the commit message #66:
Add dot product and norm2 in blas1 for dense reference backend
Also add a stub for a test showcasing their use
# This is the commit message #67:
WIP Constant matrix factory methods
# This is the commit message #68:
WIP Base classes for StructuredMatrix
# This is the commit message #69:
WIP Refactor StructuredMatrix using inheritance from Base classes
# This is the commit message #70:
Implement friend functions through base classes
This avoids the need to declare friend functions inside every
StructuredMatrix specialization.
# This is the commit message #71:
Add getter and setter for initialized field in StructuredMatrix
# This is the commit message #72:
Revert "WIP Constant matrix factory methods"
This reverts commit 742fe9f.
# This is the commit message #73:
Add interface for creating constant matrices
This includes Identity matrix, Zero matrix and Givens rotations
# This is the commit message #74:
Add test showcasing the use of Identity and Zero matrices
# This is the commit message #75:
Revert "WIP: Add data size calculator depending on Storage scheme and structure."
This reverts commit 1f7b6c4.1 parent 220f594 commit 4081c37
File tree
19 files changed
+1736
-383
lines changed- include/graphblas
- base
- denseref
- tests/unit
19 files changed
+1736
-383
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
948 | 948 | | |
949 | 949 | | |
950 | 950 | | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
951 | 954 | | |
952 | 955 | | |
953 | 956 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
26 | 30 | | |
27 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
28 | 275 | | |
29 | 276 | | |
30 | 277 | | |
| |||
0 commit comments