Skip to content

Commit

Permalink
skip ilp for raytracer uh oh
Browse files Browse the repository at this point in the history
  • Loading branch information
oflatt committed Feb 19, 2025
1 parent 3a324c3 commit 96ca9c1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion infra/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,12 @@ def aggregate(compile_data, bench_times, paths):
total = len(profiles) * len(treatments)
for benchmark_path in profiles:
for treatment in treatments:

# EVIL HACK: skip ILP mode for raytrace benchmark
# since it uses too much memory
if benchmark_path.endswith("raytrace.rs") and treatment == "eggcc-ILP-O0-O0":
print("Skipping raytrace.rs with eggcc-ILP-O0-O0", flush=True)
continue
to_run.append(Benchmark(benchmark_path, treatment, index, total))
index += 1

Expand All @@ -365,7 +371,7 @@ def aggregate(compile_data, bench_times, paths):

compile_data = {}
# get the number of cores on this machine
parallelism = os.cpu_count()
parallelism = 2#os.cpu_count()

# create a thread pool for running optimization
with concurrent.futures.ThreadPoolExecutor(max_workers = parallelism) as executor:
Expand Down

0 comments on commit 96ca9c1

Please sign in to comment.