Skip to content

Instantly share code, notes, and snippets.

View Catoverflow's full-sized avatar
:octocat:
Meowing around

Catoverflow Catoverflow

:octocat:
Meowing around
View GitHub Profile
@Catoverflow
Catoverflow / Matrix_AVX_benchmark.cpp
Last active August 20, 2022 11:59
Accearlate matrix multiplication by AVX and tiling
/*
* Credit: AVX part refered to https://chryswoods.com/vector_c++/immintrin.html
* and https://gist.github.com/rygorous/4172889
* Documents at https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html
*/
#include <immintrin.h>
#include <iostream>
#include <stdlib.h>
#include <string.h> //memcmp
#include <time.h>