Commit Graph
64512 Commits
Author SHA1 Message Date
Hao Zhou 5ed1301080 Merge amd-staging into amd-master 20220224
Signed-off-by: Hao Zhou <Hao.Zhou@amd.com>
Change-Id: I371300c32821939aec486a70d22bcdd005971e95


[ROCm/rocm_smi_lib commit: 35ad11c7d5]
2022-02-24 16:41:38 +08:00
Hao Zhou 35ad11c7d5 Merge amd-staging into amd-master 20220224
Signed-off-by: Hao Zhou <Hao.Zhou@amd.com>
Change-Id: I371300c32821939aec486a70d22bcdd005971e95
2022-02-24 16:41:38 +08:00
ROCm CI Service AccountandChristophe Paquot d63a7e2186 SWDEV-323472 - Add hipThreadExchangeStreamCaptureMode (#2519)
Change-Id: I1c610833bf3e21e4ba311a89cec0e8866b9164bd
Co-authored-by: Christophe Paquot <christophe.paquot@amd.com>

[ROCm/hip commit: 389db38b03]
2022-02-24 10:22:58 +05:30
ROCm CI Service AccountandChristophe Paquot 389db38b03 SWDEV-323472 - Add hipThreadExchangeStreamCaptureMode (#2519)
Change-Id: I1c610833bf3e21e4ba311a89cec0e8866b9164bd
Co-authored-by: Christophe Paquot <christophe.paquot@amd.com>
2022-02-24 10:22:58 +05:30
German Andryeyev ae0ca57698 SWDEV-319375 - Avoid global var size query
Currently COMGR doesn't provide global variable size and runtime
parses ELF binary directly. Avoid parsing for HIP. That can save
5% in hipModuleLoad() time.

Change-Id: I47540d1e957bdb0c2406b6b848222de2920b2504


[ROCm/clr commit: 2664d8cf9e]
2022-02-23 21:33:05 -05:00
German Andryeyev 2664d8cf9e SWDEV-319375 - Avoid global var size query
Currently COMGR doesn't provide global variable size and runtime
parses ELF binary directly. Avoid parsing for HIP. That can save
5% in hipModuleLoad() time.

Change-Id: I47540d1e957bdb0c2406b6b848222de2920b2504
2022-02-23 21:33:05 -05:00
Saleel Kudchadker 57b1cd0cf2 SWDEV-321723 - Pass correct flags
Pass CL_MEM_SVM_ATOMICS with hipHostMallocNumaUser.

Change-Id: I7b8010c5584ffd2fbebb964832dcfa270d430830


[ROCm/clr commit: a3f4d9410c]
2022-02-23 18:23:35 -08:00
Saleel Kudchadker a3f4d9410c SWDEV-321723 - Pass correct flags
Pass CL_MEM_SVM_ATOMICS with hipHostMallocNumaUser.

Change-Id: I7b8010c5584ffd2fbebb964832dcfa270d430830
2022-02-23 18:23:35 -08:00
lthakur 6e31b0e176 SWDEV-298757 - Moved long running tests into stress category. (#2461)
[ROCm/hip-tests commit: 460a07f338]
2022-02-23 11:58:08 -08:00
lthakur 460a07f338 SWDEV-298757 - Moved long running tests into stress category. (#2461) 2022-02-23 11:58:08 -08:00
lthakur 6cd4c0576e SWDEV-298757 - Moved long running tests into stress category. (#2461)
[ROCm/hip commit: 6e696a028b]
2022-02-23 11:58:08 -08:00
lthakur 6e696a028b SWDEV-298757 - Moved long running tests into stress category. (#2461) 2022-02-23 11:58:08 -08:00
Jeremy Newton a0a9f3806b Merge "SWDEV-1 - Fix cmake build" into amd-staging
[ROCm/clr commit: 7ac4483be7]
2022-02-23 14:11:56 -05:00
Jeremy Newton 7ac4483be7 Merge "SWDEV-1 - Fix cmake build" into amd-staging 2022-02-23 14:11:56 -05:00
Jonathan R. Madsen 8b058902a2 omnitrace-dl-library (#25)
* timemory submodule update

* Visibility, setting categories, and task-group protection

- OMNITRACE_VISIBILITY instead of TIMEMORY_VISIBILITY
- increased task group data-race protection
- add omnitrace categories to settings

* set component_apis type-trait

* omnitrace-dl-library implementation

- this library dlopen + dlsym's libomnitrace
- significantly reduces the instrumentation time

* omnitrace-avail categories

- suppress AVAILABLE column when --available

* omnitrace-exe update

- uses omnitrace-dl
- adds --print-excluded option
- removes --jump option
- comments out --stubs option
- removes --stdlib option
- support for C++ STL functions not in libstdc++
- tweak the --print-* outputs
- significantly refactors instrument_module and instrument_entity
- removes unused c_stdlib_module_constraint
- removes unused c_stdlib_function_constraint
- decreases get_whole_function_names() coverage

* library.cpp updates

- OMNITRACE_DEBUG -> OMNITRACE_DEBUG_F
- omnitrace_finalize sets state earlier
- omnitrace_finalize clears push/pop functors
- increased tasking shutdown safety

* - fix critical-trace thread hierarchy
- signal handler calls omnitrace_finalize
- get_cpu_cid_stack supports parent tid
- interval data reserves
- omnitrace-avail serialization support for module_functions
- omnitrace --simulate option
- omnitrace --print-format option
- omnitrace --load-instr option
- omnitrace runtime-inst doesn't oneTimeCode
- updated regex
- expand get_whole_function_names()
- Test Install CI update

* fixes to last commit

- expand get_whole_function_names()
- ignore sig c modules
- kill process in signal handler

* Remove RTLD_DEEPBIND + more

- removed use of RTLD_DEEPBIND
  - causes dyninst segfaults
- fixed signal handling
- updated timemory submodule

* Build/link static timemory libraries

* omnitrace --{module,function}-restrict option

- Added restrict regex options
- Reworked handling of regex options
- Reworked reporting of module/function skipping
- Handle -o w/o file specified

* timemory-avail

- category views
- backtrace::sample checks state

* get_debug_sampling()

[ROCm/rocprofiler-systems commit: 145a6ae06f]
2022-02-23 06:59:32 -06:00
Jonathan R. Madsen 145a6ae06f omnitrace-dl-library (#25)
* timemory submodule update

* Visibility, setting categories, and task-group protection

- OMNITRACE_VISIBILITY instead of TIMEMORY_VISIBILITY
- increased task group data-race protection
- add omnitrace categories to settings

* set component_apis type-trait

* omnitrace-dl-library implementation

- this library dlopen + dlsym's libomnitrace
- significantly reduces the instrumentation time

* omnitrace-avail categories

- suppress AVAILABLE column when --available

* omnitrace-exe update

- uses omnitrace-dl
- adds --print-excluded option
- removes --jump option
- comments out --stubs option
- removes --stdlib option
- support for C++ STL functions not in libstdc++
- tweak the --print-* outputs
- significantly refactors instrument_module and instrument_entity
- removes unused c_stdlib_module_constraint
- removes unused c_stdlib_function_constraint
- decreases get_whole_function_names() coverage

* library.cpp updates

- OMNITRACE_DEBUG -> OMNITRACE_DEBUG_F
- omnitrace_finalize sets state earlier
- omnitrace_finalize clears push/pop functors
- increased tasking shutdown safety

* - fix critical-trace thread hierarchy
- signal handler calls omnitrace_finalize
- get_cpu_cid_stack supports parent tid
- interval data reserves
- omnitrace-avail serialization support for module_functions
- omnitrace --simulate option
- omnitrace --print-format option
- omnitrace --load-instr option
- omnitrace runtime-inst doesn't oneTimeCode
- updated regex
- expand get_whole_function_names()
- Test Install CI update

* fixes to last commit

- expand get_whole_function_names()
- ignore sig c modules
- kill process in signal handler

* Remove RTLD_DEEPBIND + more

- removed use of RTLD_DEEPBIND
  - causes dyninst segfaults
- fixed signal handling
- updated timemory submodule

* Build/link static timemory libraries

* omnitrace --{module,function}-restrict option

- Added restrict regex options
- Reworked handling of regex options
- Reworked reporting of module/function skipping
- Handle -o w/o file specified

* timemory-avail

- category views
- backtrace::sample checks state

* get_debug_sampling()
2022-02-23 06:59:32 -06:00
lthakur 6facac30d4 SWDEV-298757 - hipMemRangeGetAttribute.cc Adding test cases for hipMemRangeGetAttribute() api (#2459)
[ROCm/hip-tests commit: cd23bb5709]
2022-02-22 19:30:16 -08:00
lthakur cd23bb5709 SWDEV-298757 - hipMemRangeGetAttribute.cc Adding test cases for hipMemRangeGetAttribute() api (#2459) 2022-02-22 19:30:16 -08:00
lthakur 307de511fd SWDEV-298757 - hipMemRangeGetAttribute.cc Adding test cases for hipMemRangeGetAttribute() api (#2459)
[ROCm/hip commit: 990f546b38]
2022-02-22 19:30:16 -08:00
lthakur 990f546b38 SWDEV-298757 - hipMemRangeGetAttribute.cc Adding test cases for hipMemRangeGetAttribute() api (#2459) 2022-02-22 19:30:16 -08:00
Julia Jiang e6f8c4dc23 SWDEV-321654 - fix hipPointerGetAttribute API
Change-Id: Icafdda147eb16e08048d6c435c0c5714f3f8d143


[ROCm/clr commit: dabed031a0]
2022-02-22 21:32:28 -05:00
Julia Jiang dabed031a0 SWDEV-321654 - fix hipPointerGetAttribute API
Change-Id: Icafdda147eb16e08048d6c435c0c5714f3f8d143
2022-02-22 21:32:28 -05:00
ROCm CI Service AccountandSaleel Kudchadker e93715c3c4 SWDEV-301947 - Add new enum for boost CU count (#2490)
Change-Id: I39b96218edbdf8a77473be8fa524999bb7df036a

Co-authored-by: Saleel Kudchadker <Saleel.Kudchadker@amd.com>

[ROCm/hip commit: 7f520ae104]
2022-02-22 14:19:05 -08:00
ROCm CI Service AccountandSaleel Kudchadker 7f520ae104 SWDEV-301947 - Add new enum for boost CU count (#2490)
Change-Id: I39b96218edbdf8a77473be8fa524999bb7df036a

Co-authored-by: Saleel Kudchadker <Saleel.Kudchadker@amd.com>
2022-02-22 14:19:05 -08:00
Elena Sakhnovitch 45763cc1bb [rocm_smi.py]: fix input error type for --setclock
signed-off-by: Elena Sakhnovitch
Change-Id: I9626978780f360c591fb8908f5b759f2289dff0b


[ROCm/rocm_smi_lib commit: 9b871fcd9f]
2022-02-22 14:24:38 -05:00
Elena Sakhnovitch 9b871fcd9f [rocm_smi.py]: fix input error type for --setclock
signed-off-by: Elena Sakhnovitch
Change-Id: I9626978780f360c591fb8908f5b759f2289dff0b
2022-02-22 14:24:38 -05:00
Siu Chi Chan 177b978f71 hip-config.cmake - resolve HIP_CLANG_ROOT when the compiler is a symlink
When the HIP compiler set to a symblink that was created outside
/opt/rocm/llvm/bin, HIP's cmake would get HIP_CLANG_ROOT incorrectly.
This teaches hip-config to get clang's real path first and use that to determine LLVM's directory.

Change-Id: I6275b67f843aff256dc72cf478e575224e0cedc3


[ROCm/clr commit: e70d7374ef]
2022-02-22 11:35:58 -05:00
Siu Chi Chan e70d7374ef hip-config.cmake - resolve HIP_CLANG_ROOT when the compiler is a symlink
When the HIP compiler set to a symblink that was created outside
/opt/rocm/llvm/bin, HIP's cmake would get HIP_CLANG_ROOT incorrectly.
This teaches hip-config to get clang's real path first and use that to determine LLVM's directory.

Change-Id: I6275b67f843aff256dc72cf478e575224e0cedc3
2022-02-22 11:35:58 -05:00
Saravanan Solaiyappan 9ba8e04eda SWDEV-323670 - RPM: Remove symlinks during upgrade as well
During RPM upgrade, lib/libOpenCL.so* files/symlinks from the previous
installed version are not removed.
This change will remove those symlinks as part of the RPM remove
or upgrade operation.

Signed-off-by: Saravanan Solaiyappan <saravanan.solaiyappan@amd.com>
Change-Id: Ia943407052ec24911756042a5f9839a605522443


[ROCm/clr commit: 56dde03fbb]
2022-02-22 08:04:02 -05:00
Saravanan Solaiyappan 56dde03fbb SWDEV-323670 - RPM: Remove symlinks during upgrade as well
During RPM upgrade, lib/libOpenCL.so* files/symlinks from the previous
installed version are not removed.
This change will remove those symlinks as part of the RPM remove
or upgrade operation.

Signed-off-by: Saravanan Solaiyappan <saravanan.solaiyappan@amd.com>
Change-Id: Ia943407052ec24911756042a5f9839a605522443
2022-02-22 08:04:02 -05:00
Chauncey Hui 9d131029d7 SWDEV-2 - Change OpenCL version number from 3424 to 3425
[ROCm/clr commit: f1d55767a8]
2022-02-22 03:00:06 -05:00
Chauncey Hui f1d55767a8 SWDEV-2 - Change OpenCL version number from 3424 to 3425 2022-02-22 03:00:06 -05:00
haoyuan2 10440f101f SWDEV-316128 - HIP surface API support
remove redundant code in host API

Change-Id: I8fbf894e858642da4198cc7afd2d2e2f1971e738


[ROCm/clr commit: a7a7b62c73]
2022-02-21 16:50:16 -05:00
haoyuan2 a7a7b62c73 SWDEV-316128 - HIP surface API support
remove redundant code in host API

Change-Id: I8fbf894e858642da4198cc7afd2d2e2f1971e738
2022-02-21 16:50:16 -05:00
Payam 01bd9ba844 SWDEV-316050, SWDEV-316292 - Graph api matching error with Cuda
Change-Id: I80c9358e9ad3a2d57fca53e6ff7679f1e3953328


[ROCm/clr commit: c0b859641f]
2022-02-21 16:29:50 -05:00
Payam c0b859641f SWDEV-316050, SWDEV-316292 - Graph api matching error with Cuda
Change-Id: I80c9358e9ad3a2d57fca53e6ff7679f1e3953328
2022-02-21 16:29:50 -05:00
Sarbojit Sarkar 47b3aa484e SWDEV-317787 - Added missing nullchecks
Change-Id: I4abe4f519c97122a96f668230398b10d4c4b9533


[ROCm/clr commit: 5dab99ca30]
2022-02-20 23:04:55 -05:00
Sarbojit Sarkar 5dab99ca30 SWDEV-317787 - Added missing nullchecks
Change-Id: I4abe4f519c97122a96f668230398b10d4c4b9533
2022-02-20 23:04:55 -05:00
Sarbojit Sarkar 011c51888f SWDEV-314667 - Fix for crash
Change-Id: I1cfeadde975649fb1791cf354f7ba3f70db9d162


[ROCm/clr commit: a1562ec8f8]
2022-02-20 23:04:11 -05:00
Sarbojit Sarkar a1562ec8f8 SWDEV-314667 - Fix for crash
Change-Id: I1cfeadde975649fb1791cf354f7ba3f70db9d162
2022-02-20 23:04:11 -05:00
Sarbojit Sarkar 855eb801eb SWDEV-316792 - Fix for Event node
Change-Id: Ibb402648212c4d1d198e44ad9d166a2776805739


[ROCm/clr commit: a48429e922]
2022-02-20 23:02:41 -05:00
Sarbojit Sarkar a48429e922 SWDEV-316792 - Fix for Event node
Change-Id: Ibb402648212c4d1d198e44ad9d166a2776805739
2022-02-20 23:02:41 -05:00
Sai Keerthana ae3a2d56c9 SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: Ie58d3b7ff26fcdb906a49c92d01f31cf8a07b759


[ROCm/hip commit: 5cb7fe5df7]
2022-02-20 07:58:59 -05:00
Sai Keerthana 5cb7fe5df7 SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: Ie58d3b7ff26fcdb906a49c92d01f31cf8a07b759
2022-02-20 07:58:59 -05:00
Saleel Kudchadker 7fa538bf79 SWDEV-301667 - Fix maxNode size for get_mempolicy
Change-Id: Ifd84c94394b86580cf39178ad0e7f85580b24edb


[ROCm/clr commit: c02d3fd7d8]
2022-02-19 12:48:22 -05:00
Saleel Kudchadker c02d3fd7d8 SWDEV-301667 - Fix maxNode size for get_mempolicy
Change-Id: Ifd84c94394b86580cf39178ad0e7f85580b24edb
2022-02-19 12:48:22 -05:00
Satyanvesh Dittakavi 8c40dd5606 EXSWCPHIPT-13 - Fix Segfault on Nvidia Platform
Change-Id: Ib85bb0b0e91b7703afc4858c4a5ada0115ad68f4


[ROCm/hipother commit: 974138cfd5]
2022-02-19 12:53:46 +00:00
Satyanvesh Dittakavi 974138cfd5 EXSWCPHIPT-13 - Fix Segfault on Nvidia Platform
Change-Id: Ib85bb0b0e91b7703afc4858c4a5ada0115ad68f4
2022-02-19 12:53:46 +00:00
Satyanvesh Dittakavi 17f228dcef EXSWCPHIPT-13 - Fix Segfault on Nvidia Platform
Change-Id: Ib85bb0b0e91b7703afc4858c4a5ada0115ad68f4


[ROCm/clr commit: f3f11f4c7d]
2022-02-19 12:53:46 +00:00
Satyanvesh Dittakavi f3f11f4c7d EXSWCPHIPT-13 - Fix Segfault on Nvidia Platform
Change-Id: Ib85bb0b0e91b7703afc4858c4a5ada0115ad68f4
2022-02-19 12:53:46 +00:00