xla
xla copied to clipboard
[xla:runtime] Add support of passing async values to runtime executable
trafficstars
[xla:runtime] Add support of passing async values to runtime executable
This change adds the support of passing async values to runtime executable, ex.,
async.func @test(%arg0: !async.value<i32>, %arg1: i32) -> !async.value<i32> {
%0 = async.await %arg0 : !async.value<i32>
%1 = arith.addi %0, %arg1 : i32
return %1 : i32
}