[all-commits] [llvm/llvm-project] 1002a1: [MLIR] Pass hostShared flag in gpu.alloc op to run...

Nishant Patel via All-commits all-commits at lists.llvm.org
Tue Sep 26 15:32:24 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1002a1d058e3833711bf2f7840fd7d0c1b02c981
      https://github.com/llvm/llvm-project/commit/1002a1d058e3833711bf2f7840fd7d0c1b02c981
  Author: Nishant Patel <nishant.b.patel at intel.com>
  Date:   2023-09-26 (Tue, 26 Sep 2023)

  Changed paths:
    M mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp
    M mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp
    M mlir/lib/ExecutionEngine/RocmRuntimeWrappers.cpp
    M mlir/test/Conversion/GPUCommon/lower-alloc-to-gpu-runtime-calls.mlir
    M mlir/test/Conversion/GPUCommon/typed-pointers.mlir

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list