Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
Microbenchmarks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mattia Mancini
Microbenchmarks
Merge requests
!9
Add precompiled assembly
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add precompiled assembly
add_precompiled_assemply
into
main
Overview
9
Commits
16
Pipelines
8
Changes
11
All threads resolved!
Hide all comments
Merged
Mattia Mancini
requested to merge
add_precompiled_assemply
into
main
7 months ago
Overview
9
Commits
16
Pipelines
8
Changes
11
All threads resolved!
Hide all comments
Expand
0
0
Merge request reports
Compare
main
version 7
3779b7f6
7 months ago
version 6
45e687ae
7 months ago
version 5
533fe1b1
7 months ago
version 4
3ce69e7d
7 months ago
version 3
47588438
7 months ago
version 2
95f60e28
7 months ago
version 1
04e0417f
7 months ago
main (base)
and
latest version
latest version
c40deeab
16 commits,
7 months ago
version 7
3779b7f6
15 commits,
7 months ago
version 6
45e687ae
14 commits,
7 months ago
version 5
533fe1b1
13 commits,
7 months ago
version 4
3ce69e7d
12 commits,
7 months ago
version 3
47588438
4 commits,
7 months ago
version 2
95f60e28
3 commits,
7 months ago
version 1
04e0417f
2 commits,
7 months ago
11 files
+
228
−
89
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
11
Search (e.g. *.vue) (Ctrl+P)
benchmarks/matrix_multiplication.cpp
+
21
−
1
Options
@@ -49,7 +49,27 @@ BENCHMARK_F(InitializeInput, MatrixMultiplicationAOAvx)
}
}
#ifdef AVX_AVAILABLE
#if defined(__AVX__)
// Using direct avx implementation
BENCHMARK_F
(
InitializeInput
,
MatrixMultiplicationAvx
)
(
benchmark
::
State
&
state
)
{
for
(
auto
_
:
state
)
{
matrixMultiplyAVX
(
A
,
B
,
C
);
}
}
#endif
#if defined(__AVX__) && defined(__FMA__)
// Using direct avx+fma implementation
BENCHMARK_F
(
InitializeInput
,
MatrixMultiplicationAvxFma
)
(
benchmark
::
State
&
state
)
{
for
(
auto
_
:
state
)
{
matrixMultiplyAVXFMA
(
A
,
B
,
C
);
}
}
#endif
#if defined(__AVX2__)
// Using direct avx2 implementation
BENCHMARK_F
(
InitializeInput
,
MatrixMultiplicationAvx2
)
(
benchmark
::
State
&
state
)
{
Loading