Commit Graph

13402 Commits

Author SHA1 Message Date
Chauncey Hui a78bdbd384 SWDEV-2 - Change OpenCL version number from 3485 to 3486
[ROCm/clr commit: f8627e6121]
2022-07-15 03:02:41 -04:00
sdashmiz 3389e6077a SWDEV-334233 - add support for p2p in windows
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I9109120b5444c400e65cfff869cb36e876ffd1fc


[ROCm/clr commit: e176e27bf7]
2022-07-14 15:07:33 -04:00
Brian Sumner 5a402b9c99 SWDEV-333033 - add safe and unsafe atomic min and max including gfx940 and add missing nvidia support
Change-Id: I829a0a5fd49c510e77eabbcb92d1a415ef6b5a4c


[ROCm/clr commit: 4375b9f5b9]
2022-07-14 10:22:42 -04:00
Chauncey Hui f69b6922bb SWDEV-2 - Change OpenCL version number from 3484 to 3485
[ROCm/clr commit: 782e0f2a8d]
2022-07-14 03:00:05 -04:00
Jaydeep Patel 40fda3cfe9 SWDEV-343168 - Clean ihipMallocPitch
Change-Id: Iab1c10ac2aea635ca10cc8bc98141df409ec917c


[ROCm/clr commit: 6b3b62f49e]
2022-07-14 01:15:08 -04:00
Sarbojit Sarkar 06c0775ca6 SWDEV-345741 - hipDeviceSetLimit windows build error
Change-Id: I384541b190f1eb9e045553299215345426c5adc2


[ROCm/clr commit: a4d4289382]
2022-07-13 20:37:32 -04:00
sdashmiz 024e1510b1 SWDEV-321698 - add new enum entries to match cuda
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: If0a17b3234fd90b1f553a075e02280258000d36a


[ROCm/clr commit: 39dbf65782]
2022-07-13 10:22:06 -04:00
sdashmiz b0cbdea221 SWDEV-345021 - add check for pointer
add check for pAllocateArray

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I6c91295c1fe4cffdf22f6b8c07fe0a592c2f4f70


[ROCm/clr commit: 848ae2c06b]
2022-07-13 10:21:48 -04:00
Maneesh Gupta f34161f293 SWDEV-286739 - VDI needs ROCr 1.6+
Change-Id: I5774563edf001eed2994e92713630adbfb75c489


[ROCm/clr commit: 959ba793db]
2022-07-13 04:15:32 -04:00
Chauncey Hui b6e570ce10 SWDEV-2 - Change OpenCL version number from 3483 to 3484
[ROCm/clr commit: 39fa4aae1f]
2022-07-13 03:00:06 -04:00
Saleel Kudchadker 5ba419ac66 SWDEV-301667 - Increase kern arg pool
Change-Id: Ie4b087ae4aec08fccaaa7958cdf545e4e27ac5c1


[ROCm/clr commit: 6a77f73050]
2022-07-12 18:42:29 -04:00
Tao Sang 664578080a SWDEV-286739 - Support hipDeviceAttributeWallClockRate
Part 1: Query constant frequence of wall clock from RocR

Change-Id: I52cbba6d67d11cde6d019c5ab530059f426a9bf2


[ROCm/clr commit: 1e26165cd0]
2022-07-12 17:53:11 -04:00
Ajay 1a1d2e211e SWDEV-291455 - hiprtc-builtins and hiprtc libraries in install/hip/lib
Change-Id: I7e499a746e3f7178995863fd27221583a6934e8f


[ROCm/clr commit: 67aa32d697]
2022-07-12 17:07:15 -04:00
German Andryeyev 4122b89ac6 SWDEV-311271 - Avoid a crash with the default queue
Move device access after the queue look-up

Change-Id: I799f23ff0299b20437c9a8edae42c38daa3e9ceb


[ROCm/clr commit: ff23c5b716]
2022-07-12 17:01:06 -04:00
Ajay 39a8a1df8d SWDEV-345188 - hipamd: warnings treated as errors for catch tests
Change-Id: I8981a530da2e0213c60f7a81b09d9c36e27e9025


[ROCm/clr commit: 9eb45dd1e0]
2022-07-12 15:34:39 -04:00
Ajay e6565f3209 SWDEV-327563 - Unit_hipGraphAddKernelNode_Negative null kernelparams fix
Change-Id: Id05f8944f41c04036b310b23358c908a8efb5a5b


[ROCm/clr commit: 4274863f5d]
2022-07-12 12:41:28 -04:00
Saleel Kudchadker b2b8545eb6 SWDEV-260345 - Manage constant buffer for blit
- Leverage managed buffer that would use chunks for fill pattern. Use a
different chunk for the next fill to avoid wait

Change-Id: I254483c867e112f66564ffd8f55e0a605d8896c9


[ROCm/clr commit: 175ad024d3]
2022-07-12 12:41:02 -04:00
sdashmiz 02661ae763 SWDEV-343160 - correct mutual exclusive flags
- flags passed should be only one type at a time

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I3e56f036e51d8cc84fe5c18c06cfa11cf785233f


