782efc6c16
Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
33 라인
867 B
Plaintext
33 라인
867 B
Plaintext
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@
|
|
]]
|
|
|
|
help(help_message,"\n")
|
|
|
|
whatis("Name: omniperf")
|
|
whatis("Version: @OMNIPERF_FULL_VERSION@")
|
|
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
|
|
|