Files
rocm-systems/cmake/omniperf.lua.in
T

33 строки
867 B
Plaintext
Исходник Обычный вид История

2022-11-04 14:49:36 -05:00
local help_message = [[
Omniperf is an open-source performance analysis tool for profiling
machine learning/HPC workloads running on AMD MI GPUs.
Version @OMNIPERF_FULL_VERSION@
2022-11-04 14:49:36 -05:00
]]
help(help_message,"\n")
whatis("Name: omniperf")
whatis("Version: @OMNIPERF_FULL_VERSION@")
2022-11-04 14:49:36 -05:00
whatis("Keywords: Profiling, Performance, GPU")
whatis("Description: tool for GPU performance profiling")
whatis("URL: https://github.com/AMDResearch/omniperf")
-- Export environmental variables
local topDir="@CMAKE_INSTALL_PREFIX@"
local binDir="@CMAKE_INSTALL_FULL_BINDIR@"
local shareDir="@CMAKE_INSTALL_FULL_DATADIR@"
local pythonDeps="@PYTHON_DEPS@"
setenv("OMNIPERF_DIR",topDir)
setenv("OMNIPERF_BIN",binDir)
setenv("OMNIPERF_SHARE",shareDir)
-- Update relevant PATH variables
prepend_path("PATH",binDir)
if ( pythonDeps ~= "" ) then
prepend_path("PYTHONPATH",pythonDeps)
end