OpenCores
URL https://opencores.org/ocsvn/theia_gpu/theia_gpu/trunk

Subversion Repositories theia_gpu

[/] [theia_gpu/] [branches/] [icarus_version/] [scripts/] [run_regressions.pl] - Diff between revs 195 and 196

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 195 Rev 196
Line 112... Line 112...
        Number of execution cores: $CoreCount
        Number of execution cores: $CoreCount
        Number of texture memory banks: $MemBankCount
        Number of texture memory banks: $MemBankCount
  ";
  ";
 
 
  chdir "../simulation";
  chdir "../simulation";
  if ( system("make compile GPUCORES=$CoreCount GPUMEMBANKS=$MemBankCount WIDTH=$Width HEIGHT=$Height") != 0)
  if ( system("make compile GPUCORES=$CoreCount GPUMEMBANKS=$MemBankCount") != 0)
  {
  {
        die "-E- Error compiling test code! ($!)\n";
        die "-E- Error compiling test code! ($!)\n";
  }
  }
 #Now copy the binary over to our simulation directory
 #Now copy the binary over to our simulation directory
 
 
Line 143... Line 143...
                print LOG "Number of execution cores:         $CoreCount\n";
                print LOG "Number of execution cores:         $CoreCount\n";
                print LOG "Number of memory banks:            $MemBankCount\n";
                print LOG "Number of memory banks:            $MemBankCount\n";
                print LOG "Simulation started at:             $StartDate $StartTime\n";
                print LOG "Simulation started at:             $StartDate $StartTime\n";
 
 
        #system "$SimulationCommand -tclbatch isim.tcl";
        #system "$SimulationCommand -tclbatch isim.tcl";
                if (system ("perl $ScriptPath/configure_params.pl $CoreCount") != 0)
                if (system ("perl $ScriptPath/configure_params.pl $CoreCount $Width $Height") != 0)
                {
                {
                        die "-E- Error configuing scene parameters! ($!)\n";
                        die "-E- Error configuing scene parameters! ($!)\n";
                }
                }
                my $StartTime = [Time::HiRes::gettimeofday()];
                my $StartTime = [Time::HiRes::gettimeofday()];
                if (system("vvp -n $SimulationBinary -none") != 0)
                if (system("vvp -n $SimulationBinary -none") != 0)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.