[ROCm/clr commit: 030e7702f1]
2022-07-12 08:35:39 -04:00
Chauncey Hui cca9d223ae SWDEV-2 - Change OpenCL version number from 3482 to 3483
[ROCm/clr commit: 46b9430a4e]
2022-07-12 03:00:04 -04:00
Ranjith Ramakrishnan 96e042b340 SWDEV-345579 - Fix the installation path of FindHIP
The path variable was used incorrectly and this is causing issue in spack build

Change-Id: I34890577f1403d0d5efcba80d417ad5f9720aa6e


[ROCm/clr commit: d65aaf2f78]
2022-07-11 14:40:43 -04:00
Konstantin Zhuravlyov 1ff27025ee roc-obj-extract: Only push STDIN if there are no arguments
- Otherwise this consumes the caller's stdin by accident.

Patch by:
  - Bolo -- Josef Burger
  - https://github.com/bigtrak

Change-Id: I669376c025c0cde2cfdd59b5a4a14a71c5d8e862


[ROCm/clr commit: a0ecfd13a9]
2022-07-11 14:30:03 -04:00
Ranjith Ramakrishnan eea147de6e SWDEV-344894 - Remove workaround code to strip the destination directory hip
HIP build scripts updated, so that cmake install prefix and cpack packaging prefix doesn't have destination directory hip
The workaround in source code is not at all required.

Depends-On: I6775407b4bfec84b6b911d333f3725c310539bfc
Change-Id: Ic1f5e170690d6dba0fec493143dea390c435cd42


[ROCm/clr commit: db6eaa35aa]
2022-07-11 13:00:44 -04:00
Sarbojit Sarkar d9be7ebb3e SWDEV-341174 - Fixed typo
Change-Id: Ib605390bd17d014539d57488f0633db44d7c1fad


[ROCm/clr commit: 7d9dd78613]
2022-07-11 12:24:18 -04:00
Sarbojit Sarkar 3eb5628a49 SWDEV-345723 - Fixed test build issue
Change-Id: Id9545c9523bfad6b5afefcdc1f705d6043094ae4


[ROCm/clr commit: 2531854626]
2022-07-11 12:23:34 -04:00
Sarbojit Sarkar c9226df336 SWDEV-323441 - Phase-II : per thread default stream
Change-Id: I3c796ddaebcf0223d7faf50c425c1674de215f9d


[ROCm/clr commit: e9961fedd8]
2022-07-11 12:22:23 -04:00
sdashmiz 66aff23bb1 SWDEV-344165 - correct wrong output
some attributes retruns wrong values

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I75ba08cb07aa4abdb48e2e20ad7f58be7422158f


[ROCm/clr commit: 2b9e39e901]
2022-07-11 10:11:25 -04:00
Rakesh Roy 006c9b0ae8 SWDEV-344168 - Fix hipMemsetAsync API crash
- Return hipErrorInvalidValue if memset size + offset is crossing
  allocated memory size

Change-Id: I18bd7bcf90ccfce992acb4535a00a8560c0f684b


[ROCm/clr commit: 4e6e175f16]
2022-07-11 02:23:37 -04:00
Jaydeep 01e9429c97 SWDEV-343168 - return invalidValue if totalsize is more than device's global memory.
Change-Id: Ie052b9b75c9813d040fc23959df4146af98b96ed


[ROCm/clr commit: 4aa1ffcc45]
2022-07-11 02:18:54 -04:00
Rakesh Roy f908a695fd SWDEV-344168 - Fix hipMemsetAsync API crash
- Make sure head_size is not crossing fill_size
- Head size, aligned size & tail size together cannot cross fill size

Change-Id: Ie7845d748e3698b245876b43c9e626d7ea7154f7


[ROCm/clr commit: 13ede1a17e]
2022-07-11 00:10:17 -04:00
Chauncey Hui 88d711861f SWDEV-2 - Change OpenCL version number from 3481 to 3482
[ROCm/clr commit: 66dfe5b37a]
2022-07-09 03:00:06 -04:00
Saleel Kudchadker 7fd80925cd SWDEV-335626 - Use ROCr copy for IPC
Detect IPC buffer and use ROCr copy api instead of blit

Change-Id: Ie6bdd6fc45dbd7457611011d81570b53d5fd5276


[ROCm/clr commit: faaa41aab8]
2022-07-08 13:32:19 -04:00
Tao Sang c5f60e51ac SWDEV-327502 Disable 3D linear filter on Mi200
Change-Id: I3f79fb4f3a59cd7335c5ca2363cf1659a0a7f6aa


[ROCm/clr commit: 2a91d45704]
2022-07-08 11:31:57 -04:00
Chauncey Hui f58725904c SWDEV-2 - Change OpenCL version number from 3480 to 3481
[ROCm/clr commit: a3d1645080]
2022-07-08 03:00:06 -04:00
Sourabh Betigeri a4b6127a80 SWDEV-273026 - Fixes to retrieve valid device memory data when device context is changed and p2p is enabled
Change-Id: Ie3f0b81f7fc6de8df65ccff35f9aefb8f6abdfbe


