Hi,
I am trying to run tiny-dnn benchmarks (convolutional neural network
benchmarks written in C++ ) in gem5 SE mode.
Here are the steps I followed:
1. Cross-compiled some benchmark examples using a cross compiler (built
using croosstool-ng) for ARM.
2. Run the executable in gem5 SE mode using following command:
$ ./build/ARM/gem5.opt configs/example/se.py -c
/home/iiitd/Desktop/tiny-dnn/examples/mnist/train -o
/home/iiitd/Desktop/tiny-dnn/data
---------------------------------------
----------------------------------------
Global frequency set at 1000000000000 ticks per second
warn: DRAM device capacity (8192 Mbytes) does not match the address
range assigned (512 Mbytes)
0: system.remote_gdb.listener: listening for remote gdb #0 on port
7000
warn: ClockedObject: More than one power state change request
encountered within the same simulation tick
**** REAL SIMULATION ****
info: Entering event queue @ 0. Starting simulation...
fatal: syscall set_tid_address (#256) unimplemented.
3. I tried to ignore the error by making following changes in
arch/arm/linux/process.cc
SyscallDesc("set_tid_address", unimplementedFunc)
to SyscallDesc("set_tid_address", ignoreFunc)
SyscallDesc("set_robust_list", unimplementedFunc) to
SyscallDesc("set_robust_list", ignoreFunc)
4. Run the following command
$ scons build/ARM/gem5.opt -j4
$ ./build/ARM/gem5.opt configs/example/se.py -c
/home/iiitd/Desktop/tiny-dnn/examples/mnist/train -o
/home/iiitd/Desktop/tiny-dnn/data
------------------------------------------------
-----------------------------------------------
Global frequency set at 1000000000000 ticks per second
warn: DRAM device capacity (8192 Mbytes) does not match the address
range assigned (512 Mbytes)
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
warn: ClockedObject: More than one power state change request
encountered within the same simulation tick
**** REAL SIMULATION ****
info: Entering event queue @ 0. Starting simulation...
warn: ignoring syscall set_tid_address(...)
warn: ignoring syscall set_robust_list(...)
warn: ignoring syscall rt_sigaction(...)
(further warnings will be suppressed)
warn: ignoring syscall rt_sigprocmask(...)
(further warnings will be suppressed)
warn: readlink() called on '/proc/self/exe' may yield unexpected
results in various settings.
Returning '/home/iiitd/Desktop/tiny-dnn-master2/examples/mnist/train'
info: Increasing stack size by one page.
warn: ignoring syscall futex(...)
(further warnings will be suppressed)
load models...
The simulation freezes after the above steps. Any help is appreciated.
Thanks.
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users