blob: 1f9c47a8a754e145991660e0bbf4edcdde43ceaa [file]
// RUN: iree-run-mlir -iree-hal-target-backends=vmla %s -input-value="17xi8= 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17" | IreeFileCheck %s
// RUN: [[ $IREE_VULKAN_DISABLE == 1 ]] || (iree-run-mlir -iree-hal-target-backends=vulkan-spirv %s -input-value="17xi8= 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17" | IreeFileCheck %s)
// CHECK-LABEL: EXEC @load_i8
func @load_i8(%arg : tensor<17xi8>) -> tensor<17xi32> {
%0 = "xla_hlo.convert"(%arg) : (tensor<17xi8>) -> tensor<17xi32>
return %0 : tensor<17xi32>
}
// CHECK: 17xi32=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17