76333 Коммитов
Автор SHA1 Сообщение Дата
German Andryeyev 20f0e36041 Correct mgpu coop launch test
When the original size is devided accross all GPUs rounding can
occur, causing incorrect validation. Readjust the final value
for comparison to the new size accordingly.

Change-Id: I9b42149e33dfcb328de7419e546a0202a69a8610
2020-05-13 14:39:11 -04:00
Vlad Sytchenko 0274913d05 Correctly check if env vars are set
Change-Id: I365da786c822e9395aec5c6b75753ba297da3f64


[ROCm/clr commit: 5067cd1dd1]
2020-05-13 14:08:03 -04:00
Vlad Sytchenko 5067cd1dd1 Correctly check if env vars are set
Change-Id: I365da786c822e9395aec5c6b75753ba297da3f64
2020-05-13 14:08:03 -04:00
Vlad Sytchenko 969c3284fb Correctly check if env vars are set
Change-Id: I365da786c822e9395aec5c6b75753ba297da3f64


[ROCm/hip commit: a45085f9b9]
2020-05-13 14:08:03 -04:00
Vlad Sytchenko a45085f9b9 Correctly check if env vars are set
Change-Id: I365da786c822e9395aec5c6b75753ba297da3f64
2020-05-13 14:08:03 -04:00
Payam 5540e98745 adding HIP_ENABLE_LAZY_KERNEL_LOADING flag
Change-Id: Ia4425e00d97a25bcea656e2ade5cd3a5d92b4de6


[ROCm/clr commit: a3b730b595]
2020-05-13 13:06:55 -04:00
Payam a3b730b595 adding HIP_ENABLE_LAZY_KERNEL_LOADING flag
Change-Id: Ia4425e00d97a25bcea656e2ade5cd3a5d92b4de6
2020-05-13 13:06:55 -04:00
Chris Freehill f2779ee3db Merge "Add ref counting for rsmi init and shutdown" into amd-master
[ROCm/rocm_smi_lib commit: 44f14f4a86]
2020-05-13 09:24:32 -04:00
Chris Freehill 44f14f4a86 Merge "Add ref counting for rsmi init and shutdown" into amd-master 2020-05-13 09:24:32 -04:00
Chris Freehill 0fd8f4806c Merge "Add ref counting for rsmi init and shutdown" into amd-master
[ROCm/amdsmi commit: 44f14f4a86]
2020-05-13 09:24:32 -04:00
Evgeny b03fd5ace0 hip apr stream porting to hip vdi; hip_api_string off by default
Change-Id: I2a9b55b8bdc372743b175797c0d4827fe8931033


[ROCm/roctracer commit: 98dbca9058]
2020-05-13 06:06:17 -05:00
Evgeny 98dbca9058 hip apr stream porting to hip vdi; hip_api_string off by default
Change-Id: I2a9b55b8bdc372743b175797c0d4827fe8931033
2020-05-13 06:06:17 -05:00
Christophe Paquot dd774dbc5c Make sure to remove the global var from amd::MemObjMap
We need this otherwise ROCr can give us a matching address
for another allocation and doing "insert" in ROCclr will not
update the map with the newest object. We would then end up
using stale objects (yikes)
SWDEV-234992

Change-Id: I3475adf9781a9309d64a024fae45181d7e5afb04


[ROCm/clr commit: 2cc0fb9381]
2020-05-13 00:26:19 -07:00
Christophe Paquot 2cc0fb9381 Make sure to remove the global var from amd::MemObjMap
We need this otherwise ROCr can give us a matching address
for another allocation and doing "insert" in ROCclr will not
update the map with the newest object. We would then end up
using stale objects (yikes)
SWDEV-234992

Change-Id: I3475adf9781a9309d64a024fae45181d7e5afb04
2020-05-13 00:26:19 -07:00
Christophe Paquot 56a91401a4 Make sure to remove the global var from amd::MemObjMap
We need this otherwise ROCr can give us a matching address
for another allocation and doing "insert" in ROCclr will not
update the map with the newest object. We would then end up
using stale objects (yikes)
SWDEV-234992

Change-Id: I3475adf9781a9309d64a024fae45181d7e5afb04


