File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,16 @@ macro async_benchmarkable(ex...)
1414    end 
1515end 
1616
17+ if  ! @isdefined (BENCHOUT)
18+     BENCHOUT =  " benchmarkresults.json" 
19+ end 
20+ 
1721#  before anything else, run latency benchmarks. these spawn subprocesses, so we don't want
1822#  to do so after regular benchmarks have caused the memory allocator to reserve memory.
1923@info  " Running latency benchmarks" 
2024latency_results =  include (" latency.jl" 
2125
22- SUITE =  BenchmarkGroup ()
26+ SUITE =  BenchmarkGroup ([BENCHOUT] )
2327
2428include (" cuda.jl" 
2529include (" kernel.jl" 
@@ -50,4 +54,4 @@ results["latency"] = latency_results
5054results[" integration" =  integration_results
5155
5256#  write out the results
53- BenchmarkTools. save (" benchmarkresults.json " median (results))
57+ BenchmarkTools. save (BENCHOUT , median (results))
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments