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

Sergio Afonso via All-commits all-commits at lists.llvm.org
Tue Jan 14 02:28:29 PST 2025


  Branch: refs/heads/users/skatrak/host-eval-03-ompirbuilder-struct
  Home:   https://github.com/llvm/llvm-project
  Commit: 219d430cf7697eb2c4bcb5832695571ff472e0e2
      https://github.com/llvm/llvm-project/commit/219d430cf7697eb2c4bcb5832695571ff472e0e2
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2025-01-14 (Tue, 14 Jan 2025)

  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