Commit f3f4df2a authored by Jens Korinth's avatar Jens Korinth
Browse files

tapasco_benchmark: Fix bug in Platform guess

* now using host name as platform, if unknown
parent 63d0282e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -70,7 +70,8 @@ int main(int argc, const char *argv[]) {
        cerr << "Could not get host name, guessing vc709 Platform" << endl;
      else {
        cout << "Host name: " << n << endl;
	if (string(n).compare("zed") == 0 || string(n).compare("zedboard"))
	platform = n;
	if (string(n).compare("zed") == 0 || string(n).compare("zedboard") == 0)
	  platform = "zedboard";
	if (string(n).compare("zc706") == 0)
	  platform = "zc706";