파일
rocm-systems/projects/rocprofiler-compute/cmake/rocprofcompute.lua.in
T

.git-blame-ignore-revs에 있는 리비전을 무시합니다. 일반 blame 보기를 보려면 여기를 클릭하여 우회하세요.

32 라인
954 B
Plaintext
Raw 일반 보기 히스토리

2022-11-04 14:49:36 -05:00
local help_message = [[
ROCm Compute Profiler is an open-source performance analysis tool for profiling
2022-11-04 14:49:36 -05:00
machine learning/HPC workloads running on AMD MI GPUs.
Version @ROCPROFCOMPUTE_FULL_VERSION@
2022-11-04 14:49:36 -05:00
]]
help(help_message,"\n")
whatis("Name: @PROJECT_NAME@")
whatis("Version: @ROCPROFCOMPUTE_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/ROCm/rocm-systems/tree/develop/projects/rocprofiler-compute")
2022-11-04 14:49:36 -05:00
-- 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("ROCPROFCOMPUTE_DIR",topDir)
setenv("ROCPROFCOMPUTE_BIN",binDir)
setenv("ROCPROFCOMPUTE_SHARE",shareDir)
2022-11-04 14:49:36 -05:00
-- Update relevant PATH variables
prepend_path("PATH",binDir)
if ( pythonDeps ~= "" ) then
prepend_path("PYTHONPATH",pythonDeps)
end