[ROCm/clr commit: 8d48e0e6be]
2022-07-08 01:45:49 -04:00
Ajay caa9b581b5 SWDEV-340506 - Unit_hipCreateTextureObject_Pitch2DResource fix
Change-Id: I85431036818a3eb24100b1660e806a1c80d847eb


[ROCm/clr commit: 01ea934b3e]
2022-07-07 13:05:08 -04:00
Ajay c4a5d11d55 SWDEV-340506 - Unit_hipMalloc3DArray_Negative fix
Change-Id: I1fbf4be8aaef83b36749f1e253b5dba025e7f3cd


[ROCm/clr commit: eab4ea236c]
2022-07-07 12:17:45 -04:00
German Andryeyev 685104cefc SWDEV-329789 - Avoid a race condition with the last command
Runtime can reset the last command only if it didn't change
since the query at the beginning of finish()

Change-Id: I629f2d788e9bbaa17ca4e96b1a753f8131e32463


[ROCm/clr commit: 9e74f1c7f8]
2022-07-07 10:17:07 -04:00
Chauncey Hui dd6af4295c SWDEV-2 - Change OpenCL version number from 3479 to 3480
[ROCm/clr commit: a4206feda3]
2022-07-07 03:00:05 -04:00
Ranjith Ramakrishnan bd608d0690 SWDEV-344894 - Remove work around code
The workaround for file-reorg in opencl is not required with changes in build script.
Similar workaround code in atmi is causing installation error in spack atmi and fixed by  build scripts changes and removing the workaround

Depends-On: I2c79675ec05e1e7de2baa0a21033939f0eadac3d
Change-Id: I9b5640a7b284f1df6b3127938c51da24ce60b69e


[ROCm/clr commit: a06eda1f73]
2022-07-06 00:25:45 -07:00
kjayapra-amd dafc544279 SWDEV-344950 - Enable gfx1100 and gfx1102 on ROCm backend.
Change-Id: Ic559a804e6d504b73a7cea4aba086790956ee018


[ROCm/clr commit: e2b49690f2]
2022-07-05 20:25:42 -07:00
Ajay 64cdfb8d75 SWDEV-344440 SWDEV-344433 - null ptr checks for hipMemPoolGetAttribute hipMemPoolSetAttribute
Change-Id: I812abb3c74a05c4ec9097b09ee7e9a86b0c91e9b


[ROCm/clr commit: 36a85741de]
2022-07-05 18:42:34 +00:00
Chauncey Hui 102f8d46ed SWDEV-2 - Change OpenCL version number from 3478 to 3479
[ROCm/clr commit: 0e461935ac]
2022-07-01 03:00:07 -04:00
Victor Zhang 16c0a097a4 SWDEV-339709 - Fixed OCLDeviceQueries failing on MI200
Change-Id: I27cd020b8813aab8a3a53dcc9545609fb04ad4ed


[ROCm/clr commit: f3438e814e]
2022-06-30 16:06:25 -04:00
German Andryeyev 110e3e68a0 SWDEV-340703 - Use different status value for the callback event
Change-Id: Ida725df53abfbf348b18e24c19edf011dc9192dd


[ROCm/clr commit: 6844b8c7e0]
2022-06-30 11:03:02 -04:00
Rakesh Roy 2fcf335ee1 SWDEV-342007 - Fix hipArray Allocation APIs
- Capture error status of ihipImageCreate
- Return hipErrorOutOfMemory when image creation fails

Change-Id: If127a515447cc362d55fccd3eae304271da252d5


[ROCm/clr commit: 62069a5ae8]
2022-06-30 00:28:47 -04:00
Christophe Paquot 67e82629a1 SWDEV-322620 - Virtual Memory Management
Use correct granularity for VM address/size

Change-Id: I001f29eabe9503396bbec623df9d5155b882be4f


[ROCm/clr commit: bf5826ee93]
2022-06-29 15:59:56 -07:00
German Andryeyev 34ed734a66 SWDEV-344280 - Use coarse grain sysmem for kernel arg on MI200
Change-Id: I9596f0e8b88699538ec271b3a4345e5f75b968e3


[ROCm/clr commit: d8e4a289b3]
2022-06-29 13:04:46 -04:00
Saleel Kudchadker 0899f2212d SWDEV-301667 - Early return if src == dst for 1D copy
Change-Id: Icaa334c6579bb5e70e92347f8bc37edcf5adf796


[ROCm/clr commit: cf07633dc8]
2022-06-28 14:21:40 -04:00
Ajay 930215afb7 SWDEV-337331 - Windows: DD=0 graph child Node fixes
Change-Id: Icd7fc3967a202946d3428eba99a1bbf43b9772db


[ROCm/clr commit: 8d1bd607f9]
2022-06-28 11:57:11 -04:00
Chauncey Hui f08c370915 SWDEV-2 - Change OpenCL version number from 3477 to 3478
[ROCm/clr commit: 942c4b3547]
2022-06-28 03:00:05 -04:00