Skip to content

Commit efff1b1

Browse files
committed
Fixes for recently merged workload component
1# with '#' will be ignored, and an empty message aborts the commit.
1 parent 13b21d1 commit efff1b1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

examples/workload/example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RUN: %PYTHON %s | FileCheck %s
1+
# RUN: python %s | FileCheck %s
22
# CHECK: func.func @payload
33
# CHECK: PASSED
44
# CHECK: Throughput:

examples/workload/example_mlir.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RUN: %PYTHON %s | FileCheck %s
1+
# RUN: python %s | FileCheck %s
22
# CHECK: func.func @payload
33
# CHECK: PASSED
44
# CHECK: Throughput:
@@ -19,7 +19,7 @@
1919
from mlir.execution_engine import ExecutionEngine
2020
import ctypes
2121
from contextlib import contextmanager
22-
from lighthouse.utils import (
22+
from lighthouse.utils.runtime.ffi import (
2323
get_packed_arg,
2424
memrefs_to_packed_args,
2525
memref_to_ctype,

lighthouse/workload/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from mlir.execution_engine import ExecutionEngine
1010
from mlir.runtime.np_to_memref import get_ranked_memref_descriptor
1111
from lighthouse.utils.mlir import get_mlir_library_path
12-
from lighthouse.utils import memrefs_to_packed_args
12+
from lighthouse.utils.runtime.ffi import memrefs_to_packed_args
1313
from lighthouse.workload import Workload
1414
from typing import Optional
1515

0 commit comments

Comments
 (0)