76333 Commit
Autore SHA1 Messaggio Data
ROCm CI Service AccounteDURGESH KROTTAPALLI e21231649d SWDEV-306122 - [catch2][dtest] Tests for hipGraphAddHostNode API (#2507)
Added Negative and functional tests for hipGraphAddHostNode API

Change-Id: I7237cdf62daa492d94b1f67fcb9df8b2260d8052

Co-authored-by: DURGESH KROTTAPALLI <Durgesh.Krottapalli>
2022-02-24 16:54:07 +05:30
ROCm CI Service AccounteDURGESH KROTTAPALLI 7016e59a0a SWDEV-306122 - [catch2][dtest] Tests for hipGraphInstantiateWithFlags API (#2508)
Added Negative and functional tests for hipGraphInstantiateWithFlags API

Change-Id: Ife82615f4aec3c5df90e4640a7cc4381709306d9

Co-authored-by: DURGESH KROTTAPALLI <Durgesh.Krottapalli@amd.com>

[ROCm/hip-tests commit: eb500d7eb0]
2022-02-24 16:41:35 +05:30
ROCm CI Service AccounteDURGESH KROTTAPALLI eb500d7eb0 SWDEV-306122 - [catch2][dtest] Tests for hipGraphInstantiateWithFlags API (#2508)
Added Negative and functional tests for hipGraphInstantiateWithFlags API

Change-Id: Ife82615f4aec3c5df90e4640a7cc4381709306d9

Co-authored-by: DURGESH KROTTAPALLI <Durgesh.Krottapalli@amd.com>
2022-02-24 16:41:35 +05:30
ROCm CI Service AccounteDURGESH KROTTAPALLI fac96c41b6 SWDEV-306122 - [catch2][dtest] Tests for hipGraphInstantiateWithFlags API (#2508)
Added Negative and functional tests for hipGraphInstantiateWithFlags API

Change-Id: Ife82615f4aec3c5df90e4640a7cc4381709306d9

Co-authored-by: DURGESH KROTTAPALLI <Durgesh.Krottapalli@amd.com>

[ROCm/hip commit: 11271fe362]
2022-02-24 16:41:35 +05:30
ROCm CI Service AccounteDURGESH KROTTAPALLI 11271fe362 SWDEV-306122 - [catch2][dtest] Tests for hipGraphInstantiateWithFlags API (#2508)
Added Negative and functional tests for hipGraphInstantiateWithFlags API

Change-Id: Ife82615f4aec3c5df90e4640a7cc4381709306d9

Co-authored-by: DURGESH KROTTAPALLI <Durgesh.Krottapalli@amd.com>
2022-02-24 16:41:35 +05:30
ROCm CI Service Account 2fdcd19980 SWDEV-306122 - [catch2][dtest] hipGraphClone API (#2510)
Added Negative, functional and multithreaded  tests for hipGraphClone API

Change-Id: I0733b469c1f1f0e897ed70c49b6ad3756a35f1b5

[ROCm/hip-tests commit: d564bb34f9]
2022-02-24 16:40:14 +05:30
ROCm CI Service Account d564bb34f9 SWDEV-306122 - [catch2][dtest] hipGraphClone API (#2510)
Added Negative, functional and multithreaded  tests for hipGraphClone API

Change-Id: I0733b469c1f1f0e897ed70c49b6ad3756a35f1b5
2022-02-24 16:40:14 +05:30
ROCm CI Service Account 91a89dece3 SWDEV-306122 - [catch2][dtest] hipGraphClone API (#2510)
Added Negative, functional and multithreaded  tests for hipGraphClone API

Change-Id: I0733b469c1f1f0e897ed70c49b6ad3756a35f1b5

[ROCm/hip commit: 302b0e8e12]
2022-02-24 16:40:14 +05:30
ROCm CI Service Account 302b0e8e12 SWDEV-306122 - [catch2][dtest] hipGraphClone API (#2510)
Added Negative, functional and multithreaded  tests for hipGraphClone API

Change-Id: I0733b469c1f1f0e897ed70c49b6ad3756a35f1b5
2022-02-24 16:40:14 +05:30
ROCm CI Service Account fbb703087a SWDEV-273235 - build hip samples in Windows (#2513)
Change-Id: I90f06ef058a3a8b54726b86d72f36b2ba7f94d4c

[ROCm/hip commit: 73b520a2e0]
2022-02-24 16:39:07 +05:30
ROCm CI Service Account 73b520a2e0 SWDEV-273235 - build hip samples in Windows (#2513)
Change-Id: I90f06ef058a3a8b54726b86d72f36b2ba7f94d4c
2022-02-24 16:39:07 +05:30
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 AccounteChristophe 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 AccounteChristophe 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 AccounteSaleel 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 AccounteSaleel 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
Elena Sakhnovitch 99a9fbfea8 [rocm_smi.py]: fix input error type for --setclock
signed-off-by: Elena Sakhnovitch
Change-Id: I9626978780f360c591fb8908f5b759f2289dff0b


[ROCm/amdsmi commit: 9b871fcd9f]
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
Ziyue Yang dfa9b9e958 Add Pivot AllToAll algorithm for Rome model (#503)
* add a2a pivot interface

* remove debug info

* address comments

* fix bug

* remove custom script

* address comments

* fix bug

[ROCm/rccl commit: b569c0a1db]
2022-02-20 21:09:47 -08:00
Ziyue Yang b569c0a1db Add Pivot AllToAll algorithm for Rome model (#503)
* add a2a pivot interface

* remove debug info

* address comments

* fix bug

* remove custom script

* address comments

* fix bug
2022-02-20 21:09:47 -08:00