Initial commit: Matrix alignment prototype for HPC performance demonstration

- Add C implementation demonstrating memory alignment effects (matrix_alignment_prototype.c)
- Include cache-blocked matrix multiplication with AVX SIMD optimizations
- Add automated benchmarking framework (run_all_tests.sh, run_benchmark_sizes.sh)
- Add Python visualization scripts (generate_plots.py)
- Include Makefile for building with AVX support
- Add benchmark results and generated plots
- Add README with build and usage instructions
- Configure .gitignore for C/Python project files
This commit is contained in:
Carlos Gutierrez
2025-12-06 21:47:42 -05:00
commit ae258223ca
20 changed files with 1397 additions and 0 deletions

5
benchmark_results.csv Normal file
View File

@@ -0,0 +1,5 @@
Matrix_Size,Aligned_Time,Misaligned_Time,Speedup
512,0.055258,0.051908,0.9394
1024,0.612585,0.618515,1.0097
1500,1.211850,1.221345,1.0078
2048,6.254898,6.290108,1.0056
1 Matrix_Size Aligned_Time Misaligned_Time Speedup
2 512 0.055258 0.051908 0.9394
3 1024 0.612585 0.618515 1.0097
4 1500 1.211850 1.221345 1.0078
5 2048 6.254898 6.290108 1.0056