76333 Коммитов
Автор SHA1 Сообщение Дата
Jonathan R. Madsen 049fe2a355 omnitrace builds timemory with TIMEMORY_USE_ROOFLINE=0 (#96) 2022-07-21 11:15:40 -05:00
Jonathan R. Madsen 579025d9b7 Replaces OMNITRACE_CONDITIONAL_BASIC_PRINT with OMNITRACE_VERBOSE (#97)
Replaces OMNITRACE_CONDITIONAL_BASIC_PRINT with OMNITRACE_VERBOSE and similar where possible

[ROCm/rocprofiler-systems commit: c006e542a5]
2022-07-21 11:15:26 -05:00
Jonathan R. Madsen c006e542a5 Replaces OMNITRACE_CONDITIONAL_BASIC_PRINT with OMNITRACE_VERBOSE (#97)
Replaces OMNITRACE_CONDITIONAL_BASIC_PRINT with OMNITRACE_VERBOSE and similar where possible
2022-07-21 11:15:26 -05:00
Divya Shikre f1154d2599 Add perf determinism to perf_level_string
This fixes the 'unknown' value being displayed
for Perf Level because of a missing mapping of
RSMI_DEV_PERF_LEVEL_DETERMINISM to its string
value.

Signed-off-by: Divya Shikre <DivyaUday.Shikre@amd.com>
Change-Id: I479c2baea450f0ff61640ad81cbd4d08ad56ff8e


[ROCm/rocm_smi_lib commit: 8144dd4d8e]
2022-07-21 08:55:38 -04:00
Divya Shikre 8144dd4d8e Add perf determinism to perf_level_string
This fixes the 'unknown' value being displayed
for Perf Level because of a missing mapping of
RSMI_DEV_PERF_LEVEL_DETERMINISM to its string
value.

Signed-off-by: Divya Shikre <DivyaUday.Shikre@amd.com>
Change-Id: I479c2baea450f0ff61640ad81cbd4d08ad56ff8e
2022-07-21 08:55:38 -04:00
Divya Shikre 4d175f7726 Add perf determinism to perf_level_string
This fixes the 'unknown' value being displayed
for Perf Level because of a missing mapping of
RSMI_DEV_PERF_LEVEL_DETERMINISM to its string
value.

Signed-off-by: Divya Shikre <DivyaUday.Shikre@amd.com>
Change-Id: I479c2baea450f0ff61640ad81cbd4d08ad56ff8e


[ROCm/amdsmi commit: 8144dd4d8e]
2022-07-21 08:55:38 -04:00
Jonathan R. Madsen 58350bba5c Sampling Tweaks: disable sampling itimer (#95)
* tweak starting sampling on main thread

- rename omnitrace::common::utility to omnitrace::common::path
- tracing::thread_init_sampling does not start sampling on main thread

* Cancel sampling itimers + timemory submodule update

- updates timemory submodule with support for cancelling itimer and SIGRTMIN through SIGRTMAX

[ROCm/rocprofiler-systems commit: 400e5078ed]
2022-07-21 03:55:41 -05:00
Jonathan R. Madsen 400e5078ed Sampling Tweaks: disable sampling itimer (#95)
* tweak starting sampling on main thread

- rename omnitrace::common::utility to omnitrace::common::path
- tracing::thread_init_sampling does not start sampling on main thread

* Cancel sampling itimers + timemory submodule update

- updates timemory submodule with support for cancelling itimer and SIGRTMIN through SIGRTMAX
2022-07-21 03:55:41 -05:00
ROCm CI Service Account 98c284f7db SWDEV-340007 - make correction in readme.md (#2817)
Change-Id: Icbf61dc36ae7944173399f89fa68058e25e154c2

[ROCm/hip commit: 1f11cabcbb]
2022-07-21 13:49:37 +05:30
ROCm CI Service Account 1f11cabcbb SWDEV-340007 - make correction in readme.md (#2817)
Change-Id: Icbf61dc36ae7944173399f89fa68058e25e154c2
2022-07-21 13:49:37 +05:30
ROCm CI Service Account 93920e324c SWDEV-325711 - Add skeleton for userobject functions (#2816)
- add APIs to interface

Change-Id: I5946d5f276bd03d05a85c40bec1ace0ad28a2b7c

[ROCm/hip commit: d98ac8a31d]
2022-07-21 13:49:19 +05:30
ROCm CI Service Account d98ac8a31d SWDEV-325711 - Add skeleton for userobject functions (#2816)
- add APIs to interface

Change-Id: I5946d5f276bd03d05a85c40bec1ace0ad28a2b7c
2022-07-21 13:49:19 +05:30
ROCm CI Service Account 06b0443513 SWDEV-286739 - Support hipDeviceAttributeWallClockRate (#2815)
Part 2: Add hipDeviceAttributeWallClockRate and wallClockRate property

Change-Id: I52cbba6d67d21cde6d019c5ab530159f426a9bf6

[ROCm/hip commit: 1d710dcb58]
2022-07-21 13:49:00 +05:30
ROCm CI Service Account 1d710dcb58 SWDEV-286739 - Support hipDeviceAttributeWallClockRate (#2815)
Part 2: Add hipDeviceAttributeWallClockRate and wallClockRate property

Change-Id: I52cbba6d67d21cde6d019c5ab530159f426a9bf6
2022-07-21 13:49:00 +05:30
ROCm CI Service Account 0112f339b0 SWDEV-340007 - Re-organize some sections of HIP APIs doxygen and add missing doxygens (#2814)
Change-Id: Ifcd5f1276bfc70e54b83613e57ccf5d50a667cac

[ROCm/hip commit: e924565134]
2022-07-21 13:48:43 +05:30
ROCm CI Service Account e924565134 SWDEV-340007 - Re-organize some sections of HIP APIs doxygen and add missing doxygens (#2814)
Change-Id: Ifcd5f1276bfc70e54b83613e57ccf5d50a667cac
2022-07-21 13:48:43 +05:30
Jonathan R. Madsen 17cf00c51d fix omnitrace print-* with libraries (#94)
* fix omnitrace print-* with libraries

* timemory submodule update

* Update workflows to use ./bin/omnitrace instead of ./omnitrace

* cmake format

* update timemory submodule

- fix ODR violations in utility/procfs

* cmake updates

- uniform find_package for all ROCm-based libraries

* tweak transpose example

- throw exception instead of std::exit

* Inspect cmdv name before assuming not exe

- some ELF execs "think" they are libraries so only assume rewrite + simulate + all-functions if filename looks like library
- adds some test for --print-available -- <library>

* Fix _has_lib_prefix when command is < 3

* Updates and reverts to omnitrace exe

- update module_function operator< and operator==
- add function_signature operator<
- refactor module_function ctor
- revert some previous changes w.r.t. simulate and include_unninstr

* Fix source/bin/tests to use same output dir as tests

* cmake format

* Segfault mitigation + refactor + modify function iteration

- refactor module_function ctor to avoid segfaults
- string_t -> std::string
- replace std::string with std::string_view in some places
- get_name(module_t*)
- get_name(procedure_t*)
- disable using both app_modules and app_functions
- new option: --parse-all-modules to iterate over app_modules
- removed some unused code w.r.t. debug info

* Disable module_function address range for uninstrumentable functions

* Disable module_function address range for uninstrumentable functions

* Refactored getting file/line info and init/fini

- use dyninst insertInitCallback and insertFiniCallback if main not found
- fixed all issues with segmentation faults in --simulate --all-functions

* revert changes to Findrocprofiler.cmake

[ROCm/rocprofiler-systems commit: d04cbe862e]
2022-07-21 01:15:41 -05:00
Jonathan R. Madsen d04cbe862e fix omnitrace print-* with libraries (#94)
* fix omnitrace print-* with libraries

* timemory submodule update

* Update workflows to use ./bin/omnitrace instead of ./omnitrace

* cmake format

* update timemory submodule

- fix ODR violations in utility/procfs

* cmake updates

- uniform find_package for all ROCm-based libraries

* tweak transpose example

- throw exception instead of std::exit

* Inspect cmdv name before assuming not exe

- some ELF execs "think" they are libraries so only assume rewrite + simulate + all-functions if filename looks like library
- adds some test for --print-available -- <library>

* Fix _has_lib_prefix when command is < 3

* Updates and reverts to omnitrace exe

- update module_function operator< and operator==
- add function_signature operator<
- refactor module_function ctor
- revert some previous changes w.r.t. simulate and include_unninstr

* Fix source/bin/tests to use same output dir as tests

* cmake format

* Segfault mitigation + refactor + modify function iteration

- refactor module_function ctor to avoid segfaults
- string_t -> std::string
- replace std::string with std::string_view in some places
- get_name(module_t*)
- get_name(procedure_t*)
- disable using both app_modules and app_functions
- new option: --parse-all-modules to iterate over app_modules
- removed some unused code w.r.t. debug info

* Disable module_function address range for uninstrumentable functions

* Disable module_function address range for uninstrumentable functions

* Refactored getting file/line info and init/fini

- use dyninst insertInitCallback and insertFiniCallback if main not found
- fixed all issues with segmentation faults in --simulate --all-functions

* revert changes to Findrocprofiler.cmake
2022-07-21 01:15:41 -05:00
Jatin Chaudhary 86c5140b87 EXSWCPHIPT-116 - Adding tests for hipSet/GetDevice and hipDeviceGet (#2726)
[ROCm/hip-tests commit: a1f13e7360]
2022-07-21 10:43:09 +05:30
Jatin Chaudhary a1f13e7360 EXSWCPHIPT-116 - Adding tests for hipSet/GetDevice and hipDeviceGet (#2726) 2022-07-21 10:43:09 +05:30
Jatin Chaudhary a91894904b EXSWCPHIPT-116 - Adding tests for hipSet/GetDevice and hipDeviceGet (#2726)
[ROCm/hip commit: f9b66dbd16]
2022-07-21 10:43:09 +05:30
Jatin Chaudhary f9b66dbd16 EXSWCPHIPT-116 - Adding tests for hipSet/GetDevice and hipDeviceGet (#2726) 2022-07-21 10:43:09 +05:30
Rakesh Roy 290e599ce3 SWDEV-344135 - Enable stream ordered memory and mempool tests
- Implement CUDA mappings for stream ordered memory allocator and memory pool APIs

Change-Id: I2434118ff043527ec7c3389cd5175e1e21d032bf


[ROCm/hipother commit: a44d54f279]
2022-07-21 00:05:39 -04:00
Rakesh Roy a44d54f279 SWDEV-344135 - Enable stream ordered memory and mempool tests
- Implement CUDA mappings for stream ordered memory allocator and memory pool APIs

Change-Id: I2434118ff043527ec7c3389cd5175e1e21d032bf
2022-07-21 00:05:39 -04:00
Rakesh Roy 32292bb914 SWDEV-344135 - Enable stream ordered memory and mempool tests
- Implement CUDA mappings for stream ordered memory allocator and memory pool APIs

Change-Id: I2434118ff043527ec7c3389cd5175e1e21d032bf


[ROCm/clr commit: 9f4214b587]
2022-07-21 00:05:39 -04:00
Rakesh Roy 9f4214b587 SWDEV-344135 - Enable stream ordered memory and mempool tests
- Implement CUDA mappings for stream ordered memory allocator and memory pool APIs

Change-Id: I2434118ff043527ec7c3389cd5175e1e21d032bf
2022-07-21 00:05:39 -04:00
Ajay 9ea3a35e5c SWDEV-317716 - Win: hipDeviceGetUuid return default uuid for pal device
Change-Id: Id102b54c78f031a8e7cc5ab5223cef9a0914d4fd


[ROCm/clr commit: 8b89c05e2f]
2022-07-21 00:03:33 +00:00
Ajay 8b89c05e2f SWDEV-317716 - Win: hipDeviceGetUuid return default uuid for pal device
Change-Id: Id102b54c78f031a8e7cc5ab5223cef9a0914d4fd
2022-07-21 00:03:33 +00:00
sdashmiz 5e4c00c4fb SWDEV-346448 - fix the missing defines
for nvdi compile

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ifd0e50a6f8636609fa61680cc719a2f82fb1320c


[ROCm/hipother commit: b875936c5d]
2022-07-20 11:31:50 -04:00
sdashmiz b875936c5d SWDEV-346448 - fix the missing defines
for nvdi compile

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ifd0e50a6f8636609fa61680cc719a2f82fb1320c
2022-07-20 11:31:50 -04:00
sdashmiz f40f675a64 SWDEV-346448 - fix the missing defines
for nvdi compile

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ifd0e50a6f8636609fa61680cc719a2f82fb1320c


[ROCm/clr commit: 4bac774783]
2022-07-20 11:31:50 -04:00
sdashmiz 4bac774783 SWDEV-346448 - fix the missing defines
for nvdi compile

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ifd0e50a6f8636609fa61680cc719a2f82fb1320c
2022-07-20 11:31:50 -04:00
Felix Kuehling 9ac2c75171 libhsakmt: Map VRAM only on supported peer GPUs
hsaKmtMapMemoryToGPU should not try to map VRAM on peer GPUs that don't
have an IO-Link to the memory. The new P2P mapping code in KFD will
fail otherwise.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Change-Id: I6d59b55651b98756865a0f69eafef3e386372cf3
2022-07-19 21:21:59 -04:00
Felix Kuehling c1a3ea8a30 libhsakmt: Map VRAM only on supported peer GPUs
hsaKmtMapMemoryToGPU should not try to map VRAM on peer GPUs that don't
have an IO-Link to the memory. The new P2P mapping code in KFD will
fail otherwise.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Change-Id: I6d59b55651b98756865a0f69eafef3e386372cf3


[ROCm/ROCR-Runtime commit: 9ac2c75171]
2022-07-19 21:21:59 -04:00
Felix Kuehling 87aca673e8 libhsakmt: Init apertures in AcquireSystemProperties
This allows init_process_apertures to use the whole consistent topoology
instead of taking its own partial snapshot.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Change-Id: Ia13e7aa7fcd090ea8d6cacd4babb29a27c20207f
2022-07-19 21:21:59 -04:00
Felix Kuehling e8ba7dc5c2 libhsakmt: Init apertures in AcquireSystemProperties
This allows init_process_apertures to use the whole consistent topoology
instead of taking its own partial snapshot.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Change-Id: Ia13e7aa7fcd090ea8d6cacd4babb29a27c20207f


[ROCm/ROCR-Runtime commit: 87aca673e8]
2022-07-19 21:21:59 -04:00
Felix Kuehling 412b24137e kfdtest: Full TearDown and SetUp in child process
With the next patch, child processes need to fully reinitialize the
topology in order to recreate the process apertures. Just calling
hsaKmtOpenKFD is no longer sufficient. Tests based on
KFDMultiProcessTest already did this correctly (KFDHWSTest, eviction
tests). This patch fixes KFDExceptionTest and KFDIPCTest.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Change-Id: Iaad24e88ddd29c1105bf791a77891cc55a6072ff
2022-07-19 21:21:59 -04:00
Felix Kuehling 7ccda4ba26 kfdtest: Full TearDown and SetUp in child process
With the next patch, child processes need to fully reinitialize the
topology in order to recreate the process apertures. Just calling
hsaKmtOpenKFD is no longer sufficient. Tests based on
KFDMultiProcessTest already did this correctly (KFDHWSTest, eviction
tests). This patch fixes KFDExceptionTest and KFDIPCTest.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Change-Id: Iaad24e88ddd29c1105bf791a77891cc55a6072ff


[ROCm/ROCR-Runtime commit: 412b24137e]
2022-07-19 21:21:59 -04:00
ROCm CI Service Account de5f99b55d SWDEV-345323 - Free H & D memory and destroy stream. (#2809)
Change-Id: I552ac0ad1002fce13767c405558d5d655c7b5c7c

[ROCm/hip-tests commit: e514aff37d]
2022-07-19 20:09:18 +05:30
ROCm CI Service Account e514aff37d SWDEV-345323 - Free H & D memory and destroy stream. (#2809)
Change-Id: I552ac0ad1002fce13767c405558d5d655c7b5c7c
2022-07-19 20:09:18 +05:30
ROCm CI Service Account cbb1bd5152 SWDEV-345323 - Free H & D memory and destroy stream. (#2809)
Change-Id: I552ac0ad1002fce13767c405558d5d655c7b5c7c

[ROCm/hip commit: 0d00d36f7e]
2022-07-19 20:09:18 +05:30
ROCm CI Service Account 0d00d36f7e SWDEV-345323 - Free H & D memory and destroy stream. (#2809)
Change-Id: I552ac0ad1002fce13767c405558d5d655c7b5c7c
2022-07-19 20:09:18 +05:30
ROCm CI Service Account 51feb62db0 SWDEV-329789 - ported MultiThread Test to catch2 (#2800)
Change-Id: Ic23244ed150c7e35188e30eee70e58438472bd45

[ROCm/hip-tests commit: 5a7d362eef]
2022-07-19 20:09:07 +05:30
ROCm CI Service Account 5a7d362eef SWDEV-329789 - ported MultiThread Test to catch2 (#2800)
Change-Id: Ic23244ed150c7e35188e30eee70e58438472bd45
2022-07-19 20:09:07 +05:30
ROCm CI Service Account 485849cdf3 SWDEV-329789 - ported MultiThread Test to catch2 (#2800)
Change-Id: Ic23244ed150c7e35188e30eee70e58438472bd45

[ROCm/hip commit: 36fbc75794]
2022-07-19 20:09:07 +05:30
ROCm CI Service Account 36fbc75794 SWDEV-329789 - ported MultiThread Test to catch2 (#2800)
Change-Id: Ic23244ed150c7e35188e30eee70e58438472bd45
2022-07-19 20:09:07 +05:30
ROCm CI Service Account cc66889e53 SWDEV-340649 - Disables memory oversubscription test case (#2810)
Change-Id: I5597995c097b35564298d7ea8200ef2d89dcfa0f

[ROCm/hip-tests commit: 6da4973612]
2022-07-19 19:32:06 +05:30
ROCm CI Service Account 6da4973612 SWDEV-340649 - Disables memory oversubscription test case (#2810)
Change-Id: I5597995c097b35564298d7ea8200ef2d89dcfa0f
2022-07-19 19:32:06 +05:30
ROCm CI Service Account e1a3b7b574 SWDEV-340649 - Disables memory oversubscription test case (#2810)
Change-Id: I5597995c097b35564298d7ea8200ef2d89dcfa0f

[ROCm/hip commit: 7f3fcec95e]
2022-07-19 19:32:06 +05:30
ROCm CI Service Account 7f3fcec95e SWDEV-340649 - Disables memory oversubscription test case (#2810)
Change-Id: I5597995c097b35564298d7ea8200ef2d89dcfa0f
2022-07-19 19:32:06 +05:30