[all-commits] [llvm/llvm-project] 1c2a07: [MLIR][CUDA] Update export macros in CudaRuntimeWr...

Adam Paszke via All-commits all-commits at lists.llvm.org
Thu Nov 30 05:57:54 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c2a0768de7a670161b90f9eac8bbe484ad017a6
      https://github.com/llvm/llvm-project/commit/1c2a0768de7a670161b90f9eac8bbe484ad017a6
  Author: Adam Paszke <apaszke at google.com>
  Date:   2023-11-30 (Thu, 30 Nov 2023)

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

  Log Message:
  -----------
  [MLIR][CUDA] Update export macros in CudaRuntimeWrappers (#73932)

This fixes a few issues present in the current version:
1) The macro doesn't enforce the default visibility on exported
   functions, causing compilation to fail when using
   `-fvisibility=hidden`
2) Not all functions are exported
3) Sometimes the macro ended up weirdly interleaved with `extern "C"`
   declarations




More information about the All-commits mailing list