Commit Graph

12433 Commits

Author SHA1 Message Date
Tao Sang fe7d103d56 SWDEV-279657 - Fix hipMallocManaged-N256M failure
Add concurrentManagedAccess detection in hipMallocManaged test.
Skip test when device doesn't support concurrentManagedAccess.

Change-Id: Ie54046feef3baba857a7068972ec1fc1a60c2dfd


[ROCm/clr commit: 20fd6b8a66]
2021-04-20 09:07:31 -04:00
Chauncey Hui 823c7c456a SWDEV-2 - Change OpenCL version number from 3294 to 3295
[ROCm/clr commit: 624d68dcb4]
2021-04-20 03:00:06 -04:00
sumanthtg 9834c99bfc SWDEV-238517 - [dtest] Additional Tests for hipHostMalloc()
New Tests added for
 - hipHostMalloc() api.

SWDEV-238517 for enhancing hip unit tests

Change-Id: Id237ab6cd2445216cd7bd9b8189c22a36ad66b7c


[ROCm/clr commit: 248785e3d1]
2021-04-20 00:44:30 -04:00
Sourabh Betigeri eedde26cc9 SWDEV-256723 - Added group partitioning feature in ROCm CG.
Change-Id: Ie54046feef3baba857a7068972ec1fc0a60c2df9


[ROCm/clr commit: 0a0b026304]
2021-04-19 18:53:17 -04:00
German Andryeyev b3f68fb194 SWDEV-278896 - Notify GPU about possible wait
Early notification allows CPU command state to be processed earlier.
Otherwise state update will be delayed until the actual possible
wait.

Change-Id: I0e9d6c2ad88e3723eab2f6dc9a20f288f6c1ca0c


[ROCm/clr commit: dab4f5bdba]
2021-04-19 13:00:16 -04:00
DURGESH KROTTAPALLI c634c74f1b SWDEV-273550 - Tests for hipMemcpyAtoH and HtoA
[dtest] Tests for hipMemcpyAtoH & hipMemcpyHtoA APIs

1. hipMemcpyAtoH/hipMemcpyHtoA negative scenarios
2. hipMemcpyAtoH/hipMemcpyHtoA Functional scenarios

Change-Id: Iec5b339db7fdde2592390c1f56ab6cf31131d4c8


[ROCm/clr commit: 6d0d2aabd6]
2021-04-19 08:48:15 -04:00
German Andryeyev bb636d4fca SWDEV-278896 - Increase thresholds to match MT behavior
MT doesn't use GPU waits, but CPU for sync between engines.
Change the threshold values for CPU waits for direct dispatch.
That will bring behavior closer to MT.

Change-Id: Ia41c3cb812614962aff2746b6cf858f1bf77dda2


[ROCm/clr commit: ca2ea70a6c]
2021-04-16 17:47:57 -04:00
Julia Jiang e103d4f31d SWDEV-270961 - Update hip_programming_guide.md for event handling
Change-Id: Ieadac9972e5ee13c05ccb42a679866f494f96f47


[ROCm/clr commit: cb22874ebd]
2021-04-16 12:14:25 -04:00
German Andryeyev c8c1ed4c13 SWDEV-86035 - use the new field for SE mask
Change-Id: I51ed37f1194264876a3099189f35216d01988771


[ROCm/clr commit: 57d668ab8f]
2021-04-16 11:10:34 -04:00
Chauncey Hui a9d1c55961 SWDEV-2 - Change OpenCL version number from 3293 to 3294
[ROCm/clr commit: 42b2a19616]
2021-04-16 03:00:06 -04:00
Maneesh Gupta 27da0ee868 SWDEV-289147 - Update version dependencies of rocr and comgr packages
Change-Id: I435284298842d054d9b600e797bff391de2e5b1f


[ROCm/clr commit: f18a0d1405]
2021-04-16 00:57:38 -04:00
Vladislav Sytchenko 6ff739e446 SWDEV-1 - Remove VEGA10_ONLY macro
This is a relic of the past.

Change-Id: I888cf96368e321dcb000c1e59e9ed3f7c5dff7ab


