Граф коммитов
64512 Коммитов
Автор SHA1 Сообщение Дата
Sean Keely 965df6eef7 Basic SVM profiler.
Mostly a demo at this point.  Logs SVM (aka HMM) info to
HSA_SVM_PROFILE if set.

Example: HSA_SVM_PROFILE=log.txt SomeApp

Change-Id: Ib6fd688f661a21b2c695f586b833be93662a15f4
2022-06-23 19:30:06 -05:00
Sean Keely 2c54cc6419 Basic SVM profiler.
Mostly a demo at this point.  Logs SVM (aka HMM) info to
HSA_SVM_PROFILE if set.

Example: HSA_SVM_PROFILE=log.txt SomeApp

Change-Id: Ib6fd688f661a21b2c695f586b833be93662a15f4


[ROCm/ROCR-Runtime commit: 965df6eef7]
2022-06-23 19:30:06 -05:00
skhatri e7fc301aa7 Adding support for rocrtracer tools loading without environment variable
During hsa initializing stage, ROCr now searches all the loaded libraries
for a  symbol "HSA_AMD_TOOL_PRIORITY" and adds all those libraries to
the tools library init list.  Tools libraries listed in HSA_TOOLS_LIB
env variable are also loaded in the given order and take priority
over HSA_AMD_TOOL_PRIORITY.

Change-Id: I739af42bbd777c44a9152c11e17dd69979b65e82
2022-06-23 20:08:30 -04:00
skhatri 6b88a15fdc Adding support for rocrtracer tools loading without environment variable
During hsa initializing stage, ROCr now searches all the loaded libraries
for a  symbol "HSA_AMD_TOOL_PRIORITY" and adds all those libraries to
the tools library init list.  Tools libraries listed in HSA_TOOLS_LIB
env variable are also loaded in the given order and take priority
over HSA_AMD_TOOL_PRIORITY.

Change-Id: I739af42bbd777c44a9152c11e17dd69979b65e82


[ROCm/ROCR-Runtime commit: e7fc301aa7]
2022-06-23 20:08:30 -04:00
Sean Keely e7152c8b16 Add format script.
Adds a script to run clang-format on the latest patch so we don't
need to remember the command line.

Also applies missing formatting to the prior commit,
"Add API for available GPU memory".

Change-Id: Ida51aedc38af229f6a26e275072654860748fa93
2022-06-23 20:08:30 -04:00
Sean Keely 44278554de Add format script.
Adds a script to run clang-format on the latest patch so we don't
need to remember the command line.

Also applies missing formatting to the prior commit,
"Add API for available GPU memory".

Change-Id: Ida51aedc38af229f6a26e275072654860748fa93


[ROCm/ROCR-Runtime commit: e7152c8b16]
2022-06-23 20:08:30 -04:00
Victor Zhang d33cc9839e SWDEV-328158 - added modification license to changed files and removing trailing white spaces
Change-Id: I82f5ef84eac72821214d832a41e40e0f42cf66b9


[ROCm/clr commit: 8ba6c62394]
2022-06-23 16:58:03 -04:00
Victor Zhang 8ba6c62394 SWDEV-328158 - added modification license to changed files and removing trailing white spaces
Change-Id: I82f5ef84eac72821214d832a41e40e0f42cf66b9
2022-06-23 16:58:03 -04:00
Graham Sider 350eba3a07 kfdtest: Update gpuName logic for ip discovery
Kernel amd-staging-drm-next branch changes GFX11 fish_colour sysfs
naming to "ip discovery". Update run_kfdtest.sh to use sysfs
gfx_target_version for ASICs that have transitioned to IP discovery
topology.

Signed-off-by: Graham Sider <Graham.Sider@amd.com>
Change-Id: If202a0ceeed7324364539a33661f0abcf0973f07
2022-06-23 13:48:26 -04:00
Graham Sider 98df7779da kfdtest: Update gpuName logic for ip discovery
Kernel amd-staging-drm-next branch changes GFX11 fish_colour sysfs
naming to "ip discovery". Update run_kfdtest.sh to use sysfs
gfx_target_version for ASICs that have transitioned to IP discovery
topology.

