Commit f6a457d
Grcuda 85 support cusparse (#25)
* initial commit, folder creation for cusparse
* added function to CUSPARSERegistry, missing: nfi functions' input settings
* nfi signatures completed, missing: Desc types mgmt
* final commit from my machine :(
* enum addition and casting
* completed enum revision
* added first test cusparseCoo
* added SpMV test, not working
* Removed useless function instantiations in CUSPARSERegistry. For the moment being we are exposing to the user the functions to create various matrix descripts as well as creating/destroying the handle. This needs to be changed
* Almost functioning version of testSpMV. The error that i'm getting now is related to the enums, but at least no more polyglot exceptions
* initial support for cusparse
* cleaned code, more tests added
* minor additions to tests
* minor fixes to context and options for enabling cusparse
* formatting and cleaning complete
* minor fixes to context options in cusparse tests
* changelog updated
* Removed unused imports
* Modified libcusparse.so.11 -> libcusparse.so
* updated copyright for new files
* added suport for async functions, implementation of non-exposed functions
* removed useless initialization
* added sparseSgemvi
* begun implementation of proxiesn [commit della svolta]
* added basic functions to proxyspmv, to be testes
* added proxy for Sgemvi
* Completed functions for SpMV and Sgemvi, context creation missing
* tests ready for proxies, not working (context issues)
* working on contexts
* context creation fails
* minor additions to sparse proxy
* createCoo now works
* proxies all right, non valid handle in buffersize function
* IT WORKS
* initial steps for tests implementation for Sgemvi and SpMV with CSR format
* working tests for coo and csr with spmv, sgemvi does not work (does not update the vector passed as input)
* minor fixes to tests
* finished testing sgemvi and spmv
* finished testing sgemvi and spmv
* added test for libraries integration
* minor fixes, all good, streams' functioning for libraries interoperability checked with profiler
* changelog updated
* tests
* Added breaks to switch statement
* partially working tests for TGemvi and SpMV
* Fixed spmv Tests for coo and csr, gemvi still needs to be fixed
* TGemvi now works with data types C and S
* added streams syncing to tests
* added syncing, sometimes (after mx clean) crs/coo do not work, tgemvi does not work with double types, despite syncing
* Removed double and double complex from tests
* GrCUDAOptions updated for cuSPARSE
* fixed context
* removed ternary expressions
* small cleanups; fixed tracking of array dependencies not working in cusparse
* updated changelog
Co-authored-by: Francesco Sgherzi <[email protected]>
Co-authored-by: Francesco Sgherzi <[email protected]>
Co-authored-by: Alberto Parravicini <[email protected]>1 parent fd93a0c commit f6a457d
File tree
19 files changed
+1621
-29
lines changed- projects
- com.nvidia.grcuda.test/src/com/nvidia/grcuda/test
- cudalibraries
- util
- com.nvidia.grcuda/src/com/nvidia/grcuda
- cudalibraries
- cublas
- cusparse
- cusparseproxy
- runtime
- computation
- stream
19 files changed
+1621
-29
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
1 | 11 | | |
2 | 12 | | |
3 | 13 | | |
| |||
22 | 32 | | |
23 | 33 | | |
24 | 34 | | |
| 35 | + | |
25 | 36 | | |
26 | 37 | | |
27 | 38 | | |
| |||
Submodule grcuda-data updated from 7904542 to b808126
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
| 43 | + | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
243 | 244 | | |
244 | 245 | | |
245 | 246 | | |
246 | | - | |
247 | | - | |
| 247 | + | |
| 248 | + | |
248 | 249 | | |
249 | 250 | | |
250 | 251 | | |
| |||
Lines changed: 507 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | | - | |
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
151 | 152 | | |
152 | 153 | | |
153 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
154 | 160 | | |
155 | 161 | | |
156 | 162 | | |
| |||
196 | 202 | | |
197 | 203 | | |
198 | 204 | | |
| 205 | + | |
199 | 206 | | |
200 | 207 | | |
201 | 208 | | |
| |||
215 | 222 | | |
216 | 223 | | |
217 | 224 | | |
218 | | - | |
| 225 | + | |
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
169 | 177 | | |
170 | 178 | | |
171 | 179 | | |
| |||
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | | - | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
59 | | - | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| |||
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
89 | 96 | | |
90 | 97 | | |
91 | 98 | | |
| 99 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
194 | 193 | | |
195 | 194 | | |
196 | 195 | | |
| |||
265 | 264 | | |
266 | 265 | | |
267 | 266 | | |
| 267 | + | |
268 | 268 | | |
0 commit comments