[all-commits] [llvm/llvm-project] ff9aab: [mlir][vulkan-runner] Use aligned pointer for host...

Shenghang Tsai via All-commits all-commits at lists.llvm.org
Mon Aug 22 17:43:36 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ff9aab757203dfda9945ea4705bf633e20d380ff
  Author: jackalcooper <jackalcooper at gmail.com>
  Date:   2022-08-22 (Mon, 22 Aug 2022)

  Changed paths:
    M mlir/tools/mlir-vulkan-runner/vulkan-runtime-wrappers.cpp

  Log Message:
  [mlir][vulkan-runner] Use aligned pointer for host buffer

Fix incorrect pointer usage in Vulkan buffer and Memref descriptor binding:
- Vulkan runtime produced incorrect result if there is alignment.
- There was illegal memory access if binding a LLVM global materialized
  from a constant op (0xdeadbeef).

Reviewed By: antiagainst

Differential Revision: https://reviews.llvm.org/D132291

More information about the All-commits mailing list