[ROCm/hip commit: a03fee04fe]
2020-05-13 00:26:19 -07:00
Christophe Paquot a03fee04fe Make sure to remove the global var from amd::MemObjMap
We need this otherwise ROCr can give us a matching address
for another allocation and doing "insert" in ROCclr will not
update the map with the newest object. We would then end up
using stale objects (yikes)
SWDEV-234992

Change-Id: I3475adf9781a9309d64a024fae45181d7e5afb04
2020-05-13 00:26:19 -07:00
Chauncey Hui 274d09f879 SWDEV-2 - Change OpenCL version number from 3141 to 3142
[ROCm/clr commit: c15d217f1a]
2020-05-13 03:00:03 -04:00
Chauncey Hui c15d217f1a SWDEV-2 - Change OpenCL version number from 3141 to 3142 2020-05-13 03:00:03 -04:00
Ranieri Althoff aa185380f9 Avoid calculating strlen multiple times
Change-Id: Iec66c7d35e5d6cd2deb02c94ee070d0fa1335147
Signed-off-by: Ranieri Althoff <ranisalt@gmail.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
2020-05-13 00:38:26 -04:00
Ranieri Althoff a6c3ce5762 Avoid calculating strlen multiple times
Change-Id: Iec66c7d35e5d6cd2deb02c94ee070d0fa1335147
Signed-off-by: Ranieri Althoff <ranisalt@gmail.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>


[ROCm/ROCR-Runtime commit: aa185380f9]
2020-05-13 00:38:26 -04:00
Evgeny Shcherbakov 48c8076e9c Merge "clang10 proting" into amd-master 2020-05-12 22:57:32 -04:00
Evgeny Shcherbakov 41ff7ec303 Merge "clang10 proting" into amd-master
[ROCm/rocprofiler commit: 48c8076e9c]
2020-05-12 22:57:32 -04:00
Wenkai Du ced9958094 rccl-prim-test: add flags when calling hipExtLaunchMultiKernelMultiDevice in hip-clang
[ROCm/rccl commit: f1058b6353]
2020-05-12 23:54:07 +00:00
Wenkai Du f1058b6353 rccl-prim-test: add flags when calling hipExtLaunchMultiKernelMultiDevice in hip-clang 2020-05-12 23:54:07 +00:00
Evgeny 04aea8c3df clang10 proting
Change-Id: I071833f9d1f46df105f7ef1749c5d17d989bbb05
2020-05-12 18:26:47 -05:00
Evgeny 3402d6bba1 clang10 proting
Change-Id: I071833f9d1f46df105f7ef1749c5d17d989bbb05


[ROCm/rocprofiler commit: 04aea8c3df]
2020-05-12 18:26:47 -05:00
Stanley Tsang 5b01a901b7 Merge pull request #206 from stanleytsang-amd/develop
Updating RCCL documentation

[ROCm/rccl commit: 66a9f11910]
2020-05-12 17:24:40 -06:00
Stanley Tsang 66a9f11910 Merge pull request #206 from stanleytsang-amd/develop
Updating RCCL documentation
2020-05-12 17:24:40 -06:00
Christophe Paquot 5c506c70c3 Add lock to addFatBinary and removeFatBinary
In case hipModule(Un)Load is called from different thread as hipInit we need to grab the lock
as both are going to modify modules_
Also add some logging for __hipExtractCodeObjectFromFatBinary in case binary isn't found for GPU
SWDEV-236032

Change-Id: Icbd72b412502df80d5066cea42a4fbcd5b0b8a98


[ROCm/clr commit: 374fd36f31]
2020-05-12 16:04:08 -07:00
Christophe Paquot 374fd36f31 Add lock to addFatBinary and removeFatBinary
In case hipModule(Un)Load is called from different thread as hipInit we need to grab the lock
as both are going to modify modules_
Also add some logging for __hipExtractCodeObjectFromFatBinary in case binary isn't found for GPU
SWDEV-236032

Change-Id: Icbd72b412502df80d5066cea42a4fbcd5b0b8a98
2020-05-12 16:04:08 -07:00
Christophe Paquot 2588c88679 Add lock to addFatBinary and removeFatBinary
In case hipModule(Un)Load is called from different thread as hipInit we need to grab the lock
as both are going to modify modules_
Also add some logging for __hipExtractCodeObjectFromFatBinary in case binary isn't found for GPU
SWDEV-236032

Change-Id: Icbd72b412502df80d5066cea42a4fbcd5b0b8a98