[ROCm/clr commit: 3a12ab8fae]
2021-04-15 16:11:31 -04:00
Sourabh Betigeri a936034ca4 SWDEV-279447 - Change to report 64kB of LDS for Windows as well to match the runtime behavior of HIP
Change-Id: I80b66346e17ba23766b7c9fe4e40ca94cb07f54b


[ROCm/clr commit: 70af4db3a6]
2021-04-15 13:26:35 -04:00
Satyanvesh Dittakavi 74cf3b8795 SWDEV-281504 - Rename structure names to use reserved names in HIP headers
HIP headers use few structure names as X, Y, and Z. This causes
compilation issues when the apps use similar names as macros.
Renamed the struct names to use reserved names such as
__X, __Y and __Z

Change-Id: I59416c3734f274e853c87d4856b7e616f6cee5f5


[ROCm/clr commit: 009543ec7a]
2021-04-15 09:52:58 -04:00
Sarbojit Sarkar dfe352e2bf SWDEV-261977 - Updated API to return runtime version
Change-Id: Id2373843c854c83ba06854dd05c61755d0264d8f


[ROCm/clr commit: 6d317ef831]
2021-04-15 07:17:36 -04:00
Chauncey Hui 8ad11396fd SWDEV-2 - Change OpenCL version number from 3292 to 3293
[ROCm/clr commit: f7d3a041df]
2021-04-15 03:00:08 -04:00
Vladislav Sytchenko 1ec25599c7 SWDEV-280473 - Fix warnings in combined LC/HSAIL build
Enabling both LC and HSAIL will cause the DYN macro to be redefined.
Rename it for each compiler to avoid name clashing.

Change-Id: I607f022f37c4d05bef4e3a8070d19bd3659d7bc2


[ROCm/clr commit: b771377665]
2021-04-14 15:46:21 -04:00
sumanthtg 455fcfd330 SWDEV-278967 - Changes to handle dtest failures on cuda runtime version 11.2
Change-Id: I79c87d40b77b4e4beb7e3d0a9ea396ad918a81e8


[ROCm/clr commit: ee8b053a3e]
2021-04-14 12:38:46 -04:00
Vladislav Sytchenko c585ae92a7 SWDEV-280473 - Support HSAIL shared library build
This change makes HSAIL usage similar to that of Comgr. By default, the
runtime will statically link against it, however if HSAIL_DYN_DLL is
defined, then the runtime will try to dynamically load HSAIL.

Currently stick to statically linking to HSAIL. In a feature patch the
dynamic loading behaviour will be enabled.

Change-Id: I6a78a4375975cf847f236b200404c8cf941d012b


[ROCm/clr commit: c7b50bb890]
2021-04-14 12:25:54 -04:00
Chauncey Hui ba2d6da261 SWDEV-2 - Change OpenCL version number from 3291 to 3292
[ROCm/clr commit: 759cf19600]
2021-04-14 03:00:05 -04:00
Aaron Enye Shi eb7035a7c1 SWDEV-261391 - Add Cache Coherency Tests for gfx90a
Add a test for fine-grained device to device coherency.
Add a test for fine-grained host to device coherency.

Change-Id: I62482cae917fa19feaa17adb53f3084527ad8fda


[ROCm/clr commit: 49696c568f]
2021-04-13 16:13:56 -04:00
Julia Jiang 7bb189c4c5 SWDEV-268186 - OCL ReBar optimization
Change-Id: I69d8bce8d48a5b6f94a05272c83ee91fbec1688c


[ROCm/clr commit: aef4ab1fc8]
2021-04-13 15:08:32 -04:00
Vladislav Sytchenko 8edf4d9cd3 SWDEV-280473 - Fix Windows build
Change-Id: Id1acb5ad07a6717c5866065776f9f2b3bf85be8e


[ROCm/clr commit: 2ae1b17b7c]
2021-04-13 11:38:17 -04:00
Chauncey Hui c9fec26190 SWDEV-2 - Change OpenCL version number from 3290 to 3291
[ROCm/clr commit: 4711005dfd]
2021-04-13 03:00:08 -04:00
Tao Sang 73df8d8dd9 SWDEV-273138 - Rearrange device attributes
Change-Id: Iab5902c9a2702456fbe437fdefc40541c48abb74


[ROCm/clr commit: 2c0b63059b]
2021-04-12 17:05:27 -04:00
Vladislav Sytchenko 7b3014ec69 SWDEV-280473 - Remove HSAIL support from the ROCm backend
In adition to removing the HSAIL logic from the ROCm backend, guard all
of the HSAIL includes in the common layer behind the WITH_COMPILER_LIB
define. This is to avoid including HSAIL headers when building with
no support for it.

In common logic replace the use of the aclType enum with the new
Program::file_type_t enum. This is essentially a local copy of the HSAIL
enum to avoid including any HSAIL headers.

Change-Id: Ica0651d1b29dfccc255cc584eb82a5cb35e1b520


[ROCm/clr commit: cbeb372e46]
2021-04-12 14:55:06 -04:00
Chauncey Hui e25a7dae3c SWDEV-2 - Change OpenCL version number from 3289 to 3290
[ROCm/clr commit: 2b133ed3de]
2021-04-10 03:00:06 -04:00
Jason Tang 636bdbd0fa SWDEV-277559 - Remove AMDIL
The rest of AMDIL support will be removed along with orca backend.

Change-Id: I0462501e7147dc4b99870fd02034d0a4a0496e55


[ROCm/clr commit: 1a38be8972]
2021-04-09 14:15:15 -04:00
Saleel Kudchadker 7c9f72fb8d SWDEV-278336 - Print time info only when profiling
Change-Id: Ic8d04e58cf4558fbfc5ed6db35f3ff2d788803f9


[ROCm/clr commit: 9307ab43e4]
2021-04-09 13:17:31 -04:00
kjayapra-amd 693c5653c5 SWDEV-274276 - Implement system scope atomics to _system builtins. Default atomics will map to agent.
Change-Id: I63b13063274418e96d4be0159c779127b166bea5
(cherry picked from commit 7c4ae8ca1daac0b75ac36c4e4a45b8d13f219d14)


[ROCm/clr commit: 61d1eaa522]
2021-04-09 10:23:32 -04:00
Chauncey Hui a62ceeefb9 SWDEV-2 - Change OpenCL version number from 3288 to 3289
[ROCm/clr commit: bb9c9c4322]
2021-04-09 03:00:06 -04:00
Satyanvesh Dittakavi 954d7872f2 SWDEV-279486 - Fix hipMemcpyPeer/hipMemcpy APIs
Addresses the scenarios when the size passed is more than
the allocated size and when the deviceid is invalid
Change-Id: I6c9b62639096f655ffb61976905b1ce8c5f51ee7

Change-Id: I8a0d660924a8e2300c517aba6f9088626b8f6ef5


[ROCm/clr commit: 191ce1dd05]
2021-04-09 02:53:15 -04:00
Julia Jiang c4cd7b1219 SWDEV-270961 - Update HIP FAQ.md
Change-Id: I34b03692edd9e6bc424a3ee615d21cb226aa86cf


[ROCm/clr commit: ea0e2007c0]
2021-04-08 14:13:13 -04:00
Konstantin Zhuravlyov 48a2ce0404 SWDEV-76911 - Target ID workarounds in vdi runtime:
- Add HSAIL ID for Hawaii as gfx702
  - Add HSAIL ID for Renoir without xnack as gfx90c

Fixes: SWDEV-271289, SWDEV-272761
Change-Id: I92cf4619cdfd550462ff8ec3740443ef1e5a5f96


[ROCm/clr commit: 3010cf0a58]
2021-04-08 12:14:25 -04:00
Chauncey Hui d1f97c3bea SWDEV-2 - Change OpenCL version number from 3287 to 3288
[ROCm/clr commit: 96e67ce3e5]
2021-04-08 03:00:06 -04:00
Saleel Kudchadker 6c304e4027 SWDEV-276120 - Remove support for barrier sync
ROC_BARRIER_SYNC will not work with direct dispatch.
Remove and cleanup.

Change-Id: I81368b2e65039477bd0343bb92708dab48867db6


[ROCm/clr commit: aa38af8c96]
2021-04-07 17:08:39 -04:00
Sourabh Betigeri d2842bfc54 SWDEV-273265 - Reverting wrong scope resolution operator VirtualGpu in the declaration releaseGpuMemoryFence()
Change-Id: Ia67ee1e4a3e86235caf8b7c585c65372f7d55426


