blob: 6d389f45127390948dcbda7165f05400f0947cff [file] [edit]
// RUN: not mlir-opt %s --pass-pipeline='builtin.module(any(acc-bind-routine))' 2>&1 | FileCheck %s
module {
acc.routine @r func(@wrapped) seq bind("actual_impl")
func.func private @wrapped()
attributes {acc.routine_info = #acc.routine_info<[@r]>}
func.func @entry() {
acc.serial {
func.call @wrapped() : () -> ()
acc.yield
}
return
}
}
// CHECK: error: string-bound ACC routine target was not materialized