1
Fork 0
mirror of https://github.com/Steffo99/unimore-hpc-assignments.git synced 2024-11-23 00:24:23 +00:00
Commit graph

115 commits

Author SHA1 Message Date
Stefano Pigozzi
f919c9f9ce Massive commit with undocumented changes
it's not like anybody but me reads the `git log` anyways

or does someone? in that case, hello, whoever you are! 👋
2022-11-30 23:43:32 +01:00
Stefano Pigozzi
40affe04f5 Clean up some things idk 2022-11-30 15:09:26 +01:00
Stefano Pigozzi
165bf67262 VSCode prefers to use c11 2022-11-30 14:57:56 +01:00
Stefano Pigozzi
9cd14872dd Finally understand how ATAX works
And realize it might be wrong?
2022-11-30 01:32:15 +01:00
Stefano Pigozzi
c44241a15d Use +=, since it exists 2022-11-30 01:19:00 +01:00
Stefano Pigozzi
1568ab6525 Fix atax runConfig cwd 2022-11-30 01:09:52 +01:00
Stefano Pigozzi
cbb2991e69 Recommend vscode extensions 2022-11-30 01:06:55 +01:00
Stefano Pigozzi
b88054dd34 Add makefile tools 2022-11-30 01:03:10 +01:00
Stefano Pigozzi
242f017991 Create atax launch config 2022-11-30 01:03:04 +01:00
Stefano Pigozzi
9467c1bb3d Add all make target 2022-11-30 01:01:49 +01:00
b526108132
Gate CUDA usage behind the POLYBENCH_USE_CUDA flag 2022-11-29 17:47:34 +01:00
f7cbdba3a2
Move y array initialization into init_array 2022-11-29 17:36:19 +01:00
826c3112f8
Left-align argv asterisks 2022-11-29 17:33:56 +01:00
60078f8129
Add missing array initializer 2022-11-29 17:32:09 +01:00
ff5ffc7cba
Fix comment of array locality 2022-11-29 17:31:39 +01:00
2b97507229
More variable name improvements 2022-11-29 17:29:17 +01:00
c96a67bcf7
Again, use better variable names 2022-11-29 17:28:17 +01:00
ba45dfd61c
Make a loop index unsigned (I forgot) 2022-11-29 17:26:36 +01:00
c990113d41
Change comment indentation 2022-11-29 17:26:09 +01:00
ee33d3861b
Use unsigned int as indexes to make overflows harder 2022-11-29 17:24:48 +01:00
029010045c
Add comments with the array's contents 2022-11-29 17:22:26 +01:00
b0616869c1
Remove excess newlines 2022-11-29 17:13:45 +01:00
0e8be6b578
Remove trailing spaces 2022-11-29 17:11:41 +01:00
ee4e5986d1
Format document 2022-11-29 17:10:36 +01:00
cddb08e848
Remove trailing tab 2022-11-29 17:08:34 +01:00
Caterina Gazzotti
a0ebdd9569 Add elf executale to gitignore 2022-11-29 08:24:23 -05:00
Caterina Gazzotti
727ee0bff3 Fix segfault for matrix A 2022-11-29 08:23:24 -05:00
Caterina Gazzotti
7cffa2496e Configure the right CUDA path 2022-11-29 08:22:51 -05:00
Caterina Gazzotti
c506f221ee Remove unused nx and ny 2022-11-29 07:13:15 -05:00
Caterina Gazzotti
819dde6578 Configure VSC for the Jetson Nano
Co-authored-by: Stefano Pigozzi <me@steffo.eu>
2022-11-29 07:11:56 -05:00
74ebd6eb47
Start cleaning up polybench code 2022-11-29 11:27:51 +01:00
ff36abefcd
Update README.md 2022-11-28 17:08:26 +01:00
72d867c287
Remove .clang-format 2022-11-28 17:02:20 +01:00
9972695a9f
Remove unused files 2022-11-28 17:02:03 +01:00
2bcfb17f7d
Inline i in print_array 2022-11-28 16:59:10 +01:00
4435d8325f
Fix y being allocated with the wrong size 2022-11-28 16:54:34 +01:00
bda70940f8
Re-add clean target to the makefile 2022-11-28 16:26:14 +01:00
32850e8131
Significantly simplify the makefile 2022-11-28 16:22:38 +01:00
da121a4cdc
Move polybench inside the main directory
To simplify the build chain
2022-11-28 16:21:51 +01:00
c812d85783
Configure VSC environment to use nvcc 2022-11-28 16:21:05 +01:00
f979f9332b
Remove trailing space 2022-11-28 16:11:00 +01:00
682d161b16
Remove -Wall and -Wextra
They do not exist in nvcc
2022-11-28 16:10:47 +01:00
44cfb43dac
Indent polybench_start_instruments in atax.cu 2022-11-28 15:48:27 +01:00
0eb45d1249
Tell VSC that .hu files are CUDA C++ 2022-11-28 15:48:06 +01:00
6c97ed5107
Reformat atax.hu 2022-11-28 15:47:41 +01:00
518040a414
Allow including or excluding init_array via the POLYBENCH_INCLUDE_INIT macro 2022-11-28 15:44:40 +01:00
bf873d846c
Cleanup and format a lot of the atax.cu file 2022-11-28 15:43:05 +01:00
2f476affee
Exclude again init_array from the benchmark 2022-11-28 15:26:52 +01:00
f4a903371a
Run format document to indent code using tabs 2022-11-28 15:26:10 +01:00
f0394d1b3b
Indent M_PI definition 2022-11-28 15:23:27 +01:00