[ROCm/hip commit: f100ae3679]
2020-05-12 16:04:08 -07:00
Christophe Paquot f100ae3679 Add lock to addFatBinary and removeFatBinary
In case hipModule(Un)Load is called from different thread as hipInit we need to grab the lock
as both are going to modify modules_
Also add some logging for __hipExtractCodeObjectFromFatBinary in case binary isn't found for GPU
SWDEV-236032

Change-Id: Icbd72b412502df80d5066cea42a4fbcd5b0b8a98
2020-05-12 16:04:08 -07:00
Stanley Tsang abba9d5504 Restoring doxygen documentation to nccl.h.in.
[ROCm/rccl commit: 787ac13486]
2020-05-12 22:03:31 +00:00
Stanley Tsang 787ac13486 Restoring doxygen documentation to nccl.h.in. 2020-05-12 22:03:31 +00:00
Aaron En Ye Shi e80e68930d Merge "search path logic updated for extractkernel SWDEV-230929" into amd-master-next
[ROCm/clr commit: 4fa2ce777a]
2020-05-12 17:59:47 -04:00
Aaron En Ye Shi 4fa2ce777a Merge "search path logic updated for extractkernel SWDEV-230929" into amd-master-next 2020-05-12 17:59:47 -04:00
Aaron En Ye Shi 967c7306da Merge "search path logic updated for extractkernel SWDEV-230929" into amd-master-next
[ROCm/hip commit: da01762f1a]
2020-05-12 17:59:47 -04:00
Aaron En Ye Shi da01762f1a Merge "search path logic updated for extractkernel SWDEV-230929" into amd-master-next 2020-05-12 17:59:47 -04:00
Evgeny Shcherbakov c62eeac6c1 Merge "increasing API version" into amd-master 2020-05-12 16:14:50 -04:00
Evgeny Shcherbakov 7c0f83ea8a Merge "increasing API version" into amd-master
[ROCm/rocprofiler commit: c62eeac6c1]
2020-05-12 16:14:50 -04:00
Stanley Tsang e35e4d3401 Updating README and readthedocs documentation.
[ROCm/rccl commit: b59b9d328b]
2020-05-12 20:11:49 +00:00
Stanley Tsang b59b9d328b Updating README and readthedocs documentation. 2020-05-12 20:11:49 +00:00
Saleel Kudchadker e8c29aed2c Merge "SWDEV-235495 Fix elapsed time calculation" into amd-master-next
[ROCm/clr commit: 93dcace83c]
2020-05-12 15:23:23 -04:00
Saleel Kudchadker 93dcace83c Merge "SWDEV-235495 Fix elapsed time calculation" into amd-master-next 2020-05-12 15:23:23 -04:00
Saleel Kudchadker cd7c57c3ff Merge "SWDEV-235495 Fix elapsed time calculation" into amd-master-next
[ROCm/hip commit: 7f548c5aa9]
2020-05-12 15:23:23 -04:00
Saleel Kudchadker 7f548c5aa9 Merge "SWDEV-235495 Fix elapsed time calculation" into amd-master-next 2020-05-12 15:23:23 -04:00
Amber Lin a37a88ddcb libhsakmt: Sync up the ioctl number
Update the non-upstream ioctl numbers to align with the change in the
kernel.

Signed-off-by: Amber Lin <Amber.Lin@amd.com>
Change-Id: Ie0ddccb343a023b55eb18477c59341acaa666e99
2020-05-12 15:06:07 -04:00
Amber Lin 2aa89d8bf4 libhsakmt: Sync up the ioctl number
Update the non-upstream ioctl numbers to align with the change in the
kernel.

Signed-off-by: Amber Lin <Amber.Lin@amd.com>
Change-Id: Ie0ddccb343a023b55eb18477c59341acaa666e99


[ROCm/ROCR-Runtime commit: a37a88ddcb]
2020-05-12 15:06:07 -04:00
German Andryeyev 59b9ef5df5 Disable cooperative groups support
Change-Id: I1b526f2228d083ecad7907a6eaf37c1dd4428277


[ROCm/clr commit: d2b9a57c4f]
2020-05-12 14:31:10 -04:00
German Andryeyev d2b9a57c4f Disable cooperative groups support
Change-Id: I1b526f2228d083ecad7907a6eaf37c1dd4428277
2020-05-12 14:31:10 -04:00