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

Sergio Afonso via All-commits all-commits at lists.llvm.org
Wed Nov 13 05:22:40 PST 2024


  Branch: refs/heads/users/skatrak/host-eval-03-ompirbuilder-struct
  Home:   https://github.com/llvm/llvm-project
  Commit: 1fcfe48114bdda7be545b6bfaa710b6e639670d3
      https://github.com/llvm/llvm-project/commit/1fcfe48114bdda7be545b6bfaa710b6e639670d3
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-11-13 (Wed, 13 Nov 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