Changes

Summary

  1. [MLIR] Pass hostShared flag in gpu.alloc op to runtime wrappers (#66401) (details)
Commit 1002a1d058e3833711bf2f7840fd7d0c1b02c981 by github
[MLIR] Pass hostShared flag in gpu.alloc op to runtime wrappers (#66401)

This PR is a breakdown of the big PR
https://github.com/llvm/llvm-project/pull/65539 which enables intel gpu
integration. In this PR we pass hostShared flag to runtime wrappers
(required by SyclRuntimeWrappers which will come in subsequent PR) to
indicate if the allocation is done on host shared gpu memory or device
only memory.
The file was modifiedmlir/lib/ExecutionEngine/RocmRuntimeWrappers.cpp (diff)
The file was modifiedmlir/test/Conversion/GPUCommon/lower-alloc-to-gpu-runtime-calls.mlir (diff)
The file was modifiedmlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp (diff)
The file was modifiedmlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp (diff)
The file was modifiedmlir/test/Conversion/GPUCommon/typed-pointers.mlir (diff)