On 12/10/19 3:25 AM, Eliot Moss wrote:
> On 12/6/2019 4:56 AM, 闫亮 wrote:
>> Hi all,
>>
>> I am new to the gem5, I want to run a CNN model write in Python by 
>> gem5. What I learned so far is we usually run the compiled C/C++ 
>> program in full system simulation. How about run a python program, 
>> will it feed back the stats of the python program by gem5 simulator?
>>
>> another question: If we run the compiled C/C++ program in full system 
>> mode, Does the program need to be compiled statically? (in SE mode,the 
>> answer is yes)

Improved dynamic linked support was added to SE recently, let us know if 
you find any bugs with it: 
https://stackoverflow.com/questions/50542222/how-to-run-a-dynamically-linked-executable-syscall-emulation-mode-se-py-in-gem5/50696098#50696098

>>
>> Thank you for your valuable advice
> 
> Is full system simulation mode, you can simulate almost anything, I 
> would think.
> You do need all the files, libraries, etc., on the simulated disk.  I 
> would not
> think that static compilation is necessary if all the right libraries 
> are in the
> right places ...
> 
> Eliot Moss
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to