Signed-off-by: Graham Sider <Graham.Sider@amd.com>
Change-Id: If202a0ceeed7324364539a33661f0abcf0973f07


[ROCm/ROCR-Runtime commit: 350eba3a07]
2022-06-23 13:48:26 -04:00
Jenkins 95559b6a1b SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: I1d67c00ff313f7f966358aec3c90455ff6d8ecbd


[ROCm/hip commit: 5fc4a132dc]
2022-06-23 12:49:42 -04:00
Jenkins 5fc4a132dc SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: I1d67c00ff313f7f966358aec3c90455ff6d8ecbd
2022-06-23 12:49:42 -04:00
Sreekant Somasekharan 37136ee50e Add rsmi lib function to get memory overdrive value
Change-Id: I515b51d5ce4baf966bb31714886a0d72330026bc


[ROCm/rocm_smi_lib commit: 1432e5e040]
2022-06-23 11:42:50 -04:00
Sreekant Somasekharan 1432e5e040 Add rsmi lib function to get memory overdrive value
Change-Id: I515b51d5ce4baf966bb31714886a0d72330026bc
2022-06-23 11:42:50 -04:00
Elena Sakhnovitch 19bbfffbfc [rocm_smi.py] Hiding unnecessary N/A lines
Hiding not applicable/unsupported sensors under INFO

Signed-off-by: Elena Sakhnovitch
Change-Id: I89c80ca7c6365ef3a2dd751a575ddf90044c8a2e


[ROCm/rocm_smi_lib commit: 0f88f59ddd]
2022-06-23 11:02:13 -04:00
Elena Sakhnovitch 0f88f59ddd [rocm_smi.py] Hiding unnecessary N/A lines
Hiding not applicable/unsupported sensors under INFO

Signed-off-by: Elena Sakhnovitch
Change-Id: I89c80ca7c6365ef3a2dd751a575ddf90044c8a2e
2022-06-23 11:02:13 -04:00
Satyanvesh Dittakavi 32a73102ea SWDEV-336538 - Return hipErrorNotSupported for unsupported APIs
Change-Id: Ie54771c2f58eebacdc0248bc116ef093f99eb9b8


