Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
Meowing

Catoverflow Catoverflow

:octocat:
Meowing
View GitHub Profile
@Catoverflow
Catoverflow / Matrix_AVX_benchmark.cpp
Last active Aug 20, 2022
Accearlate matrix multiplication by AVX and tiling
View Matrix_AVX_benchmark.cpp
/*
* 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>