changeset de47df436ace in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=de47df436ace
description:
        O3: Make numThreads error message more helpful.

diffstat:

1 file changed, 3 insertions(+), 1 deletion(-)
src/cpu/o3/fetch_impl.hh |    4 +++-

diffs (14 lines):

diff -r 5e7899a2692f -r de47df436ace src/cpu/o3/fetch_impl.hh
--- a/src/cpu/o3/fetch_impl.hh  Sat Feb 28 20:14:22 2009 -0500
+++ b/src/cpu/o3/fetch_impl.hh  Wed Mar 04 09:25:53 2009 -0500
@@ -132,7 +132,9 @@
       switchedOut(false)
 {
     if (numThreads > Impl::MaxThreads)
-        fatal("numThreads is not a valid value\n");
+        fatal("numThreads (%d) is larger than compiled limit (%d),\n"
+              "\tincrease MaxThreads in src/cpu/o3/impl.hh\n",
+              numThreads, static_cast<int>(Impl::MaxThreads));
 
     // Set fetch stage's status to inactive.
     _status = Inactive;
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to