[ROCm] Fix the return type for the device function calls from i32 to i64.
authorDeven Desai <36858332+deven-amd@users.noreply.github.com>
Wed, 9 Oct 2019 00:19:03 +0000 (17:19 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Wed, 9 Oct 2019 00:41:42 +0000 (17:41 -0700)
commit956a8311306bd21eee33ddbe9575fed5c1f8877a
treebcf060e1e3a10add3356347fed6a9ed904295036
parentd21ba951de62baf463097bfbe3fbba9dea9cf91a
[ROCm] Fix the return type for the device function calls from i32 to i64.

This is matching what the runtime library is expecting.

Closes tensorflow/mlir#171

COPYBARA_INTEGRATE_REVIEW=https://github.com/tensorflow/mlir/pull/171 from deven-amd:deven-rocdl-device-func-i64 80762629a8c34e844ebdc542b34dd783990db9db
PiperOrigin-RevId: 273640767
mlir/lib/Target/LLVMIR/ConvertToROCDLIR.cpp
mlir/test/Target/rocdl.mlir