Hi all,

For passing parameter to C++ object from Python, gem5 provides Param
object. Through Param, int, float, string parameters can be passed to C++
object (Param.Int(), Param.Float(), Param.String(), etc)

Now, I want to pass 2-dimension list from Python ([ [] ]), and get it as a
vector<vector<unsigned>> object at C++ object. I found that there is
VectorParam for list type, but how can I define 2-dimension list, which
needs to be passed as vector<vector<unsigned>>, with VectorParam?


Thanks,
Daecheol.
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to