[all-commits] [llvm/llvm-project] 3635c7: [mlir][gpu][sparse] gracefully accept zero size al...

Aart Bik via All-commits all-commits at lists.llvm.org
Tue Sep 12 13:07:37 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3635c7437558870aa17310ff55074c48ab5683f8
  Author: Aart Bik <39774503+aartbik at users.noreply.github.com>
  Date:   2023-09-12 (Tue, 12 Sep 2023)

  Changed paths:
    M mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp

  Log Message:
  [mlir][gpu][sparse] gracefully accept zero size allocation (#66127)

This cleans up a unnecessary code that changes zero size allocation to
avoid the following error message

'cuMemAlloc(&ptr, sizeBytes)' failed with 'CUDA_ERROR_INVALID_VALUE'

More information about the All-commits mailing list