Comments (3)
Commenting out extras bench like OpenBLAS and compiling with nim cpp -r -d:useSysAssert -d:useGcAssert --stacktrace:on -d:release -o:build/gemm_f32_omp benchmarks/gemm/gemm_bench_float32.nim
we get [SYSASSERT] dealloc: object header corrupted
(e898f02)
or [SYSASSERT] result wrong pointer!
(current master c4ac93d) depending on the commit we are on.
from laser.
It can be reproduced with full debug:
A matrix shape: (M: 1920, N: 1920)
B matrix shape: (M: 1920, N: 1920)
Output shape: (M: 1920, N: 1920)
Required number of operations: 14155.776 millions
Required bytes: 29.491 MB
Arithmetic intensity: 480.000 FLOP/byte
Theoretical peak single-core: 224.000 GFLOP/s
Theoretical peak multi: 4032.000 GFLOP/s
Make sure to not bench Apple Accelerate or the default Linux BLAS.
15052863
3932223
15052863
3932223
15052863
3932223
15052863
3932223
Traceback (most recent call last)
gemm_bench_float32.nim(346) gemm_bench_float32
gemm_bench_float32.nim(181) benchLaserGEMM
gemm.nim(215) gemm_strided
gemm_tiling.nim(341) newTiles
alloc.nim(929) alloc
alloc.nim(795) rawAlloc
alloc.nim(596) getBigChunk
alloc.nim(211) removeChunkFromMatrix2
SIGSEGV: Illegal storage access. (Attempt to read from nil?
The crash is in the second allocShare at the start of the 6th benchmark iteration
from laser.
Fixed in #28, the newTiles proc wasn't getting mc, nc and kc from partitionMNK in the correct order
from laser.
Related Issues (20)
- Exponential: Dual Xeon Gold 6154 result HOT 3
- Create a benchmark script
- Transpose does not scale well with multithread
- Devel regression "object constructor needs an object type" HOT 1
- Fast image loading primitives
- Fused assignation shortcut
- [GEMM] Enhance serial implementation HOT 1
- gemm_strided: error: always_inline function '_mm256_setzero_pd' requires target feature 'xsave' HOT 1
- performance of gemm_strided vs numpy HOT 1
- System Profile Dual Xeon Gold 6154
- NUMA-aware memory allocation and computation
- [Lux] Multithreading for JIT code
- [GEMM] Significant performance regression (divided by 5) HOT 2
- [Gemm] Nim devel compiler gets stuck when compiling older commits HOT 1
- parallel reduction HOT 6
- [Showstopper regression] emit does not generate proper symbol HOT 1
- [Benchmarks] Cleanup fp_reduction_latency benchmarks
- Mysterious 2x perf regression on GEMM HOT 2
- performance of avx512 bit ops and popcounts HOT 4
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 laser.