[MLIR][GPU] Add 16-bit version of cudaMemset in cudaRuntimeWrappers
authorNavdeep Katel <navdeep@polymagelabs.com>
Mon, 5 Jun 2023 06:39:35 +0000 (12:09 +0530)
committerUday Bondhugula <uday@polymagelabs.com>
Thu, 8 Jun 2023 12:03:26 +0000 (17:33 +0530)
commit18cc07aa07f6784cc59a4b4cfe33522867805586
tree8527bb1fea6ac685861914278be12ed32c58a5e9
parent6a3fe0f121fac1a55ead649cc25bcc92d038472f
[MLIR][GPU] Add 16-bit version of cudaMemset in cudaRuntimeWrappers

Add 16-bit version of cudaMemset in cudaRuntimeWrappers and update the GPU to LLVM lowering.

Reviewed By: bondhugula

Differential Revision: https://reviews.llvm.org/D151642
mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp
mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp
mlir/test/Conversion/GPUCommon/typed-pointers.mlir