[all-commits] [llvm/llvm-project] 9b6ea5: [OpenMP] Improve omp offload profiler (#68016)

Felipe Cabarcas via All-commits all-commits at lists.llvm.org
Fri Dec 22 11:58:24 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b6ea5e8f8df3c043fba0a2896ab16d682af01cc
      https://github.com/llvm/llvm-project/commit/9b6ea5e8f8df3c043fba0a2896ab16d682af01cc
  Author: Felipe Cabarcas <110852406+fel-cab at users.noreply.github.com>
  Date:   2023-12-22 (Fri, 22 Dec 2023)

  Changed paths:
    M openmp/libomptarget/include/Shared/Profile.h
    M openmp/libomptarget/src/OpenMP/API.cpp
    M openmp/libomptarget/src/interface.cpp
    M openmp/libomptarget/src/omptarget.cpp

  Log Message:
  -----------
  [OpenMP] Improve omp offload profiler (#68016)

Summary:
Adding information to the LIBOMPTARGET profiler runtime kernel and API
calls.

Key changes:
* Adding information to runtime calls for better understanding of how
the application
is executing. For example teams requested by the user, size of memory
transfers.
* Profile timer was changed from 'us' to 'ns', since 'us' was too
coarse-grain
  to register some important details like key kernel duration
* Removed non API or Runtime calls, to reduce complexity of profile for
application
  developers.

---------

Co-authored-by: Felipe Cabarcas <cabarcas at leia.crpl.cis.udel.edu>
Co-authored-by: fel-cab <fel-cab at github.com>




More information about the All-commits mailing list