buddy-compiler / buddy-benchmark

Benchmark Framework for Buddy Projects
Apache License 2.0
43 stars 32 forks source link

Segmentation fault (core dumped) #109

Open RiRi114 opened 8 months ago

RiRi114 commented 8 months ago

When I run the MobileNet benchmark,i get a error:

The command is: $ cd <path to build>/bin && ./mobilenet-benchmark

The output is:

2023-10-27T07:57:01+00:00
Running ./mobilenet-benchmark
Run on (112 X 4000 MHz CPU s)
CPU Caches:
  L1 Data 32 KiB (x56)
  L1 Instruction 32 KiB (x56)
  L2 Unified 1024 KiB (x56)
  L3 Unified 39424 KiB (x2)
Load Average: 10.59, 9.15, 12.56
***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead.
Segmentation fault (core dumped)

The error is: Segmentation fault (core dumped)

effrey-liu commented 1 month ago

Maybe it's because of avx512f architecture, which is default target architecture. But after Intel 12th gen CPU, it disabled avx512f ISA. You can change it to avx2 ISA. you can check AVX ISA Compatibility issue #123