[mlir] fix the types used during the generation of the kernel param array
authorTobias Gysi <tobias.gysi@gmail.com>
Wed, 7 Oct 2020 14:18:46 +0000 (16:18 +0200)
committerTobias Gysi <tobias.gysi@gmail.com>
Wed, 7 Oct 2020 14:18:46 +0000 (16:18 +0200)
commit149dc94c1d52c5f78e2aadb57a72dd437fe55aa1
tree79f43c48d5ad26bc6c64a8015717066f7555148f
parent82311766d993f730506cb82471d7349a380a5df7
[mlir] fix the types used during the generation of the kernel param array

The patch fixes the types used to access the elements of the kernel parameter structure from a pointer to the structure to a pointer to the actual parameter type.

Reviewed By: csigg

Differential Revision: https://reviews.llvm.org/D88959
mlir/lib/Conversion/GPUCommon/ConvertLaunchFuncToRuntimeCalls.cpp