[all-commits] [llvm/llvm-project] e3cdc9: [OMPIRBuilder] Introduce struct to hold default ke...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Wed Dec 4 05:42:15 PST 2024


  Branch: refs/heads/users/skatrak/host-eval-03-ompirbuilder-struct
  Home:   https://github.com/llvm/llvm-project
  Commit: e3cdc93fbeea22ed151178c54c5d9186b8bd55c4
      https://github.com/llvm/llvm-project/commit/e3cdc93fbeea22ed151178c54c5d9186b8bd55c4
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-12-04 (Wed, 04 Dec 2024)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/lib/CodeGen/CGOpenMPRuntime.h
    M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
    M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/test/Target/LLVMIR/omptarget-region-device-llvm.mlir

  Log Message:
  -----------
  [OMPIRBuilder] Introduce struct to hold default kernel teams/threads

This patch introduces the `OpenMPIRBuilder::TargetKernelDefaultAttrs` structure
used to simplify passing default and constant values for number of teams and
threads, and possibly other target kernel-related information in the future.

This is used to forward values passed to `createTarget` to `createTargetInit`,
which previously used a default unrelated set of values.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list