[ROCm/clr commit: c6647487e0]
2022-06-23 07:31:31 -04:00
Satyanvesh Dittakavi c6647487e0 SWDEV-336538 - Return hipErrorNotSupported for unsupported APIs
Change-Id: Ie54771c2f58eebacdc0248bc116ef093f99eb9b8
2022-06-23 07:31:31 -04:00
Jonathan R. Madsen 785c0d07cc Update dyninst submodule (#65)
* Update dyninst submodule

* Update dyninst submodule

- fixes to install interface libs of Boost, ElfUtils, and LibIberty

[ROCm/rocprofiler-systems commit: be7b03e76f]
2022-06-22 18:07:57 -05:00
Jonathan R. Madsen be7b03e76f Update dyninst submodule (#65)
* Update dyninst submodule

* Update dyninst submodule

- fixes to install interface libs of Boost, ElfUtils, and LibIberty
2022-06-22 18:07:57 -05:00
Graham Sider e17b159230 libhsakmt: Make queue memory allocation non-paged
Non-paged allocation for queue memory necessary for binding wptr to
GART. Required to support usermode queue oversubscription with MES on
GFX11.

Change ensures queue memory does not specify ATS.

Signed-off-by: Graham Sider <Graham.Sider@amd.com>
Change-Id: I10b23b0205c90dad902c711a88cfb5e9b4979617
2022-06-22 18:37:26 -04:00
Graham Sider 149d8b59ab libhsakmt: Make queue memory allocation non-paged
Non-paged allocation for queue memory necessary for binding wptr to
GART. Required to support usermode queue oversubscription with MES on
GFX11.

Change ensures queue memory does not specify ATS.

Signed-off-by: Graham Sider <Graham.Sider@amd.com>
Change-Id: I10b23b0205c90dad902c711a88cfb5e9b4979617


[ROCm/ROCR-Runtime commit: e17b159230]
2022-06-22 18:37:26 -04:00
ROCm CI Service Account 654537cc71 SWDEV-306122 - [catch2][dtest] Adding following tests for hipGraphExecEventWaitNodeSetEvent() API. (#2763)
- Functional Test
- Negative Tests

Change-Id: I80ba185c4892162e68945f82b3c1cc9ffd9c105c


[ROCm/hip-tests commit: 95da4e27aa]
2022-06-22 15:33:09 -07:00
ROCm CI Service Account 95da4e27aa SWDEV-306122 - [catch2][dtest] Adding following tests for hipGraphExecEventWaitNodeSetEvent() API. (#2763)
- Functional Test
- Negative Tests

Change-Id: I80ba185c4892162e68945f82b3c1cc9ffd9c105c
2022-06-22 15:33:09 -07:00
ROCm CI Service Account a246d38f43 SWDEV-306122 - [catch2][dtest] Adding following tests for hipGraphExecEventWaitNodeSetEvent() API. (#2763)
- Functional Test
- Negative Tests

Change-Id: I80ba185c4892162e68945f82b3c1cc9ffd9c105c


[ROCm/hip commit: c7884fe741]
2022-06-22 15:33:09 -07:00
ROCm CI Service Account c7884fe741 SWDEV-306122 - [catch2][dtest] Adding following tests for hipGraphExecEventWaitNodeSetEvent() API. (#2763)
- Functional Test
- Negative Tests

Change-Id: I80ba185c4892162e68945f82b3c1cc9ffd9c105c
2022-06-22 15:33:09 -07:00
ROCm CI Service Account b984598246 SWDEV-336538 - Update hipDeviceSetSharedMemConfig test (#2764)
Change-Id: Idc146a77007618454150a974a54b74cb2ef9ea31


[ROCm/hip-tests commit: 19b94c4be7]
2022-06-22 15:09:24 -07:00
ROCm CI Service Account 19b94c4be7 SWDEV-336538 - Update hipDeviceSetSharedMemConfig test (#2764)
Change-Id: Idc146a77007618454150a974a54b74cb2ef9ea31
2022-06-22 15:09:24 -07:00
ROCm CI Service Account 5980fb069c SWDEV-336538 - Update hipDeviceSetSharedMemConfig test (#2764)
Change-Id: Idc146a77007618454150a974a54b74cb2ef9ea31


[ROCm/hip commit: 334df00d36]
2022-06-22 15:09:24 -07:00
ROCm CI Service Account 334df00d36 SWDEV-336538 - Update hipDeviceSetSharedMemConfig test (#2764)
Change-Id: Idc146a77007618454150a974a54b74cb2ef9ea31
2022-06-22 15:09:24 -07:00
Jonathan R. Madsen 8ef1b17ed4 Update timemory submodule (#64)
* Update timemory submodule

* Update timemory submodule

- updates timemory's pybind11 submodule due to VS 2022 debug issue

* Drop a commit in timemory submodule

[ROCm/rocprofiler-systems commit: e2ee542760]
2022-06-22 15:52:13 -05:00
Jonathan R. Madsen e2ee542760 Update timemory submodule (#64)
* Update timemory submodule

* Update timemory submodule

- updates timemory's pybind11 submodule due to VS 2022 debug issue

* Drop a commit in timemory submodule
2022-06-22 15:52:13 -05:00
Ranjith Ramakrishnan 52bea549e3 : Use GNUInstallDirs
Use GNUInstallDirs variables in post install scripts

Change-Id: Id0e3e37d412a30521d9846082d025a9e19a43942
2022-06-22 16:28:06 -04:00
Ranjith Ramakrishnan 8127554371 : Use GNUInstallDirs
Use GNUInstallDirs variables in post install scripts

Change-Id: Id0e3e37d412a30521d9846082d025a9e19a43942


[ROCm/ROCR-Runtime commit: 52bea549e3]
2022-06-22 16:28:06 -04:00
Jonathan R. Madsen ca8d383772 libomnitrace uses common headers (#62)
* libomnitrace uses common headers

- JOIN(...) uses ::omnitrace::common::join instead of ::tim::mpl::apply<>::join

* Update lib/common CMake

[ROCm/rocprofiler-systems commit: 335f309b8f]
2022-06-22 15:19:34 -05:00
Jonathan R. Madsen 335f309b8f libomnitrace uses common headers (#62)
* libomnitrace uses common headers

- JOIN(...) uses ::omnitrace::common::join instead of ::tim::mpl::apply<>::join

* Update lib/common CMake
2022-06-22 15:19:34 -05:00
Jonathan R. Madsen 6a5fef55b5 Update PTL submodule (#63)
[ROCm/rocprofiler-systems commit: 25e42be09f]
2022-06-22 15:18:44 -05:00
Jonathan R. Madsen 25e42be09f Update PTL submodule (#63) 2022-06-22 15:18:44 -05:00
Jonathan R. Madsen 4d70eb1ed5 Rename OMNITRACE_ROCM_SMI_DEVICES to OMNITRACE_SAMPLING_GPUS (#58)
- support ranges in OMNITRACE_SAMPLING_GPUS

[ROCm/rocprofiler-systems commit: 354bbf2a32]
2022-06-22 15:01:13 -05:00
Jonathan R. Madsen 354bbf2a32 Rename OMNITRACE_ROCM_SMI_DEVICES to OMNITRACE_SAMPLING_GPUS (#58)
- support ranges in OMNITRACE_SAMPLING_GPUS
2022-06-22 15:01:13 -05:00
Ajay 6596275caf SWDEV-337331 - command queue logs for debugging option
Change-Id: I198aecc5fd12369d87d4acc9910acc9435c1967a


[ROCm/clr commit: 236178d0d4]
2022-06-22 19:41:38 +00:00
Ajay 236178d0d4 SWDEV-337331 - command queue logs for debugging option
Change-Id: I198aecc5fd12369d87d4acc9910acc9435c1967a
2022-06-22 19:41:38 +00:00
ROCm CI Service Account 76c9a958ea SWDEV-341956 - update coordinates in dtest runtimeApi (#2761)
Change-Id: I058afba16452d1831067faf31020c979e5a99fa7


[ROCm/hip commit: 45870b83b2]
2022-06-22 12:06:02 -07:00
ROCm CI Service Account 45870b83b2 SWDEV-341956 - update coordinates in dtest runtimeApi (#2761)
Change-Id: I058afba16452d1831067faf31020c979e5a99fa7
2022-06-22 12:06:02 -07:00
ROCm CI Service Account 20844fd79d SWDEV-332251 - packaging hip catch tests (#2751)
use "make package_test" to create test packages for catch folder

Change-Id: I1dbcfc8d55bb236b1c8c160d47018d57cb9e0534


[ROCm/hip-tests commit: 261d606262]
2022-06-22 11:18:27 -07:00
ROCm CI Service Account 261d606262 SWDEV-332251 - packaging hip catch tests (#2751)
use "make package_test" to create test packages for catch folder

Change-Id: I1dbcfc8d55bb236b1c8c160d47018d57cb9e0534
2022-06-22 11:18:27 -07:00
ROCm CI Service Account 7033ff5c6b SWDEV-332251 - packaging hip catch tests (#2751)
use "make package_test" to create test packages for catch folder

Change-Id: I1dbcfc8d55bb236b1c8c160d47018d57cb9e0534


[ROCm/hip commit: cc15c5e940]
2022-06-22 11:18:27 -07:00
ROCm CI Service Account cc15c5e940 SWDEV-332251 - packaging hip catch tests (#2751)
use "make package_test" to create test packages for catch folder

Change-Id: I1dbcfc8d55bb236b1c8c160d47018d57cb9e0534
2022-06-22 11:18:27 -07:00
Ajay 4c12b879e3 SWDEV-342542 - Support hipGetStreamDeviceId on Windows
Change-Id: I3f79fb4f3058cd7335c5ca2363cf1659a0a7f6ad


[ROCm/clr commit: 2962d2ecf1]
2022-06-22 12:18:03 -04:00
Ajay 2962d2ecf1 SWDEV-342542 - Support hipGetStreamDeviceId on Windows
Change-Id: I3f79fb4f3058cd7335c5ca2363cf1659a0a7f6ad
2022-06-22 12:18:03 -04:00