Skip to content

Commit

Permalink
[benchmarks] update UMD and fix no-igc builds
Browse files Browse the repository at this point in the history
  • Loading branch information
pbalcer committed Jan 30, 2025
1 parent b048cc2 commit 476913f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/benchmarks/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Options:
build_compute_runtime: bool = False
extra_ld_libraries: list[str] = field(default_factory=list)
extra_env_vars: dict = field(default_factory=dict)
compute_runtime_tag: str = '24.52.32224.8'
compute_runtime_tag: str = '24.52.32224.10'
build_igc: bool = False

options = Options()
Expand Down
8 changes: 6 additions & 2 deletions scripts/benchmarks/utils/compute_runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,17 @@ def __init__(self):
return

def ld_libraries(self) -> list[str]:
return [
paths = [
os.path.join(self.gmmlib, "lib64"),
os.path.join(self.level_zero, "lib64"),
os.path.join(self.compute_runtime, "bin"),
os.path.join(self.igc, "lib"),
]

if options.build_igc:
paths.append(os.path.join(self.igc, "lib"))

return paths

def env_vars(self) -> dict:
return {"ZE_ENABLE_ALT_DRIVERS" : os.path.join(self.compute_runtime, "bin", "libze_intel_gpu.so"),
"OCL_ICD_FILENAMES" : os.path.join(self.compute_runtime, "bin", "libigdrcl.so")}
Expand Down

0 comments on commit 476913f

Please sign in to comment.