- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi inteler:
It appear weird log info while compile AOCX on quartus prime pro 19.1 for arria10 board
environment:
OS:centOS7.5
environment: Quartus prime pro 19.1.240
board: A10gx
when the Batchsize=8, it's OK, no problem, while batchsize=32(DSP utilization about 64%) or 47(DSP utilization about 99%), other logic element is below 50%, it shows the following info, Anybody can help me , or give me suggestion ??
Thanks in advance!
Compiler Command: aoc -v -board=a10gx -l ./bin/dot_product_efi.aoclib -I /home/iot/work_example/work2/meiyang/dotProduct/inc ./device/sim.cl -o ./bin/sim.aocx -report
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Stack dump:
0. Program arguments: /home/iot/intelFPGA_pro/19.1/hld/linux64/bin/../../llvm/bin/aocl-opt -march=fpga -O3 -board /home/iot/intelFPGA_pro/19.1/hld/board/a10_ref/hardware/a10gx/board_spec.xml -libfile /home/iot/work_example/work2/meiyang/int8_bs/bin/dot_product_efi.aoclib -dbg-info-enabled --soft-elementary-math=false -pass-remarks-output=pass-remarks.yaml sim.fpga.bc -o sim.kwgid.bc
1. Running pass 'Function Pass Manager' on module 'sim.fpga.bc'.
2. Running pass 'Mark the decision for loop pipelining' on function '@sim'
/home/iot/intelFPGA_pro/19.1/hld/llvm/bin/../lib/libLLVM-8svn.so(_ZN4llvm3sys15PrintStackTraceERNS_11raw_ostreamE+0x2a)[0x7f8087d3c1da]
/home/iot/intelFPGA_pro/19.1/hld/llvm/bin/../lib/libLLVM-8svn.so(_ZN4llvm3sys17RunSignalHandlersEv+0x4c)[0x7f8087d3a17c]
/home/iot/intelFPGA_pro/19.1/hld/llvm/bin/../lib/libLLVM-8svn.so(+0xc1c2cc)[0x7f8087d3a2cc]
/lib64/libpthread.so.0(+0xf6d0)[0x7f8086f116d0]
/lib64/libc.so.6(gsignal+0x37)[0x7f808586b277]
/lib64/libc.so.6(abort+0x148)[0x7f808586c968]
/home/iot/intelFPGA_pro/19.1/hld/llvm/bin/../lib/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x15d)[0x7f80861ab40d]
/home/iot/intelFPGA_pro/19.1/hld/llvm/bin/../lib/libstdc++.so.6(+0x8f3e6)[0x7f80861a93e6]
/home/iot/intelFPGA_pro/19.1/hld/llvm/bin/../lib/libstdc++.so.6(+0x8f431)[0x7f80861a9431]
/home/iot/intelFPGA_pro/19.1/hld/llvm/bin/../lib/libstdc++.so.6(+0x8f648)[0x7f80861a9648]
/home/iot/intelFPGA_pro/19.1/hld/llvm/bin/../lib/libstdc++.so.6(+0x8fb5c)[0x7f80861a9b5c]
/home/iot/intelFPGA_pro/19.1/hld/llvm/bin/../lib/libLLVM-8svn.so(+0x25380fb)[0x7f80896560fb]
/home/iot/intelFPGA_pro/19.1/hld/llvm/bin/../lib/libLLVM-8svn.so(+0x253832a)[0x7f808965632a]
/home/iot/intelFPGA_pro/19.1/hld/llvm/bin/../lib/libLLVM-8svn.so(_ZN3acl6MemDep35LoopCarriedMemoryDependenceAnalysis13getDependenceEPN4llvm11InstructionES4_b+0x678)[0x7f808965a6f8]
/home/iot/intelFPGA_pro/19.1/hld/llvm/bin/../lib/libLLVM-8svn.so(_ZN3acl6MemDep35LoopCarriedMemoryDependenceAnalysis14getDependencesEPN4llvm11InstructionERNS2_11SmallPtrSetIS4_Lj2EEEb+0x27e)[0x7f808965d69e]
/home/iot/intelFPGA_pro/19.1/hld/llvm/bin/../lib/libLLVM-8svn.so(_ZN3acl17ArrayPrivAnalysis14isPrivatizableEjPSt6vectorIPN4llvm11InstructionESaIS4_EEPKNS2_4LoopE+0x114)[0x7f8089684a14]
/home/iot/intelFPGA_pro/19.1/hld/llvm/bin/../lib/libLLVM-8svn.so(_ZN3acl17ArrayPrivAnalysis24findAllPrivatizableLoopsEv+0x401)[0x7f808968a201]
/home/iot/intelFPGA_pro/19.1/hld/llvm/bin/../lib/libLLVM-8svn.so(_ZN3acl20LoopPipelineAnalysis19runPipelineAnalysisEPNS_17ArrayPrivAnalysisEPNS_37LoopCarriedDepsBeforePipelineAnalysisEPNS_14LocalMemConfigE+0x36)[0x7f8089799c06]
/home/iot/intelFPGA_pro/19.1/hld/llvm/bin/../lib/libLLVM-8svn.so(+0x20b6330)[0x7f80891d4330]
/home/iot/intelFPGA_pro/19.1/hld/llvm/bin/../lib/libLLVM-8svn.so(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0x35e)[0x7f8087e7326e]
/home/iot/intelFPGA_pro/19.1/hld/llvm/bin/../lib/libLLVM-8svn.so(_ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE+0x44)[0x7f8087e73424]
/home/iot/intelFPGA_pro/19.1/hld/llvm/bin/../lib/libLLVM-8svn.so(_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE+0x3bc)[0x7f8087e741ec]
/home/iot/intelFPGA_pro/19.1/hld/linux64/bin/../../llvm/bin/aocl-opt(main+0x26c5)[0x558b03947b15]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f8085857445]
/home/iot/intelFPGA_pro/19.1/hld/linux64/bin/../../llvm/bin/aocl-opt(+0x2a6bd)[0x558b039486bd]
~
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Based on the "std::bad_alloc" error it looks like the compiler is running out of memory, possibly due to insufficient amount of memory installed on your compilation machine. If you have enough memory on the machine (32+ GB), this oculd then be a sign of some memory leak in the compiler that eventually fills the memory and crashes.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page