Skip to content

Instantly share code, notes, and snippets.

@vmurali
Created August 2, 2022 22:39
Show Gist options
  • Save vmurali/fa3dead47347eaca78d1911ce147c478 to your computer and use it in GitHub Desktop.
Save vmurali/fa3dead47347eaca78d1911ce147c478 to your computer and use it in GitHub Desktop.
FAIL: IREE :: src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/cmd_ops.mlir (1 of 1)
******************** TEST 'IREE :: src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/cmd_ops.mlir' FAILED ********************
Script:
--
: 'RUN: at line 1'; iree-opt --split-input-file --iree-hal-conversion /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/cmd_ops.mlir | FileCheck /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/cmd_ops.mlir
--
Exit Code: 1
Command Output (stderr):
--
/usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/cmd_ops.mlir:93:12: error: CHECK: expected string not found in input
// CHECK: %[[SIGNAL_FENCE:.+]] = hal.timeline.advance
^
<stdin>:68:34: note: scanning from here
hal.command_buffer.finalize<%cmd : !hal.command_buffer>
^
<stdin>:78:34: note: possible intended match here
#executable_target_embedded_elf_x86_64_ = #hal.executable.target<"llvm", "embedded-elf-x86_64">
^
Input file: <stdin>
Check file: /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/cmd_ops.mlir
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
63: hal.command_buffer.execution_barrier<%cmd : !hal.command_buffer> source("Dispatch|Transfer|CommandRetire") target("CommandIssue|Dispatch|Transfer") flags("None")
64: hal.command_buffer.copy_buffer<%cmd : !hal.command_buffer> source(%arg0 : !hal.buffer)[%c0] target(%arg2 : !hal.buffer)[%c0] length(%c128)
65: hal.command_buffer.execution_barrier<%cmd : !hal.command_buffer> source("Dispatch|Transfer|CommandRetire") target("CommandIssue|Dispatch|Transfer") flags("None")
66: hal.command_buffer.copy_buffer<%cmd : !hal.command_buffer> source(%arg0 : !hal.buffer)[%c0] target(%arg2 : !hal.buffer)[%c0] length(%c128)
67: hal.command_buffer.execution_barrier<%cmd : !hal.command_buffer> source("Dispatch|Transfer|CommandRetire") target("CommandIssue|Dispatch|Transfer") flags("None")
68: hal.command_buffer.finalize<%cmd : !hal.command_buffer>
check:93'0 X~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
69: hal.ex.submit_and_wait %device, %cmd
check:93'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70: %c0_i64 = arith.constant 0 : i64
check:93'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
71: return %c0_i64 : i64
check:93'0 ~~~~~~~~~~~~~~~~~~~~~~
72: }
check:93'0 ~~~
73: }
check:93'0 ~~
74:
check:93'0 ~
75:
check:93'0 ~
76: // -----
check:93'0 ~~~~~~~~~
77: #executable_layout = #hal.executable.layout<push_constants = 0, sets = [<0, bindings = [<4, storage_buffer>]>, <1, bindings = [<5, storage_buffer>]>]>
check:93'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
78: #executable_target_embedded_elf_x86_64_ = #hal.executable.target<"llvm", "embedded-elf-x86_64">
check:93'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:93'1 ? possible intended match
79: #map = affine_map<()[s0] -> (s0 ceildiv 4)>
check:93'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
80: #translation = #iree_codegen.translation_info<CPUDefault workload_per_wg = [4]>
check:93'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
81: module {
check:93'0 ~~~~~~~~~
82: hal.executable private @ex {
check:93'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
83: hal.executable.variant public @embedded_elf_x86_64, target = #executable_target_embedded_elf_x86_64_ {
check:93'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.
.
.
>>>>>>
--
********************
********************
Failed Tests (1):
IREE :: src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/cmd_ops.mlir
Testing Time: 0.13s
Failed: 1
Start 507: iree/compiler/Codegen/LLVMCPU/test/illegal_configuration.mlir.test
2/870 Test #630: iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/timepoint_ops.mlir.test ............................................***Failed 0.24 sec
-- Testing: 1 tests, 1 workers --
FAIL: IREE :: src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/timepoint_ops.mlir (1 of 1)
******************** TEST 'IREE :: src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/timepoint_ops.mlir' FAILED ********************
Script:
--
: 'RUN: at line 1'; iree-opt --split-input-file --iree-hal-conversion /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/timepoint_ops.mlir | FileCheck /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/timepoint_ops.mlir
--
Exit Code: 1
Command Output (stderr):
--
within split at /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/timepoint_ops.mlir:25 offset :5:8: error: failed to legalize operation 'stream.timepoint.import' that was explicitly marked illegal
%0 = stream.timepoint.import %arg0 : (!hal.fence) => !stream.timepoint
^
within split at /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/timepoint_ops.mlir:25 offset :5:8: note: see current operation: %0 = "stream.timepoint.import"(<<UNKNOWN SSA VALUE>>) : (!hal.fence) -> !stream.timepoint
within split at /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/timepoint_ops.mlir:44 offset :5:8: error: failed to legalize operation 'stream.timepoint.export' that was explicitly marked illegal
%0 = stream.timepoint.export %arg0 => (!hal.fence)
^
within split at /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/timepoint_ops.mlir:44 offset :5:8: note: see current operation: %0 = "stream.timepoint.export"(<<UNKNOWN SSA VALUE>>) : (!stream.timepoint) -> !hal.fence
/usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/timepoint_ops.mlir:3:17: error: CHECK-LABEL: expected string not found in input
// CHECK-LABEL: util.global private mutable @rwTimepoint : !hal.fence
^
<stdin>:1:1: note: scanning from here
module {
^
<stdin>:2:2: note: possible intended match here
util.global private mutable @rwTimepoint = 0 : i64
^
Input file: <stdin>
Check file: /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/timepoint_ops.mlir
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: module {
label:3'0 X~~~~~~~~ error: no match found
2: util.global private mutable @rwTimepoint = 0 : i64
label:3'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:3'1 ? possible intended match
3: func.func @globalTimepoint(%arg0: i64) -> i64 {
label:3'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4: util.global.store %arg0, @rwTimepoint : i64
label:3'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5: %rwTimepoint = util.global.load @rwTimepoint : i64
label:3'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6: return %rwTimepoint : i64
label:3'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
7: }
label:3'0 ~~~
.
.
.
>>>>>>
--
********************
********************
Failed Tests (1):
IREE :: src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/timepoint_ops.mlir
Testing Time: 0.14s
Failed: 1
Start 488: iree/compiler/Codegen/Common/test/rewrite_linalg_destructive_updates.mlir.test
3/870 Test #641: iree/compiler/Dialect/HAL/IR/test/device_ops.mlir.test ...................................................................***Failed 0.24 sec
-- Testing: 1 tests, 1 workers --
FAIL: IREE :: src/iree/compiler/Dialect/HAL/IR/test/device_ops.mlir (1 of 1)
******************** TEST 'IREE :: src/iree/compiler/Dialect/HAL/IR/test/device_ops.mlir' FAILED ********************
Script:
--
: 'RUN: at line 1'; iree-opt --split-input-file /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/IR/test/device_ops.mlir | iree-opt --split-input-file | FileCheck /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/IR/test/device_ops.mlir
--
Exit Code: 1
Command Output (stderr):
--
within split at /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/IR/test/device_ops.mlir:55 offset :13:13: error: custom op 'hal.device.queue.alloca' is unknown
%buffer = hal.device.queue.alloca<%device : !hal.device>
^
within split at /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/IR/test/device_ops.mlir:81 offset :12:3: error: custom op 'hal.device.queue.dealloca' is unknown
hal.device.queue.dealloca<%device : !hal.device>
^
within split at /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/IR/test/device_ops.mlir:102 offset :12:3: error: custom op 'hal.device.queue.execute' is unknown
hal.device.queue.execute<%device : !hal.device>
^
within split at /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/IR/test/device_ops.mlir:123 offset :8:3: error: custom op 'hal.device.queue.flush' is unknown
hal.device.queue.flush<%device : !hal.device>
^
/usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/IR/test/device_ops.mlir:57:17: error: CHECK-LABEL: expected string not found in input
// CHECK-LABEL: @device_queue_alloca
^
<stdin>:32:25: note: scanning from here
func.func @device_query(%arg0: !hal.device) -> (i1, i32) {
^
<stdin>:33:19: note: possible intended match here
%ok, %value = hal.device.query<%arg0 : !hal.device> key("sys" :: "foo") : i1, i32
^
Input file: <stdin>
Check file: /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/IR/test/device_ops.mlir
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
27: }
28:
29:
30: // -----
31: module {
32: func.func @device_query(%arg0: !hal.device) -> (i1, i32) {
label:57'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
33: %ok, %value = hal.device.query<%arg0 : !hal.device> key("sys" :: "foo") : i1, i32
label:57'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'1 ? possible intended match
34: return %ok, %value : i1, i32
label:57'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
35: }
label:57'0 ~~~
36: }
label:57'0 ~~
37:
label:57'0 ~
38:
label:57'0 ~
.
.
.
>>>>>>
--
********************
********************
Failed Tests (1):
IREE :: src/iree/compiler/Dialect/HAL/IR/test/device_ops.mlir
Testing Time: 0.10s
Failed: 1
Start 566: iree/compiler/Codegen/SPIRV/test/vectorize_load_store.mlir.test
4/870 Test #646: iree/compiler/Dialect/HAL/IR/test/fence_ops.mlir.test ....................................................................***Failed 0.25 sec
-- Testing: 1 tests, 1 workers --
FAIL: IREE :: src/iree/compiler/Dialect/HAL/IR/test/fence_ops.mlir (1 of 1)
******************** TEST 'IREE :: src/iree/compiler/Dialect/HAL/IR/test/fence_ops.mlir' FAILED ********************
Script:
--
: 'RUN: at line 1'; iree-opt --split-input-file /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/IR/test/fence_ops.mlir | iree-opt --split-input-file | FileCheck /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/IR/test/fence_ops.mlir
--
Exit Code: 1
Command Output (stderr):
--
within split at /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/IR/test/fence_ops.mlir:1 offset :6:12: error: custom op 'hal.timeline.advance' is unknown
%fence = hal.timeline.advance : !hal.fence
^
/usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/IR/test/fence_ops.mlir:3:17: error: CHECK-LABEL: expected string not found in input
// CHECK-LABEL: @timeline_advance
^
<stdin>:1:1: note: scanning from here
module {
^
<stdin>:8:97: note: possible intended match here
%fence = hal.fence.create at<%arg0 : !hal.semaphore>(%arg1) at<%arg0 : !hal.semaphore>(%arg2) -> !hal.fence
^
Input file: <stdin>
Check file: /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/IR/test/fence_ops.mlir
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: module {
label:3'0 X~~~~~~~~ error: no match found
2: }
label:3'0 ~~
3:
label:3'0 ~
4:
label:3'0 ~
5: // -----
label:3'0 ~~~~~~~~~
6: module {
label:3'0 ~~~~~~~~~
7: func.func @fence_create(%arg0: !hal.semaphore, %arg1: i64, %arg2: i64) -> !hal.fence {
label:3'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8: %fence = hal.fence.create at<%arg0 : !hal.semaphore>(%arg1) at<%arg0 : !hal.semaphore>(%arg2) -> !hal.fence
label:3'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:3'1 ? possible intended match
9: return %fence : !hal.fence
label:3'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10: }
label:3'0 ~~~
11: }
label:3'0 ~~
12:
label:3'0 ~
13:
label:3'0 ~
.
.
.
>>>>>>
--
********************
********************
Failed Tests (1):
IREE :: src/iree/compiler/Dialect/HAL/IR/test/fence_ops.mlir
Testing Time: 0.11s
Failed: 1
Start 857: iree/base/loop_inline_test
5/870 Test #661: iree/compiler/Dialect/HAL/Transforms/test/convert_to_hal.mlir.test .......................................................***Failed 0.25 sec
-- Testing: 1 tests, 1 workers --
FAIL: IREE :: src/iree/compiler/Dialect/HAL/Transforms/test/convert_to_hal.mlir (1 of 1)
******************** TEST 'IREE :: src/iree/compiler/Dialect/HAL/Transforms/test/convert_to_hal.mlir' FAILED ********************
Script:
--
: 'RUN: at line 1'; iree-opt --split-input-file --iree-hal-conversion --canonicalize -cse /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Transforms/test/convert_to_hal.mlir | FileCheck /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Transforms/test/convert_to_hal.mlir
--
Exit Code: 1
Command Output (stderr):
--
/usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Transforms/test/convert_to_hal.mlir:118:12: error: CHECK: expected string not found in input
// CHECK: %[[WAIT_FENCE:.+]] = util.null : !hal.fence
^
<stdin>:47:57: note: scanning from here
hal.command_buffer.finalize<%cmd : !hal.command_buffer>
^
<stdin>:49:30: note: possible intended match here
%view = hal.buffer_view.create buffer(%buffer_1 : !hal.buffer) shape([%c4]) type(%c553648160_i32) encoding(%c1_i32) : !hal.buffer_view
^
Input file: <stdin>
Check file: /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Transforms/test/convert_to_hal.mlir
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
42: ])
43: hal.command_buffer.dispatch.symbol<%cmd : !hal.command_buffer> target(@ex::@embedded_elf_x86_64::@dispatch) workgroups([%c1, %c1, %c1])
44: hal.return
45: }
46: hal.command_buffer.execution_barrier<%cmd : !hal.command_buffer> source("Dispatch|Transfer|CommandRetire") target("CommandIssue|Dispatch|Transfer") flags("None")
47: hal.command_buffer.finalize<%cmd : !hal.command_buffer>
check:118'0 X error: no match found
48: hal.ex.submit_and_wait %device, %cmd
check:118'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49: %view = hal.buffer_view.create buffer(%buffer_1 : !hal.buffer) shape([%c4]) type(%c553648160_i32) encoding(%c1_i32) : !hal.buffer_view
check:118'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:118'1 ? possible intended match
50: return %view : !hal.buffer_view
check:118'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51: }
check:118'0 ~~~
52: }
check:118'0 ~~
53:
check:118'0 ~
>>>>>>
--
********************
********************
Failed Tests (1):
IREE :: src/iree/compiler/Dialect/HAL/Transforms/test/convert_to_hal.mlir
Testing Time: 0.06s
Failed: 1
Start 801: iree/compiler/Dialect/VM/IR/test/control_flow_ops.mlir.test
6/870 Test #717: iree/compiler/Dialect/Util/Conversion/test/structural_ops.mlir.test ......................................................***Failed 0.25 sec
-- Testing: 1 tests, 1 workers --
FAIL: IREE :: src/iree/compiler/Dialect/Util/Conversion/test/structural_ops.mlir (1 of 1)
******************** TEST 'IREE :: src/iree/compiler/Dialect/Util/Conversion/test/structural_ops.mlir' FAILED ********************
Script:
--
: 'RUN: at line 1'; iree-opt --split-input-file --iree-util-test-conversion /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/Util/Conversion/test/structural_ops.mlir | FileCheck /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/Util/Conversion/test/structural_ops.mlir
--
Exit Code: 1
Command Output (stderr):
--
within split at /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/Util/Conversion/test/structural_ops.mlir:1 offset :11:3: error: type mismatch for bb argument #0 of successor #0
cf.br ^bb1(%value : memref<?xi8>)
^
within split at /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/Util/Conversion/test/structural_ops.mlir:1 offset :11:3: note: see current operation: "cf.br"(%0)[^bb1] : (!util.buffer) -> ()
/usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/Util/Conversion/test/structural_ops.mlir:6:11: error: CHECK: expected string not found in input
// CHECK: util.initializer
^
<stdin>:1:1: note: scanning from here
^
<stdin>:3:4: note: possible intended match here
module {
^
Input file: <stdin>
Check file: /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/Util/Conversion/test/structural_ops.mlir
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1:
check:6'0 X error: no match found
2: // -----
check:6'0 ~~~~~~~~~
3: module {
check:6'0 ~~~~~~~~~
check:6'1 ? possible intended match
4: func.func @funcOp(%arg0: !util.buffer) -> !util.buffer {
check:6'0 ~~~~~~~~~~~~~~~~~~
5: return %arg0 : !util.buffer
6: }
7: }
8:
.
.
.
>>>>>>
--
********************
********************
Failed Tests (1):
IREE :: src/iree/compiler/Dialect/Util/Conversion/test/structural_ops.mlir
Testing Time: 0.08s
Failed: 1
Start 961: iree/task/scope_test
7/870 Test #629: iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/resource_ops.mlir.test .............................................***Failed 0.28 sec
-- Testing: 1 tests, 1 workers --
FAIL: IREE :: src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/resource_ops.mlir (1 of 1)
******************** TEST 'IREE :: src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/resource_ops.mlir' FAILED ********************
Script:
--
: 'RUN: at line 1'; iree-opt --split-input-file --iree-hal-conversion /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/resource_ops.mlir | FileCheck /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/resource_ops.mlir
--
Exit Code: 1
Command Output (stderr):
--
/usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/resource_ops.mlir:23:12: error: CHECK: expected string not found in input
// CHECK: %[[WAIT_FENCE:.+]] = util.null : !hal.fence
^
<stdin>:14:41: note: scanning from here
func.func @resourceAlloca(%arg0: index) -> (!hal.buffer, i64) {
^
<stdin>:15:16: note: possible intended match here
%device = hal.ex.shared_device : !hal.device
^
/usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/resource_ops.mlir:41:16: error: CHECK-SAME: expected string not found in input
// CHECK-SAME: (%[[SIZE:.+]]: index, %[[WAIT_FENCE:.+]]: !hal.fence)
^
<stdin>:26:32: note: scanning from here
func.func @resourceAllocaAwait(%arg0: index, %arg1: i64) -> (!hal.buffer, i64) {
^
/usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/resource_ops.mlir:62:12: error: CHECK: expected string not found in input
// CHECK: %[[WAIT_FENCE:.+]] = util.null : !hal.fence
^
<stdin>:38:63: note: scanning from here
func.func @resourceDealloca(%arg0: index, %arg1: !hal.buffer) -> i64 {
^
<stdin>:39:15: note: possible intended match here
%c0_i64 = arith.constant 0 : i64
^
/usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/resource_ops.mlir:79:16: error: CHECK-SAME: expected string not found in input
// CHECK-SAME: (%[[SIZE:.+]]: index, %[[RESOURCE:.+]]: !hal.buffer, %[[WAIT_FENCE:.+]]: !hal.fence)
^
<stdin>:47:34: note: scanning from here
func.func @resourceDeallocaAwait(%arg0: index, %arg1: !hal.buffer, %arg2: i64) -> i64 {
^
Input file: <stdin>
Check file: /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/resource_ops.mlir
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
9: }
10:
11:
12: // -----
13: module {
14: func.func @resourceAlloca(%arg0: index) -> (!hal.buffer, i64) {
check:23'0 X~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
15: %device = hal.ex.shared_device : !hal.device
check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:23'1 ? possible intended match
16: %allocator = hal.device.allocator<%device : !hal.device> : !hal.allocator
check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17: %buffer = hal.allocator.allocate<%allocator : !hal.allocator> type("DeviceVisible|DeviceLocal") usage("TransferSource|TransferTarget|Transfer|DispatchStorageRead|DispatchStorageWrite|DispatchStorage") : !hal.buffer{%arg0}
check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18: %c0_i64 = arith.constant 0 : i64
check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19: return %buffer, %c0_i64 : !hal.buffer, i64
check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20: }
check:23'0 ~~~
21: }
check:23'0 ~~
22:
check:23'0 ~
23:
check:23'0 ~
24: // -----
check:23'0 ~~~~~~~~~
25: module {
check:23'0 ~~~~~~~~~
26: func.func @resourceAllocaAwait(%arg0: index, %arg1: i64) -> (!hal.buffer, i64) {
check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
same:41 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
27: %device = hal.ex.shared_device : !hal.device
same:41 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28: %allocator = hal.device.allocator<%device : !hal.device> : !hal.allocator
same:41 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29: %buffer = hal.allocator.allocate<%allocator : !hal.allocator> type("DeviceVisible|DeviceLocal") usage("TransferSource|TransferTarget|Transfer|DispatchStorageRead|DispatchStorageWrite|DispatchStorage") : !hal.buffer{%arg0}
same:41 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30: %c0_i64 = arith.constant 0 : i64
same:41 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31: return %buffer, %c0_i64 : !hal.buffer, i64
same:41 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32: }
same:41 ~~~
33: }
same:41 ~~
34:
same:41 ~
35:
same:41 ~
36: // -----
same:41 ~~~~~~~~~
37: module {
same:41 ~~~~~~~~~
38: func.func @resourceDealloca(%arg0: index, %arg1: !hal.buffer) -> i64 {
same:41 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:62'0 X~~~~~~~~~ error: no match found
39: %c0_i64 = arith.constant 0 : i64
check:62'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:62'1 ? possible intended match
40: return %c0_i64 : i64
check:62'0 ~~~~~~~~~~~~~~~~~~~~~~
41: }
check:62'0 ~~~
42: }
check:62'0 ~~
43:
check:62'0 ~
44:
check:62'0 ~
45: // -----
check:62'0 ~~~~~~~~~
46: module {
check:62'0 ~~~~~~~~~
47: func.func @resourceDeallocaAwait(%arg0: index, %arg1: !hal.buffer, %arg2: i64) -> i64 {
check:62'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
same:79 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
48: %c0_i64 = arith.constant 0 : i64
same:79 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49: return %c0_i64 : i64
same:79 ~~~~~~~~~~~~~~~~~~~~~~
50: }
same:79 ~~~
51: }
same:79 ~~
52:
same:79 ~
.
.
.
>>>>>>
--
********************
********************
Failed Tests (1):
IREE :: src/iree/compiler/Dialect/HAL/Conversion/StreamToHAL/test/resource_ops.mlir
Testing Time: 0.17s
Failed: 1
Start 775: iree/compiler/Dialect/VM/Conversion/VMToEmitC/test/comparison_ops_i64.mlir.test
8/870 Test #662: iree/compiler/Dialect/HAL/Transforms/test/dump_executable_benchmarks.mlir.test ...........................................***Failed 0.28 sec
-- Testing: 1 tests, 1 workers --
FAIL: IREE :: src/iree/compiler/Dialect/HAL/Transforms/test/dump_executable_benchmarks.mlir (1 of 1)
******************** TEST 'IREE :: src/iree/compiler/Dialect/HAL/Transforms/test/dump_executable_benchmarks.mlir' FAILED ********************
Script:
--
: 'RUN: at line 1'; iree-opt --split-input-file --iree-hal-dump-executable-benchmarks /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Transforms/test/dump_executable_benchmarks.mlir | FileCheck /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Transforms/test/dump_executable_benchmarks.mlir
--
Exit Code: 1
Command Output (stderr):
--
/usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Transforms/test/dump_executable_benchmarks.mlir:93:12: error: CHECK: expected string not found in input
// CHECK: hal.fence.await
^
<stdin>:61:57: note: scanning from here
hal.command_buffer.finalize<%cmd : !hal.command_buffer>
^
<stdin>:69:15: note: possible intended match here
%allocator = hal.device.allocator<%device : !hal.device> : !hal.allocator
^
Input file: <stdin>
Check file: /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Transforms/test/dump_executable_benchmarks.mlir
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
56: ])
57: scf.for %arg1 = %c0 to %0 step %c1 {
58: hal.command_buffer.dispatch.symbol<%cmd : !hal.command_buffer> target(@ex0::@embedded_elf_x86_64::@dispatch0) workgroups([%c128, %c1, %c1])
59: hal.command_buffer.execution_barrier<%cmd : !hal.command_buffer> source("Dispatch|CommandRetire") target("CommandIssue|Dispatch") flags("None")
60: }
61: hal.command_buffer.finalize<%cmd : !hal.command_buffer>
check:93'0 X error: no match found
62: hal.ex.submit_and_wait %device, %cmd
check:93'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
63: return
check:93'0 ~~~~~~~~
64: }
check:93'0 ~~~
65: util.global private mutable @ex0_embedded_elf_x86_64_dispatch1_512x1x1_buffer : !hal.buffer
check:93'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66: util.initializer {
check:93'0 ~~~~~~~~~~~~~~~~~~~~
67: %c512 = arith.constant 512 : index
check:93'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68: %device = hal.ex.shared_device : !hal.device
check:93'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69: %allocator = hal.device.allocator<%device : !hal.device> : !hal.allocator
check:93'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:93'1 ? possible intended match
70: %buffer = hal.allocator.allocate<%allocator : !hal.allocator> type("DeviceVisible|DeviceLocal") usage("TransferSource|TransferTarget|Transfer|DispatchStorageRead|DispatchStorageWrite|DispatchStorage") : !hal.buffer{%c512}
check:93'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
71: util.global.store %buffer, @ex0_embedded_elf_x86_64_dispatch1_512x1x1_buffer : !hal.buffer
check:93'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72: util.initializer.return
check:93'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
73: }
check:93'0 ~~~
74: func.func @ex0_embedded_elf_x86_64_dispatch1_512x1x1(%arg0: i32) attributes {iree.abi.stub, iree.reflection = {iree.benchmark = "dispatch"}} {
check:93'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.
.
.
>>>>>>
--
********************
********************
Failed Tests (1):
IREE :: src/iree/compiler/Dialect/HAL/Transforms/test/dump_executable_benchmarks.mlir
Testing Time: 0.14s
Failed: 1
Start 688: iree/compiler/Dialect/Stream/IR/test/tensor_folding.mlir.test
9/870 Test #744: iree/compiler/Dialect/Util/Transforms/test/propagate_subranges.mlir.test .................................................***Failed 0.28 sec
-- Testing: 1 tests, 1 workers --
FAIL: IREE :: src/iree/compiler/Dialect/Util/Transforms/test/propagate_subranges.mlir (1 of 1)
******************** TEST 'IREE :: src/iree/compiler/Dialect/Util/Transforms/test/propagate_subranges.mlir' FAILED ********************
Script:
--
: 'RUN: at line 1'; iree-opt --split-input-file --iree-util-propagate-subranges /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/Util/Transforms/test/propagate_subranges.mlir | FileCheck /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/Util/Transforms/test/propagate_subranges.mlir
--
Exit Code: 1
Command Output (stderr):
--
within split at /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/Util/Transforms/test/propagate_subranges.mlir:89 offset :7:1: error: 'func.func' op entry block must have 1 arguments to match function signature
func.func @publicFuncSignature(%resource: !util.buffer) -> !util.buffer {
^
within split at /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/Util/Transforms/test/propagate_subranges.mlir:89 offset :7:1: note: see current operation: "func.func"() ({
^bb0(%arg0: !util.buffer, %arg1: index, %arg2: index, %arg3: index):
%0 = "util.buffer.subspan"(%arg0, %arg1, %arg2, %arg3) : (!util.buffer, index, index, index) -> !util.buffer
"func.return"(%0) : (!util.buffer) -> ()
}) {function_type = (!util.buffer) -> !util.buffer, sym_name = "publicFuncSignature"} : () -> ()
/usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/Util/Transforms/test/propagate_subranges.mlir:93:17: error: CHECK-LABEL: expected string not found in input
// CHECK-LABEL: @publicFuncSignature
^
<stdin>:49:32: note: scanning from here
func.func private @funcResults(%arg0: !util.buffer, %arg1: index, %arg2: index, %arg3: index, %arg4: !util.buffer, %arg5: index, %arg6: index, %arg7: index) -> (!util.buffer, index, index, index, !util.buffer, index, index, index) {
^
<stdin>:61:2: note: possible intended match here
func.func private @caller(%arg0: !util.buffer, %arg1: index, %arg2: index, %arg3: index, %arg4: !util.buffer, %arg5: index, %arg6: index, %arg7: index) {
^
Input file: <stdin>
Check file: /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/Util/Transforms/test/propagate_subranges.mlir
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
44: }
45:
46:
47: // -----
48: module {
49: func.func private @funcResults(%arg0: !util.buffer, %arg1: index, %arg2: index, %arg3: index, %arg4: !util.buffer, %arg5: index, %arg6: index, %arg7: index) -> (!util.buffer, index, index, index, !util.buffer, index, index, index) {
label:93'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
50: %buffer_span = util.buffer.subspan %arg0[%arg2] : !util.buffer{%arg1} -> !util.buffer{%arg3}
label:93'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51: %buffer_span_0 = util.buffer.subspan %arg4[%arg6] : !util.buffer{%arg5} -> !util.buffer{%arg7}
label:93'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
52: return %arg0, %arg1, %arg2, %arg3, %arg4, %arg5, %arg6, %arg7 : !util.buffer, index, index, index, !util.buffer, index, index, index
label:93'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
53: }
label:93'0 ~~~
54: }
label:93'0 ~~
55:
label:93'0 ~
56:
label:93'0 ~
57: // -----
label:93'0 ~~~~~~~~~
58:
label:93'0 ~
59: // -----
label:93'0 ~~~~~~~~~
60: module {
label:93'0 ~~~~~~~~~
61: func.func private @caller(%arg0: !util.buffer, %arg1: index, %arg2: index, %arg3: index, %arg4: !util.buffer, %arg5: index, %arg6: index, %arg7: index) {
label:93'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:93'1 ? possible intended match
62: %buffer_span = util.buffer.subspan %arg0[%arg2] : !util.buffer{%arg1} -> !util.buffer{%arg3}
label:93'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
63: %buffer_span_0 = util.buffer.subspan %arg4[%arg6] : !util.buffer{%arg5} -> !util.buffer{%arg7}
label:93'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
64: %0:8 = call @callee(%arg0, %arg1, %arg2, %arg3, %arg4, %arg5, %arg6, %arg7) : (!util.buffer, index, index, index, !util.buffer, index, index, index) -> (!util.buffer, index, index, index, !util.buffer, index, index, index)
label:93'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
65: %buffer_span_1 = util.buffer.subspan %0#0[%0#2] : !util.buffer{%0#1} -> !util.buffer{%0#3}
label:93'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66: %buffer_span_2 = util.buffer.subspan %0#4[%0#6] : !util.buffer{%0#5} -> !util.buffer{%0#7}
label:93'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.
.
.
>>>>>>
--
********************
********************
Failed Tests (1):
IREE :: src/iree/compiler/Dialect/Util/Transforms/test/propagate_subranges.mlir
Testing Time: 0.14s
Failed: 1
Start 861: iree/base/loop_sync_test
10/870 Test #624: iree/compiler/Dialect/HAL/Conversion/HALToVM/test/device_ops.mlir.test ...................................................***Failed 0.49 sec
-- Testing: 1 tests, 1 workers --
FAIL: IREE :: src/iree/compiler/Dialect/HAL/Conversion/HALToVM/test/device_ops.mlir (1 of 1)
******************** TEST 'IREE :: src/iree/compiler/Dialect/HAL/Conversion/HALToVM/test/device_ops.mlir' FAILED ********************
Script:
--
: 'RUN: at line 1'; iree-opt --split-input-file --iree-convert-hal-to-vm --canonicalize /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Conversion/HALToVM/test/device_ops.mlir | FileCheck /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Conversion/HALToVM/test/device_ops.mlir
--
Exit Code: 1
Command Output (stderr):
--
within split at /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Conversion/HALToVM/test/device_ops.mlir:98 offset :17:13: error: custom op 'hal.device.queue.alloca' is unknown
%buffer = hal.device.queue.alloca<%device : !hal.device>
^
within split at /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Conversion/HALToVM/test/device_ops.mlir:123 offset :15:3: error: custom op 'hal.device.queue.dealloca' is unknown
hal.device.queue.dealloca<%device : !hal.device>
^
within split at /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Conversion/HALToVM/test/device_ops.mlir:144 offset :15:3: error: custom op 'hal.device.queue.execute' is unknown
hal.device.queue.execute<%device : !hal.device>
^
within split at /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Conversion/HALToVM/test/device_ops.mlir:165 offset :8:3: error: custom op 'hal.device.queue.flush' is unknown
hal.device.queue.flush<%device : !hal.device>
^
/usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Conversion/HALToVM/test/device_ops.mlir:100:17: error: CHECK-LABEL: expected string not found in input
// CHECK-LABEL: @device_queue_alloca
^
<stdin>:416:42: note: scanning from here
vm.func private @device_query_i1_default(%arg0: !vm.ref<!hal.device>) -> i32 {
^
<stdin>:426:12: note: possible intended match here
vm.export @device_query_i1_default
^
Input file: <stdin>
Check file: /usr/local/google/home/muralivi/iree/compiler/src/iree/compiler/Dialect/HAL/Conversion/HALToVM/test/device_ops.mlir
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
411: vm.import @hal.semaphore.create(%device : !vm.ref<!hal.device>, %initial_value : i64) -> !vm.ref<!hal.semaphore> attributes {nosideeffects, sym_visibility = "private"}
412: vm.import @hal.semaphore.query(%semaphore : !vm.ref<!hal.semaphore>) -> (i32, i64) attributes {sym_visibility = "private"}
413: vm.import @hal.semaphore.signal(%semaphore : !vm.ref<!hal.semaphore>, %new_value : i64) attributes {sym_visibility = "private"}
414: vm.import @hal.semaphore.fail(%semaphore : !vm.ref<!hal.semaphore>, %status : i32) attributes {sym_visibility = "private"}
415: vm.import @hal.semaphore.await(%semaphore : !vm.ref<!hal.semaphore>, %min_value : i64) -> i32 attributes {sym_visibility = "private", vm.yield}
416: vm.func private @device_query_i1_default(%arg0: !vm.ref<!hal.device>) -> i32 {
label:100'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
417: %c1 = vm.const.i32 1
label:100'0 ~~~~~~~~~~~~~~~~~~~~~~
418: %buffer = vm.rodata.inline "_utf8_sys_6974598A8D94DCAF" {alignment = 1 : i64} : !vm.buffer = "sys"
label:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
419: %buffer_0 = vm.rodata.inline "_utf8_foo_AFF8A909E08B2673" {alignment = 1 : i64} : !vm.buffer = "foo"
label:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
420: %0:2 = vm.call @hal.device.query.i64(%arg0, %buffer, %buffer_0) {nosideeffects} : (!vm.ref<!hal.device>, !vm.buffer, !vm.buffer) -> (i32, i64)
label:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
421: %1 = vm.trunc.i64.i32 %0#1 : i64 -> i32
label:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422: %2 = vm.and.i32 %1, %c1 : i32
label:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423: %3 = vm.select.i32 %0#0, %2, %c1 : i32
label:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424: vm.return %3 : i32
label:100'0 ~~~~~~~~~~~~~~~~~~~~
425: }
label:100'0 ~~~
426: vm.export @device_query_i1_default
label:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:100'1 ? possible intended match
427: }
label:100'0 ~~~
428: }
label:100'0 ~~
429:
label:100'0 ~
430:
label:100'0 ~
431: // -----
label:100'0 ~~~~~~~~~
.
.
.
>>>>>>
--
********************
********************
Failed Tests (1):
IREE :: src/iree/compiler/Dialect/HAL/Conversion/HALToVM/test/device_ops.mlir
Testing Time: 0.36s
Failed: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment