German Andryeyev
f4cc6cf84f
Merge "SWDEV-276625 - Add implicit glFinish() for cl_khr_gl_event" into amd-staging
2021-03-23 14:32:21 -04:00
sumanthtg
d21f8da966
SWDEV-278478 - Fix for hipDeviceGetPCIBusId-vs-lspci test failure
...
Change-Id: I7c722633ba8023f03bb64f5fb32b31f10015c327
[ROCm/clr commit: e7ee877a50 ]
2021-03-23 21:49:17 +05:30
sumanthtg
e7ee877a50
SWDEV-278478 - Fix for hipDeviceGetPCIBusId-vs-lspci test failure
...
Change-Id: I7c722633ba8023f03bb64f5fb32b31f10015c327
2021-03-23 21:49:17 +05:30
sumanthtg
64f2af4dc9
SWDEV-278478 - Fix for hipDeviceGetPCIBusId-vs-lspci test failure
...
Change-Id: I7c722633ba8023f03bb64f5fb32b31f10015c327
[ROCm/hip commit: 6e201739b6 ]
2021-03-23 21:49:17 +05:30
sumanthtg
6e201739b6
SWDEV-278478 - Fix for hipDeviceGetPCIBusId-vs-lspci test failure
...
Change-Id: I7c722633ba8023f03bb64f5fb32b31f10015c327
2021-03-23 21:49:17 +05:30
Mengbing Wang
d5855c1658
limit the memory allocation on vram to 3/4 of vram size.
...
1. As we cannot ganrantee that 100% apu vram are free to be allocated, limit
the allocation size be no more than 3/4 of vram size.
2. Keep the old 1GB allocation limit for dGPU case.
3. Add the alignment check for alloc_size.
Affected tests:
rocrtstStress.Memory_Concurrent_Allocate_Test
rocrtstStress.Memory_Concurrent_Free_Test
Change-Id: Id0023de132024d02f80980ae4237d9d74d9e27d3
Signed-off-by: Mengbing Wang <mengbing.wang@amd.com >
2021-03-23 18:59:42 +08:00
Mengbing Wang
97918cbd7c
limit the memory allocation on vram to 3/4 of vram size.
...
1. As we cannot ganrantee that 100% apu vram are free to be allocated, limit
the allocation size be no more than 3/4 of vram size.
2. Keep the old 1GB allocation limit for dGPU case.
3. Add the alignment check for alloc_size.
Affected tests:
rocrtstStress.Memory_Concurrent_Allocate_Test
rocrtstStress.Memory_Concurrent_Free_Test
Change-Id: Id0023de132024d02f80980ae4237d9d74d9e27d3
Signed-off-by: Mengbing Wang <mengbing.wang@amd.com >
[ROCm/ROCR-Runtime commit: d5855c1658 ]
2021-03-23 18:59:42 +08:00
Anusha GodavarthySurya
d130931dcb
SWDEV-272025 - Replace pushd/popd with cd
...
Change-Id: I0464e4079e31ddbc4e2032d64600f1f2c31a2c1f
[ROCm/clr commit: 5577936baa ]
2021-03-23 05:24:50 -04:00
Anusha GodavarthySurya
5577936baa
SWDEV-272025 - Replace pushd/popd with cd
...
Change-Id: I0464e4079e31ddbc4e2032d64600f1f2c31a2c1f
2021-03-23 05:24:50 -04:00
Anusha GodavarthySurya
feab085103
SWDEV-272025 - Replace pushd/popd with cd
...
Change-Id: I0464e4079e31ddbc4e2032d64600f1f2c31a2c1f
[ROCm/hip commit: bb4433be51 ]
2021-03-23 05:24:50 -04:00
Anusha GodavarthySurya
bb4433be51
SWDEV-272025 - Replace pushd/popd with cd
...
Change-Id: I0464e4079e31ddbc4e2032d64600f1f2c31a2c1f
2021-03-23 05:24:50 -04:00
Chauncey Hui
a553bf68ac
SWDEV-2 - Change OpenCL version number from 3277 to 3278
...
[ROCm/clr commit: 1b9de9bee0 ]
2021-03-23 03:00:07 -04:00
Chauncey Hui
1b9de9bee0
SWDEV-2 - Change OpenCL version number from 3277 to 3278
2021-03-23 03:00:07 -04:00
German Andryeyev
95091ae4a4
SWDEV-276625 - Add implicit glFinish() for cl_khr_gl_event
...
Modifies the behavior of clEnqueueAcquireGLObjects and
clEnqueueReleaseGLObjects to implicitly guarantee synchronization
with an OpenGL context bound in the same thread as
the OpenCL context.
Change-Id: I23eddee37a77f6c1c9d1a9ad3a3e1eb254a1ed82
[ROCm/clr commit: c4cde09339 ]
2021-03-22 16:49:03 -04:00
German Andryeyev
c4cde09339
SWDEV-276625 - Add implicit glFinish() for cl_khr_gl_event
...
Modifies the behavior of clEnqueueAcquireGLObjects and
clEnqueueReleaseGLObjects to implicitly guarantee synchronization
with an OpenGL context bound in the same thread as
the OpenCL context.
Change-Id: I23eddee37a77f6c1c9d1a9ad3a3e1eb254a1ed82
2021-03-22 16:49:03 -04:00
pghafari
5f179326bd
SWDEV-245532 - HIP - Vulkan interop
...
Change-Id: Ied16503cc154fbda8ce28db25df746cccb19e0ba
[ROCm/clr commit: 67e9aac689 ]
2021-03-22 15:06:50 -04:00
pghafari
67e9aac689
SWDEV-245532 - HIP - Vulkan interop
...
Change-Id: Ied16503cc154fbda8ce28db25df746cccb19e0ba
2021-03-22 15:06:50 -04:00
Jason Tang
a24ec756d0
SWDEV-277771 - Build opencl with c++ standard 14
...
Change-Id: I11c72b230320761f775e23816634b55ceaccb65e
[ROCm/clr commit: 2727d7047a ]
2021-03-22 11:30:29 -04:00
Jason Tang
2727d7047a
SWDEV-277771 - Build opencl with c++ standard 14
...
Change-Id: I11c72b230320761f775e23816634b55ceaccb65e
2021-03-22 11:30:29 -04:00
Jason Tang
12802612a4
SWDEV-277771 - Build rocclr with c++ standard 14
...
Change-Id: Id91460ca50acd0640d479f207fb169d207648f61
[ROCm/clr commit: 542ae617e5 ]
2021-03-22 11:28:56 -04:00
Jason Tang
542ae617e5
SWDEV-277771 - Build rocclr with c++ standard 14
...
Change-Id: Id91460ca50acd0640d479f207fb169d207648f61
2021-03-22 11:28:56 -04:00
Anusha GodavarthySurya
8a295bf7a6
SWDEV-269085 - Fix compilation error with clang
...
Change-Id: Iab5902c9a2702456fbe433fdefc40541c48acb71
[ROCm/clr commit: 23f8c84326 ]
2021-03-22 03:02:50 -07:00
Anusha GodavarthySurya
23f8c84326
SWDEV-269085 - Fix compilation error with clang
...
Change-Id: Iab5902c9a2702456fbe433fdefc40541c48acb71
2021-03-22 03:02:50 -07:00
Anusha GodavarthySurya
3d9004a7c7
SWDEV-269085 - Fix compilation error with clang
...
Change-Id: Iab5902c9a2702456fbe433fdefc40541c48acb71
[ROCm/hip commit: 7535ce6498 ]
2021-03-22 03:02:50 -07:00
Anusha GodavarthySurya
7535ce6498
SWDEV-269085 - Fix compilation error with clang
...
Change-Id: Iab5902c9a2702456fbe433fdefc40541c48acb71
2021-03-22 03:02:50 -07:00
Evgeny
e2c9d13e5b
SWDEV-274821 SPM initialization fix
...
Change-Id: I5e27928a60083eff328bab3e79937ce11bce11bd
2021-03-22 09:18:36 +00:00
Evgeny
0282e30855
SWDEV-274821 SPM initialization fix
...
Change-Id: I5e27928a60083eff328bab3e79937ce11bce11bd
[ROCm/rocprofiler commit: e2c9d13e5b ]
2021-03-22 09:18:36 +00:00
Saleel Kudchadker
0a5d415c1d
SWDEV-277847 - Move event lock_ to the beginning
...
For addMarker, assume T1 comes in first and enqueues a command C1.
Before T1 grabs the event_::lock_ it gets preempted. At this time,
T2 comes in, enqueues C2 and grabs the lock_ and updates event_. Now T1
wakes up and updates a older command C1 for the event.
Change-Id: Ia423782b23026302c40976385623cfdede32d70b
[ROCm/clr commit: b1657c4159 ]
2021-03-19 15:28:08 -07:00
Saleel Kudchadker
b1657c4159
SWDEV-277847 - Move event lock_ to the beginning
...
For addMarker, assume T1 comes in first and enqueues a command C1.
Before T1 grabs the event_::lock_ it gets preempted. At this time,
T2 comes in, enqueues C2 and grabs the lock_ and updates event_. Now T1
wakes up and updates a older command C1 for the event.
Change-Id: Ia423782b23026302c40976385623cfdede32d70b
2021-03-19 15:28:08 -07:00
Saleel Kudchadker
8028c6d430
SWDEV-277847 - Move event lock_ to the beginning
...
For addMarker, assume T1 comes in first and enqueues a command C1.
Before T1 grabs the event_::lock_ it gets preempted. At this time,
T2 comes in, enqueues C2 and grabs the lock_ and updates event_. Now T1
wakes up and updates a older command C1 for the event.
Change-Id: Ia423782b23026302c40976385623cfdede32d70b
[ROCm/hip commit: c8b9257c0b ]
2021-03-19 15:28:08 -07:00
Saleel Kudchadker
c8b9257c0b
SWDEV-277847 - Move event lock_ to the beginning
...
For addMarker, assume T1 comes in first and enqueues a command C1.
Before T1 grabs the event_::lock_ it gets preempted. At this time,
T2 comes in, enqueues C2 and grabs the lock_ and updates event_. Now T1
wakes up and updates a older command C1 for the event.
Change-Id: Ia423782b23026302c40976385623cfdede32d70b
2021-03-19 15:28:08 -07:00
Wenkai Du
287ed0f18a
Enable collnet in RCCL ( #333 )
...
* Enable CollNet and use different number of channels
* topo_expl: enable collnet
[ROCm/rccl commit: 1d6244b18d ]
2021-03-19 12:58:13 -07:00
Wenkai Du
1d6244b18d
Enable collnet in RCCL ( #333 )
...
* Enable CollNet and use different number of channels
* topo_expl: enable collnet
2021-03-19 12:58:13 -07:00
jujiang
88c0959afb
SWDEV-277423 - Correct hipStreamWaitValue doxygen format
...
Change-Id: I8914c14cb7a05d5d0bdfa054af14765c872c70a6
[ROCm/clr commit: cc69e95c1a ]
2021-03-19 14:10:41 -04:00
jujiang
cc69e95c1a
SWDEV-277423 - Correct hipStreamWaitValue doxygen format
...
Change-Id: I8914c14cb7a05d5d0bdfa054af14765c872c70a6
2021-03-19 14:10:41 -04:00
jujiang
59acce2b79
SWDEV-277423 - Correct hipStreamWaitValue doxygen format
...
Change-Id: I8914c14cb7a05d5d0bdfa054af14765c872c70a6
[ROCm/hip commit: d279bd99bb ]
2021-03-19 14:10:41 -04:00
jujiang
d279bd99bb
SWDEV-277423 - Correct hipStreamWaitValue doxygen format
...
Change-Id: I8914c14cb7a05d5d0bdfa054af14765c872c70a6
2021-03-19 14:10:41 -04:00
Chauncey Hui
477332308c
SWDEV-2 - Change OpenCL version number from 3276 to 3277
...
[ROCm/clr commit: fe84c3a912 ]
2021-03-19 03:00:05 -04:00
Chauncey Hui
fe84c3a912
SWDEV-2 - Change OpenCL version number from 3276 to 3277
2021-03-19 03:00:05 -04:00
Tao Sang
2e89139b49
SWDEV-273138 - Update canUseStreamWaitValue retrieving
...
Remove canUseStreamWaitValue from hipDeviceProp_t.
Update canUseStreamWaitValue retrieving in hipDeviceGetAttribute().
Change-Id: I275bd42d8b03e141caaf9f1bc6b714e51ca72dfb
[ROCm/clr commit: 08625144b3 ]
2021-03-18 22:42:35 -04:00
Tao Sang
08625144b3
SWDEV-273138 - Update canUseStreamWaitValue retrieving
...
Remove canUseStreamWaitValue from hipDeviceProp_t.
Update canUseStreamWaitValue retrieving in hipDeviceGetAttribute().
Change-Id: I275bd42d8b03e141caaf9f1bc6b714e51ca72dfb
2021-03-18 22:42:35 -04:00
Tao Sang
f962ea4cc1
SWDEV-273138 - Update canUseStreamWaitValue retrieving
...
Remove canUseStreamWaitValue from hipDeviceProp_t.
Update canUseStreamWaitValue retrieving in hipDeviceGetAttribute().
Change-Id: I275bd42d8b03e141caaf9f1bc6b714e51ca72dfb
[ROCm/hip commit: ca0cc36ef4 ]
2021-03-18 22:42:35 -04:00
Tao Sang
ca0cc36ef4
SWDEV-273138 - Update canUseStreamWaitValue retrieving
...
Remove canUseStreamWaitValue from hipDeviceProp_t.
Update canUseStreamWaitValue retrieving in hipDeviceGetAttribute().
Change-Id: I275bd42d8b03e141caaf9f1bc6b714e51ca72dfb
2021-03-18 22:42:35 -04:00
Wenkai Du
260b54adb9
Hide non-public symbols from library ( #332 )
...
* Hide non-public symbols from library
* Move flag outside of parallel-jobs check
[ROCm/rccl commit: 244e25d980 ]
2021-03-18 18:08:08 -07:00
Wenkai Du
244e25d980
Hide non-public symbols from library ( #332 )
...
* Hide non-public symbols from library
* Move flag outside of parallel-jobs check
2021-03-18 18:08:08 -07:00
Sourabh Betigeri
58f30f3174
SWDEV-274727 - The callback associated with the event was being processed after the event is destroyed. Commit after resolving merge conflict.
...
Change-Id: Ia7383c83318ca0c2a4f21f7aaf22b1cebd828cf0
[ROCm/clr commit: c90c7a5cf1 ]
2021-03-18 15:08:58 -04:00
Sourabh Betigeri
c90c7a5cf1
SWDEV-274727 - The callback associated with the event was being processed after the event is destroyed. Commit after resolving merge conflict.
...
Change-Id: Ia7383c83318ca0c2a4f21f7aaf22b1cebd828cf0
2021-03-18 15:08:58 -04:00
Sourabh Betigeri
313856c6ea
SWDEV-274727 - The callback associated with the event was being processed after the event is destroyed. Commit after resolving merge conflict.
...
Change-Id: Ia7383c83318ca0c2a4f21f7aaf22b1cebd828cf0
[ROCm/hip commit: 4223d3ecb4 ]
2021-03-18 15:08:58 -04:00
Sourabh Betigeri
4223d3ecb4
SWDEV-274727 - The callback associated with the event was being processed after the event is destroyed. Commit after resolving merge conflict.
...
Change-Id: Ia7383c83318ca0c2a4f21f7aaf22b1cebd828cf0
2021-03-18 15:08:58 -04:00
German Andryeyev
f0a961f36a
SWDEV-277543 - fix destruction of the stream object
...
Change-Id: If2f532e66099805a7f05181e63f5454893a1a288
[ROCm/clr commit: 5c360446bf ]
2021-03-18 13:24:46 -04:00