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...)
14
14
end
15
15
end
16
16
17
+ if ! @isdefined (BENCHOUT)
18
+ BENCHOUT = " benchmarkresults.json"
19
+ end
20
+
17
21
# before anything else, run latency benchmarks. these spawn subprocesses, so we don't want
18
22
# to do so after regular benchmarks have caused the memory allocator to reserve memory.
19
23
@info " Running latency benchmarks"
20
24
latency_results = include (" latency.jl" )
21
25
22
- SUITE = BenchmarkGroup ()
26
+ SUITE = BenchmarkGroup ([BENCHOUT] )
23
27
24
28
include (" cuda.jl" )
25
29
include (" kernel.jl" )
@@ -50,4 +54,4 @@ results["latency"] = latency_results
50
54
results[" integration" ] = integration_results
51
55
52
56
# 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