Comments (1)
The optimization in this guide was done on Intel Nehalem/Westmere architecture when this guide was developed at around 2008~2010. Back then the Intel/GNU compiler was not that advanced. Now the compiler can lift some variables in registers automatically. I would suggest adding "-O0" compiler flag in your code to observe the performance difference. The key point for this step is to understand that keeping the variables in the registers can help reach high performance.
from how-to-optimize-gemm.
Related Issues (17)
- Wiki - Broken link HOT 1
- About Optimization_1x4_5 benefit
- Document error in Optimization_4x4_10 HOT 4
- 作者 MMult_4x4_11的代码中编译错误
- how to calculate the mc and mk in MMult_4x4_11.c
- gcc bad codegen with union
- Why are i and j flipped? HOT 3
- Won't compile under MINGW64 - drand48 is not partof stdlib
- Inner unloop leads to wrong results HOT 2
- Why the LDA/B/C all set 1000 in the parameter.h?
- Missing semicolon in MMult_1x4_3.c on Wiki
- When I unroll kernel function and use indirect address(1x4_10 or 1x4_9), Segment error (core dump) HOT 2
- how do you calculate the gflops ? HOT 1
- if the matrix's width and height %4 is not zero ,how to optimize it ? HOT 4
- MMult_4x4_12.c (segmentation fault) HOT 1
- Markup HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from how-to-optimize-gemm.