--Code changes

-Get EmberBench.ps1 working on linux.
This commit is contained in:
Person 2019-05-13 17:12:24 -07:00
parent f05209093d
commit ca27ae1eb7

View File

@ -1,5 +1,7 @@
$exe = ".\EmberRender.exe" $exe = "./EmberRender.exe"
$benchprefix = ".\Bench\" #On linux do this:
#$exe = "emberrender"
$benchprefix = "./Bench/"
$devices = "2"#Set this to whatever device index your main GPU resides at. If you are unsure, just run emberrender --opencl info to find out. $devices = "2"#Set this to whatever device index your main GPU resides at. If you are unsure, just run emberrender --opencl info to find out.
$cpuquality = 150 $cpuquality = 150
$gpuquality = 2000 $gpuquality = 2000
@ -7,8 +9,8 @@ $verbose = "--verbose"
$name_enable = "--name_enable" $name_enable = "--name_enable"
$dump_args = ""#"--dumpargs" $dump_args = ""#"--dumpargs"
$totalOutput = "" $totalOutput = ""
$ssArray = @(1,2,4) $ssArray = @("1","2","4")
$ssSuffixArray = @(_ss1,_ss2,_ss4) $ssSuffixArray = @("_ss1","_ss2","_ss4")
$Script:output = "" $Script:output = ""
[Collections.Generic.List[String]] $filteredLines = "" [Collections.Generic.List[String]] $filteredLines = ""