[ROCm/clr commit: 48e470a14c]
2021-04-07 09:24:10 -07:00
Sarbojit Sarkar 9d490550c5 SWDEV-260454 - Fix for idenfying bad streams
Change-Id: I122ff6f47535c3c76ab56ba49ab1450ef886b15f


[ROCm/clr commit: daf0cbca3c]
2021-04-07 12:13:30 -04:00
Sarbojit Sarkar 4e5bf6268b SWDEV-280131 - Fix __half2 member access bug
Change-Id: Ic11750d18e4ba47446a7e494c3089a19cb4df783


[ROCm/clr commit: 9cbb283771]
2021-04-07 12:12:02 -04:00
Chauncey Hui 940255fd1c SWDEV-2 - Change OpenCL version number from 3286 to 3287
[ROCm/clr commit: a22df8f7f3]
2021-04-07 03:00:06 -04:00
Rupam Chetia 726547bca4 SWDEV-238517 - [dtest] Adding additional scenarios for block and grid dimension.
1. Corner case and negative test scenarios added for block and grid dimension.

Change-Id: I094faf02570fec101f688462712934b94ceb37e1


[ROCm/clr commit: c9ef2adf6a]
2021-04-07 01:44:39 -04:00
Sarbojit Sarkar a8a8200e0b SWDEV-280089 - nullptr was getting added into MemObj
Change-Id: Ica56126156198140a143182de3d93d86730cadf1


[ROCm/clr commit: d8d6c4e55d]
2021-04-06 23:41:50 -04:00
Sourabh Betigeri 6ec57b845c SWDEV-273265 - Fix to wait on a pending dispatch in PAL.
Change-Id: I431cedfef5d5cb727c35ba8e294528017bfe2088


[ROCm/clr commit: 21ea81d5b9]
2021-04-06 13:13:07 -04:00
Julia Jiang 2f8170b85d SWDEV-272268, SWDEV-268186 - OCL change for Rebar optimization:fix regressions in OCLMemInfo and Conformance basic test
Change-Id: I3e709942b5f43ba52a4cb0824a2e6b3202d4b405


[ROCm/clr commit: f22ceb0fd8]
2021-04-06 10:53:12 -04:00
German Andryeyev 77c260410a SWDEV-279288 - Move the batch condition
The check has to be performed inside the signal loop, because
active signals need to be processed to avoid a stale timestamp
class.

Change-Id: I26af8287aae18eb19c096d9358cd0b86cfd1c561


[ROCm/clr commit: 2d41031aec]
2021-04-06 10:22:31 -04:00
Rupam Chetia f896c3411d SWDEV-238517 - [dtest] Adding new test cases for hipComplex functions.
1. Added 21 test scenarios to test the hipComplex functions on both host and device.
2. Modified the floating point comparisons with precision check.

Change-Id: I9edfb0c635ced255935087c85b77d3cc6a1a82e3


[ROCm/clr commit: bbc933c914]
2021-04-06 07:54:29 -04:00
Chauncey Hui a3feedf4b2 SWDEV-2 - Change OpenCL version number from 3285 to 3286
[ROCm/clr commit: e919404eab]
2021-04-06 03:00:07 -04:00
Julia Jiang ffdccc1155 SWDEV-270961 - update HIP documents
Change-Id: I5168d83a124e9c7d856fb7a46d9960d9f99143c6


[ROCm/clr commit: 774565e5ae]
2021-04-05 14:34:33 -04:00
German Andryeyev 472a43432d SWDEV-279288 - Avoid profiling info for the sync barrier
- With direct disaptch profiling state is enabled to trigger the
callback on HSA signal. However ROCr has very low peformance on
the first call to get the profiling info. That impacts some tiny
performance tests.

Change-Id: Idacd1b10a473fcfb5feef3074b7191d35743f769


[ROCm/clr commit: a71f7f931e]
2021-04-05 12:54:23 -04:00
Satyanvesh Dittakavi a4b1719407 SWDEV-277264 - Support install.sh on CentOS
Change-Id: I2e83c53f68372c4de538cc67414440a933241814


[ROCm/clr commit: 380d903402]
2021-04-05 09:06:05 -04:00