Skip to content

Commit

Permalink
- Updated workloads for Picosat LT
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Abelt committed Feb 13, 2024
1 parent ca52b10 commit 6088be8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
4 changes: 2 additions & 2 deletions varats/varats/experiments/vara/feature_perf_precision.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ def get_threshold(project: VProject) -> int:
if project.DOMAIN is ProjectDomains.TEST:
if project.name in [
"SynthSAFieldSensitivity", "SynthIPRuntime", "SynthIPTemplate",
"SynthIPTemplate2", "SynthIPCombined"
"SynthIPTemplate2", "SynthIPCombined", "PicosatLT"
]:
# Don't instrument everything for these synthtic projects
# Don't instrument everything for these synthetic projects
return 10

return 0
Expand Down
14 changes: 11 additions & 3 deletions varats/varats/projects/c_projects/picosat.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,14 @@ class PicoSATLT(VProject, ReleaseProviderHook):
"download/picoSAT-965/example.cnf"
}
),
HTTP(
local="ibm-2004-03-k70.cnf",
remote={
"1.0":
"https://github.com/se-sic/picoSAT-vara/releases/"
"download/workloads-sat-race-2006/ibm-2004-03-k70.cnf"
}
),
HTTPUntar(
local="abw-N-bcsstk07.mtx-w44.cnf",
remote={
Expand Down Expand Up @@ -255,11 +263,11 @@ class PicoSATLT(VProject, ReleaseProviderHook):
]

WORKLOADS = {
WorkloadSet(WorkloadCategory.MEDIUM): [
WorkloadSet(WorkloadCategory.SMALL): [
VCommand(
SourceRoot("PicosatLT") / RSBinary("picosat"),
"abw-N-bcsstk07.mtx-w44.cnf/abw-N-bcsstk07.mtx-w44.cnf",
label="abw-N-bcsstk07.mtx-w44.cnf",
"ibm-2004-03-k70.cnf",
label="ibm-2004-03-k70.cnf",
),
],
}
Expand Down

0 comments on commit 6088be8

Please sign in to comment.