Граф коммитов
64512 Коммитов
Автор SHA1 Сообщение Дата
Jonathan R. Madsen 49851b05ae Address and thread sanitizer fixes (#250)
* Address and thread sanitizer fixes

- Fix compilation with clang
- Tweak perfetto copy to build tree
- Added suppression files to scripts
- fix LD_PRELOAD support in omnitrace-causal and omnitrace-sample
- use spin_mutex and spin_lock from timemory instead of atomic_mutex and atomic_lock
- state uses atomic
- fix some memory leaks
- tweak testing
  - mpi tests do not use preload
  - increase timeout when using sanitizers
  - add env LD_PRELOAD when using sanitizers

* Tweak perfetto build

* Update timemory submodule

* Update version to 1.8.1

* Update omnitrace-leak.supp

* Update timemory submodule

- fixed spin_mutex implementation

* Remove previously added addr_space->allowTraps(instr_traps)

- this appears to cause errors during binary rewrite

* causal testing updates

- relaxed causal validation on CI systems (to account for hyperthreading decreasing prediction)
- improved impact calculation
- other general improvements to validate-causal-json.py

* Improve fork handling for perfetto

- numerous updates changing perfetto:: to ::perfetto::
- added perfetto_fwd.hpp

* Updated fork example

- user API for validation that stopping/starting perfetto is valid

* Misc fixes to perfetto + fork support

- tweak regions in fork example
- handle disabling tmp files
- get rid of stop/start with perfetto before/after fork
- fixed sampling support during fork
- tweak env of fork test

* Fix find_package in build-tree

* Fix buildtree export

* Fix buildtree export

* Restructured ConfigInstall before adding examples

* Guard against creating tmp file in sampling when disabled

* Fix buildtree package

* formatting

* exit handlers on child processes

- quick exit to avoid perfetto cleanup

* Further tweaking of causal tests for reliability

- enable PROCESSOR_AFFINITY
- decrease to 5 iterations

* Further tweaking of causal tests for reliability

- disable PROCESSOR_AFFINITY for fast func e2e tests
- enabling affinity results in (valid) speedup predictions greater than zero

* Fixes to fork handling

- use pthread_atfork for redundancy if fork_gotcha fails

* cmake formatting

* Fix fork init settings + install components

- remove dl from PROJECT_BUILD_TARGETS

* Testing tweaks

- fix mpi-binary-rewrite-run regex when OMNITRACE_VERBOSE set > 1 in env
- increase causal e2e iterations to 8

* Fix "Test User API"

- test-find-package.sh included dl component

* Further tweaks to causal validation

- further considerations of variance

[ROCm/rocprofiler-systems commit: 846301bcaf]
2023-02-27 12:09:03 -06:00
Jonathan R. Madsen 846301bcaf Address and thread sanitizer fixes (#250)
* Address and thread sanitizer fixes

- Fix compilation with clang
- Tweak perfetto copy to build tree
- Added suppression files to scripts
- fix LD_PRELOAD support in omnitrace-causal and omnitrace-sample
- use spin_mutex and spin_lock from timemory instead of atomic_mutex and atomic_lock
- state uses atomic
- fix some memory leaks
- tweak testing
  - mpi tests do not use preload
  - increase timeout when using sanitizers
  - add env LD_PRELOAD when using sanitizers

* Tweak perfetto build

* Update timemory submodule

* Update version to 1.8.1

* Update omnitrace-leak.supp

* Update timemory submodule

- fixed spin_mutex implementation

* Remove previously added addr_space->allowTraps(instr_traps)

- this appears to cause errors during binary rewrite

* causal testing updates

- relaxed causal validation on CI systems (to account for hyperthreading decreasing prediction)
- improved impact calculation
- other general improvements to validate-causal-json.py

* Improve fork handling for perfetto

- numerous updates changing perfetto:: to ::perfetto::
- added perfetto_fwd.hpp

* Updated fork example

- user API for validation that stopping/starting perfetto is valid

* Misc fixes to perfetto + fork support

- tweak regions in fork example
- handle disabling tmp files
- get rid of stop/start with perfetto before/after fork
- fixed sampling support during fork
- tweak env of fork test

* Fix find_package in build-tree

* Fix buildtree export

* Fix buildtree export

* Restructured ConfigInstall before adding examples

* Guard against creating tmp file in sampling when disabled

* Fix buildtree package

* formatting

* exit handlers on child processes

- quick exit to avoid perfetto cleanup

* Further tweaking of causal tests for reliability

- enable PROCESSOR_AFFINITY
- decrease to 5 iterations

* Further tweaking of causal tests for reliability

- disable PROCESSOR_AFFINITY for fast func e2e tests
- enabling affinity results in (valid) speedup predictions greater than zero

* Fixes to fork handling

- use pthread_atfork for redundancy if fork_gotcha fails

* cmake formatting

* Fix fork init settings + install components

- remove dl from PROJECT_BUILD_TARGETS

* Testing tweaks

- fix mpi-binary-rewrite-run regex when OMNITRACE_VERBOSE set > 1 in env
- increase causal e2e iterations to 8

* Fix "Test User API"

- test-find-package.sh included dl component

* Further tweaks to causal validation

- further considerations of variance
2023-02-27 12:09:03 -06:00
Charis Poag 5c3a3f3641 [SWDEV-335697] Add RSMI_STATUS_SETTING_UNAVAILABLE for dynamic partition
Updates:
    * Added RSMI_STATUS_SETTING_UNAVAILABLE for
      rsmi_dev_compute_partition_set - gives users
      better error output when attempting to set
      compute partition to values not listed in
      available_compute_partition SYSFS
    * Updated python --setcomputepartition to
      provide better output when receiving
      RSMI_STATUS_SETTING_UNAVAILABLE
    * Updated all test & example files to check for
      RSMI_STATUS_SETTING_UNAVAILABLE when doing
      rsmi_dev_compute_partition_set

Change-Id: Ida5d54880d9b9b6e4a0468cdb962fdc0c18d6257
Signed-off-by: Charis Poag <Charis.Poag@amd.com>


[ROCm/rocm_smi_lib commit: 0d3558945b]
2023-02-27 11:17:44 -06:00
Charis Poag 0d3558945b [SWDEV-335697] Add RSMI_STATUS_SETTING_UNAVAILABLE for dynamic partition
Updates:
    * Added RSMI_STATUS_SETTING_UNAVAILABLE for
      rsmi_dev_compute_partition_set - gives users
      better error output when attempting to set
      compute partition to values not listed in
      available_compute_partition SYSFS
    * Updated python --setcomputepartition to
      provide better output when receiving
      RSMI_STATUS_SETTING_UNAVAILABLE
    * Updated all test & example files to check for
      RSMI_STATUS_SETTING_UNAVAILABLE when doing
      rsmi_dev_compute_partition_set

Change-Id: Ida5d54880d9b9b6e4a0468cdb962fdc0c18d6257
Signed-off-by: Charis Poag <Charis.Poag@amd.com>
2023-02-27 11:17:44 -06:00
ROCm CI Service Account e4594b8822 SWDEV-330658 - Added flag hipHostRegisterReadOnly (#3173)
Change-Id: Ic011ce473f5988ca92a44a939adc82e6c8ee6130

[ROCm/hip commit: 76efd52f1e]
2023-02-27 10:26:15 +05:30
ROCm CI Service Account 76efd52f1e SWDEV-330658 - Added flag hipHostRegisterReadOnly (#3173)
Change-Id: Ic011ce473f5988ca92a44a939adc82e6c8ee6130
2023-02-27 10:26:15 +05:30
Yifan Zhang e40ae8481e kfdtest: Using non-paged memory allocation only on devices that have MES scheduler
Change-Id: I9181b353aac791f546aa7679ffd7cb8d9f8ef765
2023-02-27 10:32:15 +08:00
Yifan Zhang 92a336d485 kfdtest: Using non-paged memory allocation only on devices that have MES scheduler
Change-Id: I9181b353aac791f546aa7679ffd7cb8d9f8ef765


[ROCm/ROCR-Runtime commit: e40ae8481e]
2023-02-27 10:32:15 +08:00
Yifan Zhang 564913526a kfdtest: add MES judging API in test utility.
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Change-Id: I978fc85b7c81ea65b97953a50d2d0312bcba95bf
2023-02-26 21:22:39 -05:00
Yifan Zhang 8554f0df14 kfdtest: add MES judging API in test utility.
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Change-Id: I978fc85b7c81ea65b97953a50d2d0312bcba95bf


[ROCm/ROCR-Runtime commit: 564913526a]
2023-02-26 21:22:39 -05:00
Jenkins 308e9bec53 Merge 'develop' into 'amd-staging'
Change-Id: Id0b572c9e7478aaec14481194a88f9c6f74110d1


[ROCm/hip-tests commit: e4c6d56d8b]
2023-02-27 00:10:30 +00:00
Jenkins e4c6d56d8b Merge 'develop' into 'amd-staging'
Change-Id: Id0b572c9e7478aaec14481194a88f9c6f74110d1
2023-02-27 00:10:30 +00:00
Jenkins 7614cd76be SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: I1838505a01873cab03ebc4eb73d89fb0e2592b6b


[ROCm/hip commit: 88af68fe12]
2023-02-27 00:10:26 +00:00
Jenkins 88af68fe12 SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: I1838505a01873cab03ebc4eb73d89fb0e2592b6b
2023-02-27 00:10:26 +00:00
Saleel Kudchadker 981dc31e20 SWDEV-380035 - Do not create Arena Memobj for pinned memory
Change-Id: I4da281f0b7139efb4bb46b47f812358a0212445a


[ROCm/clr commit: d429314b21]
2023-02-24 12:31:25 -08:00
Saleel Kudchadker d429314b21 SWDEV-380035 - Do not create Arena Memobj for pinned memory
Change-Id: I4da281f0b7139efb4bb46b47f812358a0212445a
2023-02-24 12:31:25 -08:00
ROCm CI Service Account caa94251e6 SWDEV-383461 - gfx11 not supporting wave64 check (#3170)
Change-Id: I12e8ff2cb8ad9c72cba216847366f2e0ab15c497


[ROCm/hip commit: c629e63024]
2023-02-24 10:45:16 -08:00
ROCm CI Service Account c629e63024 SWDEV-383461 - gfx11 not supporting wave64 check (#3170)
Change-Id: I12e8ff2cb8ad9c72cba216847366f2e0ab15c497
2023-02-24 10:45:16 -08:00
coleramos425 5d55a35edb Fix link for LDS in standalone GUI
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: fef68d7d80]
2023-02-24 11:41:50 -06:00
coleramos425 fef68d7d80 Fix link for LDS in standalone GUI
Signed-off-by: coleramos425 <colramos@amd.com>
2023-02-24 11:41:50 -06:00
pghafari a008845d4e SWDEV-366515 - adding HIP_AD_FORMAT_SIGNED_INT16
Change-Id: I084d7b093049093ea032372593711f6dc0964af8


[ROCm/clr commit: 58001ae995]
2023-02-24 12:39:13 -05:00
pghafari 58001ae995 SWDEV-366515 - adding HIP_AD_FORMAT_SIGNED_INT16
Change-Id: I084d7b093049093ea032372593711f6dc0964af8
2023-02-24 12:39:13 -05:00
Cole Ramos 3096b6253d Change develop to dev in CHANGELOG
Signed-off-by: Cole Ramos <colramos@amd.com>

[ROCm/rocprofiler-compute commit: 2b63da8093]
2023-02-24 11:24:37 -06:00
Cole Ramos 2b63da8093 Change develop to dev in CHANGELOG
Signed-off-by: Cole Ramos <colramos@amd.com>
2023-02-24 11:24:37 -06:00
Bill(Shuzhou) Liu b093ec72a1 Memory usage division by zero
The showAllConcise with division by zero error.

Change-Id: I469f1b9f268842cd51662be6f9036f555a8949b2


[ROCm/rocm_smi_lib commit: 55bc2e2072]
2023-02-24 10:12:36 -06:00
Bill(Shuzhou) Liu 55bc2e2072 Memory usage division by zero
The showAllConcise with division by zero error.

Change-Id: I469f1b9f268842cd51662be6f9036f555a8949b2
2023-02-24 10:12:36 -06:00
Ioannis Assiouras ea7d5037b9 SWDEV-381402 - Remove unused getNullStream() from device. Make stream destructor private.
Change-Id: Idde30a8bfe97a525bd9f9fb50698a5cb14b798fc


[ROCm/clr commit: 06927fd3c1]
2023-02-24 10:42:46 +00:00
Ioannis Assiouras 06927fd3c1 SWDEV-381402 - Remove unused getNullStream() from device. Make stream destructor private.
Change-Id: Idde30a8bfe97a525bd9f9fb50698a5cb14b798fc
2023-02-24 10:42:46 +00:00
ROCm CI Service Account 41e0f4d34d SWDEV-372153 - Add hipStreamGetDevice API. Add documentation for hip_prof_gen.py. (#3149)
Change-Id: I2cb650e3b2ccf5431f4ed7d7685c4c6532732d44

[ROCm/hip commit: 873911c60f]
2023-02-24 15:10:09 +05:30
ROCm CI Service Account 873911c60f SWDEV-372153 - Add hipStreamGetDevice API. Add documentation for hip_prof_gen.py. (#3149)
Change-Id: I2cb650e3b2ccf5431f4ed7d7685c4c6532732d44
2023-02-24 15:10:09 +05:30
ROCm CI Service Account bb5bc88311 SWDEV-370743 - Adding 'accelerator' keyword in lspci grep for AMD supported devices. (#3142)
Change-Id: I5a0c2f4a678c5c80a2f13afe74d2c723912b0858

[ROCm/hip commit: e0425b53e0]
2023-02-23 22:00:33 -08:00
ROCm CI Service Account e0425b53e0 SWDEV-370743 - Adding 'accelerator' keyword in lspci grep for AMD supported devices. (#3142)
Change-Id: I5a0c2f4a678c5c80a2f13afe74d2c723912b0858
2023-02-23 22:00:33 -08:00
sdashmiz 4c50e4a6ec SWDEV-379388 - remove check for all streams done
- cuda shows  a different behaviour and different error need more
  investigation

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


[ROCm/clr commit: ea5838320e]
2023-02-23 22:56:23 -05:00
sdashmiz ea5838320e SWDEV-379388 - remove check for all streams done
- cuda shows  a different behaviour and different error need more
  investigation

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I68771102ba4dff6157bca34a4135cb245f023d08
2023-02-23 22:56:23 -05:00
ROCm CI Service Account 985bdb8abf SWDEV-370743 - Change the hard coded CU mask to support higher CUs. (#3144)
Change-Id: I87ac149a6144959b46963ed8c867e6d3b6bca462

[ROCm/hip commit: 5c3e4fba39]
2023-02-23 17:40:26 -08:00
ROCm CI Service Account 5c3e4fba39 SWDEV-370743 - Change the hard coded CU mask to support higher CUs. (#3144)
Change-Id: I87ac149a6144959b46963ed8c867e6d3b6bca462
2023-02-23 17:40:26 -08:00
ROCm CI Service Account 88979fb664 SWDEV-370742 - Check image support before using image APIs. (#3143)
Change-Id: I2fc086256bca605385f2f6a94119b46741020afa


[ROCm/hip commit: 24cc1bc2bb]
2023-02-23 17:39:36 -08:00
ROCm CI Service Account 24cc1bc2bb SWDEV-370742 - Check image support before using image APIs. (#3143)
Change-Id: I2fc086256bca605385f2f6a94119b46741020afa
2023-02-23 17:39:36 -08:00
Julia Jiang c8b989d288 SWDEV-383839 - fix oclperf test failures on MI300
Change-Id: I789dad08f875d16eeb4d60dc60379d4ee4158904


[ROCm/clr commit: effb58e076]
2023-02-23 18:29:36 -05:00
Julia Jiang effb58e076 SWDEV-383839 - fix oclperf test failures on MI300
Change-Id: I789dad08f875d16eeb4d60dc60379d4ee4158904
2023-02-23 18:29:36 -05:00
kent.russell@amd.com 64aa9009e1 Add check for available_memory API
If the KFD IOCTL version doesn't support available_memory, don't run the
test. Just skip the test

Change-Id: Iebf526d4563ab9f3c054bbfb38c214a1b893fcb5
2023-02-23 15:19:28 -05:00
kent.russell@amd.com b6467c7bc8 Add check for available_memory API
If the KFD IOCTL version doesn't support available_memory, don't run the
test. Just skip the test

Change-Id: Iebf526d4563ab9f3c054bbfb38c214a1b893fcb5


[ROCm/ROCR-Runtime commit: 64aa9009e1]
2023-02-23 15:19:28 -05:00
German Andryeyev 2e0fd95d74 SWDEV-353281 - Add support for MemPool in graphs
Implement hipDeviceGetGraphMemAttribute, hipDeviceSetGraphMemAttribute
and hipDeviceGraphMemTrim

Change-Id: I4f8fc1250ce1e8b7636d43d59ba7343158e45088


[ROCm/clr commit: 314bdba632]
2023-02-23 12:49:53 -05:00
German Andryeyev 314bdba632 SWDEV-353281 - Add support for MemPool in graphs
Implement hipDeviceGetGraphMemAttribute, hipDeviceSetGraphMemAttribute
and hipDeviceGraphMemTrim

Change-Id: I4f8fc1250ce1e8b7636d43d59ba7343158e45088
2023-02-23 12:49:53 -05:00
ROCm CI Service Account f9269a3dc2 SWDEV-357695 - [catch2][dtest] hipGraphNodeSetEnabled API test added (#82)
Change-Id: Ie7af5d79390c7a6529e379f60e57961cdac71684


[ROCm/hip-tests commit: 3d3289b453]
2023-02-23 09:01:16 -08:00
ROCm CI Service Account 3d3289b453 SWDEV-357695 - [catch2][dtest] hipGraphNodeSetEnabled API test added (#82)
Change-Id: Ie7af5d79390c7a6529e379f60e57961cdac71684
2023-02-23 09:01:16 -08:00
Ioannis Assiouras 1ad1fccdfa SWDEV-385050 - Fixed possible invalid queue access from kernelCommand::releaseResources
Change-Id: I7c5d99987cb7ab4fa0aa634f2bb6a4d60331b3af


[ROCm/clr commit: 2e9f6fb49b]
2023-02-23 16:39:27 +00:00
Ioannis Assiouras 2e9f6fb49b SWDEV-385050 - Fixed possible invalid queue access from kernelCommand::releaseResources
Change-Id: I7c5d99987cb7ab4fa0aa634f2bb6a4d60331b3af
2023-02-23 16:39:27 +00:00
David Yat Sin 7ed6d73b6d Revert "Add flag for external memory allocations"
This reverts commit 59685f4492.

Change-Id: I32a92672553c4c38ffae53a085f83c0403c160ae
2023-02-23 11:31:15 -05:00
David Yat Sin 908a2b1eba Revert "Add flag for external memory allocations"
This reverts commit 000f4c0547.

Change-Id: I32a92672553c4c38ffae53a085f83c0403c160ae


[ROCm/ROCR-Runtime commit: 7ed6d73b6d]
2023-02-23 11:31:15 -05:00