Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warn: No functional unit for OpClass VectorArith1Src & etc. #6

Open
yuxuan-z19 opened this issue Jan 7, 2022 · 0 comments
Open

warn: No functional unit for OpClass VectorArith1Src & etc. #6

yuxuan-z19 opened this issue Jan 7, 2022 · 0 comments

Comments

@yuxuan-z19
Copy link

yuxuan-z19 commented Jan 7, 2022

OS WSL2 Ubuntu-20.04
Branch used develop
Python Python2.7.18

Good day. My friends and I met these warnings while testing the blackscholes benchmark. The warnings said that some of the vector ops aren't available

warn: CheckedInt already exists in allParams. This may be caused by the Python 2.7 compatibility layer.
warn: Enum already exists in allParams. This may be caused by the Python 2.7 compatibility layer.
warn: ScopedEnum already exists in allParams. This may be caused by the Python 2.7 compatibility layer.
gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 version [DEVELOP-FOR-V20.1]
gem5 compiled Jan  6 2022 17:53:18
gem5 started Jan  7 2022 10:01:00
gem5 executing on DESKTOP-9F2JKA5, pid 1176
command line: /mnt/d/AC/gem5/build/RISCV/gem5.opt /mnt/d/AC/gem5/configs/example/riscv_vector_engine.py '--cmd=/mnt/d/AC/gem5/riscv-vectorized-benchmark-suite/_jacobi-2d/bin/jacobi-2d_vector.exe 1 /mnt/d/AC/gem5/riscv-vectorized-benchmark-suite/_jacobi-2d/input/in_256.input output_vector.txt'

Global frequency set at 1000000000000 ticks per second
warn: DRAM device capacity (32768 Mbytes) does not match the address range assigned (2048 Mbytes)
warn: Unknown operating system; assuming Linux.
warn: No functional unit for OpClass VectorArith1Src
warn: No functional unit for OpClass VectorArith2Src
warn: No functional unit for OpClass VectorArith3Src
warn: No functional unit for OpClass VectorMaskLogical
warn: No functional unit for OpClass VectorReduction
warn: No functional unit for OpClass VectorConvertIntToFP
warn: No functional unit for OpClass VectorConvertFPToInt
warn: No functional unit for OpClass VectorWConvertFPToInt
warn: No functional unit for OpClass VectorWConvertIntToFP
warn: No functional unit for OpClass VectorWConvertFPToFP
warn: No functional unit for OpClass VectorNConvertFPToInt
warn: No functional unit for OpClass VectorNConvertIntToFP
warn: No functional unit for OpClass VectorNConvertFPToFP
warn: No functional unit for OpClass VectorFPCompare
warn: No functional unit for OpClass VectorIntCompare
warn: No functional unit for OpClass VectorSlideUp
warn: No functional unit for OpClass VectorSlideDown
warn: No functional unit for OpClass VectorToScalar
warn: No functional unit for OpClass VectorMemoryLoad
warn: No functional unit for OpClass VectorMemoryStore
warn: No functional unit for OpClass VectorConfig
0: system.remote_gdb: listening for remote gdb on port 7000

We analyzed the stats.txt, and somehow it showed us these OpClass are used:

system.cpu.op_class_0::VectorArith1Src           1600      0.01%     98.47% # Class of committed instruction
system.cpu.op_class_0::VectorArith2Src         227200      0.96%     99.43% # Class of committed instruction
system.cpu.op_class_0::VectorArith3Src          62400      0.26%     99.69% # Class of committed instruction
system.cpu.op_class_0::VectorMaskLogical            0      0.00%     99.69% # Class of committed instruction
system.cpu.op_class_0::VectorReduction              0      0.00%     99.69% # Class of committed instruction
system.cpu.op_class_0::VectorConvertIntToFP         6400      0.03%     99.72% # Class of committed instruction
system.cpu.op_class_0::VectorConvertFPToInt         9600      0.04%     99.76% # Class of committed instruction
system.cpu.op_class_0::VectorWConvertFPToInt            0      0.00%     99.76% # Class of committed instruction
system.cpu.op_class_0::VectorWConvertIntToFP            0      0.00%     99.76% # Class of committed instruction
system.cpu.op_class_0::VectorWConvertFPToFP            0      0.00%     99.76% # Class of committed instruction
system.cpu.op_class_0::VectorNConvertFPToInt            0      0.00%     99.76% # Class of committed instruction
system.cpu.op_class_0::VectorNConvertIntToFP            0      0.00%     99.76% # Class of committed instruction
system.cpu.op_class_0::VectorNConvertFPToFP            0      0.00%     99.76% # Class of committed instruction
system.cpu.op_class_0::VectorFPCompare          11200      0.05%     99.81% # Class of committed instruction
system.cpu.op_class_0::VectorIntCompare          1600      0.01%     99.82% # Class of committed instruction
system.cpu.op_class_0::VectorSlideUp                0      0.00%     99.82% # Class of committed instruction
system.cpu.op_class_0::VectorSlideDown              0      0.00%     99.82% # Class of committed instruction
system.cpu.op_class_0::VectorToScalar               0      0.00%     99.82% # Class of committed instruction
system.cpu.op_class_0::VectorMemoryLoad          9600      0.04%     99.86% # Class of committed instruction
system.cpu.op_class_0::VectorMemoryStore         1600      0.01%     99.86% # Class of committed instruction
system.cpu.op_class_0::VectorConfig             32000      0.14%    100.00% # Class of committed instruction

Questions
Should we ignore the warnings above?
If yes, is the data shown in stats.txt reliable?
Else, what could we do to solve these warnings?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant