[all-commits] [llvm/llvm-project] f2f5f1: [OMPIRBuilder] Do not call __kmpc_push_num_threads...

Dominik Adamski via All-commits all-commits at lists.llvm.org
Fri Nov 10 11:39:09 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f2f5f1bfb6fa01177f3607301909b6c8f58bd1cd
      https://github.com/llvm/llvm-project/commit/f2f5f1bfb6fa01177f3607301909b6c8f58bd1cd
  Author: Dominik Adamski <dominik.adamski at amd.com>
  Date:   2023-11-10 (Fri, 10 Nov 2023)

  Changed paths:
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M mlir/test/Target/LLVMIR/omptarget-parallel-llvm.mlir

  Log Message:
  -----------
  [OMPIRBuilder] Do not call __kmpc_push_num_threads for device parallel (#71934)

Function __kmpc_push_num_threads should be called only if we specify
number of threads for host parallel region.

Number of threads specified by the user should be passed as one of
arguments of __kmpc_parallel_51 function.




More information about the All-commits mailing list