xla icon indicating copy to clipboard operation
xla copied to clipboard

[xla:runtime] Add support of passing async values to runtime executable

Open copybara-service[bot] opened this issue 2 years ago • 0 comments
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
 }

copybara-service[bot] avatar Mar 15 '23 22:03 copybara-service[bot]