[all-commits] [llvm/llvm-project] 2240b4: [libomptarget] [amdgpu] Fix default setting of max...

dhruvachak via All-commits all-commits at lists.llvm.org
Tue Jun 29 13:48:00 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2240b41ee4f30fe938975677a0a5a2c5c26d271b
      https://github.com/llvm/llvm-project/commit/2240b41ee4f30fe938975677a0a5a2c5c26d271b
  Author: Dhruva Chakrabarti <Dhruva.Chakrabarti at amd.com>
  Date:   2021-06-29 (Tue, 29 Jun 2021)

  Changed paths:
    M openmp/libomptarget/plugins/amdgpu/src/rtl.cpp

  Log Message:
  -----------
  [libomptarget] [amdgpu] Fix default setting of max flat workgroup size

When max flat workgroup size is not specified, it is set to the default
workgroup size. This prevents kernel launch with a workgroup size larger
than the default. The fix is to ignore a size of 0 and treat it as
unspecified.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D105073




More information about the All-commits mailing list