Commit Graph

13402 Commits

Author SHA1 Message Date
German Andryeyev 0b03dde692 SWDEV-286150 - Add detailed thread trace support in RGP
- Create hash values for binaries
- Add the binaries into RGP trace
- Add corresponding hash value for every dispatch

Change-Id: I2c3ce004d69f37d0d46bc4744e12f24273517f5e


[ROCm/clr commit: 2a298f2ec3]
2021-11-10 14:46:02 -05:00
kjayapra-amd a1917d6593 SWDEV-310194 - Return hipSuccess early if fill_size is 0.
Change-Id: I79d8c94b099d441f14f938205e007ae521649672


[ROCm/clr commit: 2f87d24dd2]
2021-11-09 09:28:25 -05:00
Julia Jiang 17b442ddb5 SWDEV-306204 - update disclaimer in opencl
Change-Id: I6d5a33cd062c8f5193c09483432685c64519da50


[ROCm/clr commit: 398e093f79]
2021-11-08 17:38:04 -05:00
Chauncey Hui 63bbdb2ab5 SWDEV-2 - Change OpenCL version number from 3386 to 3387
[ROCm/clr commit: b2de4f625c]
2021-11-06 03:00:04 -04:00
German Andryeyev 92be4f5781 SWDEV-286150 - Fix a crash when LC is forced
Change-Id: I1127490502012cdbc0391e45b5d9310f04f9482b


[ROCm/clr commit: b0af08ac04]
2021-11-05 12:35:11 -04:00
Chauncey Hui 3e0539fc40 SWDEV-2 - Change OpenCL version number from 3385 to 3386
[ROCm/clr commit: b44dc91f4f]
2021-11-05 03:00:04 -04:00
German Andryeyev 7a9f92d95e SWDEV-305016 - Add a timeout wait into IsHwEventReady()
Just signal check will still submit the marker and then later
runtime will have a timeout, but the barrier packet is still
generated. Hence early timeout will allow to skip the marker.

Change-Id: Ieb7d89becbcff43a4f4c46715354ca65ab4a80b9


[ROCm/clr commit: bbb635bc32]
2021-11-02 11:37:23 -04:00
German Andryeyev 8c508e5dba SWDEV-305016 - Check for HW event ready
Runtime can skip the marker if HW event was completed already.

Change-Id: Ie9fbc08b06b375c5586cbe1aa93922f1880608e4


[ROCm/clr commit: 21a2fdb80a]
2021-11-01 10:07:08 -04:00
Chauncey Hui b1eda6f40e SWDEV-2 - Change OpenCL version number from 3384 to 3385
[ROCm/clr commit: 712b65765e]
2021-10-29 03:00:05 -04:00
German Andryeyev 7821cddb3e SWDEV-257789 - Initial change to skip kernel arg copy
The optimization is controlled with ROCR_SKIP_KERNEL_ARG_COPY.
This is initial check-in for experiments. Extra changes are
necessary for full support:
- handle graph capture with the original sysmem alloc
- avoid memobject references, otherwise there is a race condition with
reusage of the arg buffer
- Remove arg setup from hip

Change-Id: Ib0af710f93e79834711fa4049a7c66093711e68b


[ROCm/clr commit: 7e12cf6318]
2021-10-28 20:35:35 -04:00
Alex Xie 3be7aef366 SWDEV-305752 - OCL WIN Conformance select test fail
unmap should complete before working on the other mapping API

Change-Id: I27517888f3112d1113894cdbcb7a786321a3e554


[ROCm/clr commit: 1ced9040b6]
2021-10-28 12:20:15 -04:00
Chauncey Hui 4f82f985c0 SWDEV-2 - Change OpenCL version number from 3383 to 3384
[ROCm/clr commit: 530283e12a]
2021-10-28 03:00:04 -04:00
German Andryeyev 2d2d33dd9c SWDEV-303567 - reset kernel arg buffer to chunk 0
Change-Id: I2974e31af9700705554b0f274ede6f8b9a9d6e7b


[ROCm/clr commit: 30bba18a06]
2021-10-27 22:15:55 -04:00
Alex Xie da48f060f4 SWDEV-305752 - OCL WIN Conformance select test fail
Change-Id: I73571c262a14d6b27d8cf91b6d1a13e1974ddc96


[ROCm/clr commit: 0e321f45c1]
2021-10-27 19:54:24 -04:00
German Andryeyev 22182e12bd SWDEV-286150 - Switch PAL to 678 interface
Change-Id: I3c130998902654e1dffc954ddf33530ea998ac34


[ROCm/clr commit: 4aea2ad172]
2021-10-27 17:25:02 -04:00
Tao Sang f970a1be0f SWDEV-306947 Enable hipAddressModeBorder
Enable hipAddressModeBorder.
Fix default of height of hipMallocArray().
Some code improvement.

Change-Id: I57045118e7adf915074c547cbe76349a4cfd72d8


[ROCm/clr commit: 17cc99c05d]
2021-10-27 10:05:53 -04:00
Alex Xie d84cde7888 SWDEV-308726 - OCL WIN - Conformance SVM Test failing
SVM mapping should not use direct mapping in Windows PAL

Change-Id: I005115bdce6ef99f471bb08fa8d042fa644587a6


[ROCm/clr commit: fa73e0cfcc]
2021-10-27 03:20:47 -04:00
Chauncey Hui aeb2e28f75 SWDEV-2 - Change OpenCL version number from 3382 to 3383
[ROCm/clr commit: 5ad666093a]
2021-10-27 03:00:04 -04:00
cjatin fd4bf2864b SWDEV-303745 - SWDEV-307757 - SWDEV-308024 - SWDEV-308834 - Find clangrt lib using find_library
Change-Id: Ia311e9f10c59f21c271e83f09fa84eb65e95105a


[ROCm/clr commit: aef1250a41]
2021-10-27 02:08:42 -04:00
German Andryeyev d8201bc1ce SWDEV-303567 - Add chunks for the pool of kernel arguments
The kernel arg pool will be divided into 8 chunks to avoid long stalls,
when the pool will be reused.

Change-Id: I228e6ca1c09e428c1775f1e5b685220a9a5d71af


[ROCm/clr commit: f78b3a8919]
2021-10-26 16:31:37 -04:00
anusha GodavarthySurya 81fa107364 SWDEV-307915 - hipHccModuleLaunchKernel correct event timing
Change-Id: I397a3d6cf0cf8639666befb9ed7a357c6753741c


[ROCm/clr commit: 8d30df5ccf]
2021-10-25 21:46:46 -07:00
anusha GodavarthySurya ad0dc7dd0e SWDEV-307642 - Fix memcpy directed tests failure
Change-Id: I7a835a5a519b35fcda813c2acc1ac3cf5d0b5f23


[ROCm/clr commit: 63c6799130]
2021-10-26 00:15:11 -04:00
German Andryeyev cfed4577c0 SWDEV-303567 - Correct events for hipHccModuleLaunchKernel
Start event should be collected before the kernel launch.
End event can use the command from the kernel launch.

Change-Id: I5413c340280be680b15a44daa0c69b21ed314213


[ROCm/clr commit: 981508b2af]
2021-10-25 16:56:37 -04:00
Jason Tang 267c4fbc62 SWDEV-301289 - Enable building and installing ocltst on Windows
Change-Id: I512dbcb96dd6a7c52a5ebad819043fdd0138215d


[ROCm/clr commit: b1e9a4227c]
2021-10-25 14:10:15 -04:00
Sarbojit Sarkar 2e1ec62950 SWDEV-306773 - Pal fix for 2D/3D memset
Change-Id: Id705e9292e17621ea70e283d7494212809456e27


[ROCm/clr commit: c218022296]
2021-10-25 00:37:18 -04:00
Chauncey Hui 41c6814044 SWDEV-2 - Change OpenCL version number from 3381 to 3382
[ROCm/clr commit: 44c479b65f]
2021-10-23 03:00:05 -04:00
Ajay fa7ff8bb08 SWDEV-296926 - hipamd cmake file change to build hip/src
Change-Id: Ie40a8250a7843f174b322f3e179835961f4e7cac


[ROCm/clr commit: 5f254dc780]
2021-10-22 12:57:51 -04:00
Freddy Paul f47076699b hip:Fix post install script syntax error.
SWDEV-308166: /opt/rocm softlink not created when installing
selective hip packages

Change-Id: Id9c70f5f4edc01fdbb1d06563cab1503e94542ea


[ROCm/clr commit: 45e94f4c2e]
2021-10-22 10:44:32 -04:00
Jason Tang c9fa41e3c6 SWDEV-292525 - Fix -Werror=parentheses build failure
Change-Id: I2650413914914392df68a9fbf669af216a132640


[ROCm/clr commit: f61dc18681]
2021-10-22 09:43:15 -04:00
sdashmiz e2391f7ed3 SWDEV-305946:add null pointer check
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I4e466dfd15123276537c47548fbdfb37c5c230df


[ROCm/clr commit: 848c47c95f]
2021-10-21 10:28:54 -04:00
Chauncey Hui ec09328442 SWDEV-2 - Change OpenCL version number from 3380 to 3381
[ROCm/clr commit: 244328fb65]
2021-10-21 03:00:05 -04:00
Satyanvesh Dittakavi 933df7235b SWDEV-305163 - Do not limit hipHostMalloc upto max GPU memory available
Change-Id: Iea934088bcbef6cbd5c3f9f97767042fcaf71062


[ROCm/clr commit: 1da4bb21b9]
2021-10-20 01:33:44 -04:00
Sarbojit Sarkar ecde1f5b96 SWDEV-292547 - Fix for hipStreamPerThread
Change-Id: I9328c7ec92d954433f8e69732d91e65fa6fe013a


[ROCm/clr commit: 9e4766d990]
2021-10-19 23:26:48 -04:00
kjayapra-amd 9f68891f68 SWDEV-232903 - Change pattern64 to uint64_t from size_t to handle 32 bit machines.
Change-Id: I423cd14d145556544563027931562d7b8bf9442d


[ROCm/clr commit: 4c8b32b13c]
2021-10-18 14:31:09 -04:00
cjatin fa0694e90f SWDEV-306643 - add align and launch bounds for hiprtc
Change-Id: Id178230eeeec94a8678e96474c35376d5427599a


[ROCm/clr commit: 9caaa6f492]
2021-10-17 17:07:04 -04:00
cjatin b990308648 SWDEV-303745 - Add new path of clangrt lib
Change-Id: I07fd48d3b72bad6f356976972fef0b20c487a53e


[ROCm/clr commit: 969f31da65]
2021-10-17 17:06:32 -04:00
Chauncey Hui d26d92bff4 SWDEV-2 - Change OpenCL version number from 3379 to 3380
[ROCm/clr commit: 61f176cee6]
2021-10-16 03:00:05 -04:00
Alex Xie e5816ea048 SWDEV-306854 - Observed conformance subtest SVM failure
Revert "SWDEV-292408 - Keep tracking of subbuffers for multiple devices"

Change-Id: I604e9b49368fa1f143302fddda674c18d7351108


[ROCm/clr commit: ea48fc029b]
2021-10-15 09:28:06 -04:00
Chauncey Hui b14a42302f SWDEV-2 - Change OpenCL version number from 3378 to 3379
[ROCm/clr commit: 3e75cd150e]
2021-10-15 03:00:05 -04:00
kjayapra-amd f7053598c5 SWDEV-232903 - Adding string to guarantee message, which is required on windows.
Change-Id: I86d3d53126aa4baa1ffc27295e4f908ac7028551


[ROCm/clr commit: 5a33a15c42]
2021-10-14 15:17:25 -04:00
Bing Ma 213b5dffd1 SWDEV-306602 - [SANITIZER_AMDGPU] Force copyBuffer to use ROCr functions when ASAN is ON
Change-Id: I04a4cdd5ab8c5543f2a0f08c139c45ac7aebe64a


[ROCm/clr commit: 02f939a40d]
2021-10-14 12:55:27 -04:00
Jason Tang 2590bfd491 SWDEV-307023 - Fix cltrace build
Change-Id: I75fd953668dc576c3132ae463e34ecb4ae2fb0c7


[ROCm/clr commit: 5c13f33da2]
2021-10-14 09:26:27 -04:00
Chauncey Hui c22c59c4a4 SWDEV-2 - Change OpenCL version number from 3377 to 3378
[ROCm/clr commit: c9f73f8d31]
2021-10-14 03:00:16 -04:00
kjayapra-amd 6f62f832cb SWDEV-232903 - Move hipmemset Dword optimization to ROCclr.
Change-Id: I3eae61720cbc6364f1aaac4865bfd8b6ded08097


[ROCm/clr commit: 88ed58735d]
2021-10-13 11:32:15 -04:00
kjayapra-amd 7c4dfc27a7 SWDEV-232903 - Move hipmemset dword optimization into ROCclr.
Change-Id: I1af437de2771f6a48d06ce643ade6b79f551a55c


[ROCm/clr commit: 4d1195f0a7]
2021-10-13 11:32:00 -04:00
pghafari 6cb3ef5d42 SWDEV-245531 - GLInterop: updating glEnv logic
Change-Id: I6103243c477547a6a2b714bbf836ce36abe84f8c


[ROCm/clr commit: 5b6b2e6d2c]
2021-10-13 09:26:52 -04:00
Chauncey Hui 25b7f971e6 SWDEV-2 - Change OpenCL version number from 3376 to 3377
[ROCm/clr commit: 52e57b660b]
2021-10-13 03:00:07 -04:00
Jason Tang e4db6ef66a SWDEV-306697 - Fix OCLGlobalOffset segfaults
If we don't create the __amd_rocclr_gwsInit kernel, we still want
to create the rest of the image related blit kernels.

Change-Id: I8bc4645f9f9116eeecbb8b22e981ac4d520f3121


[ROCm/clr commit: 55a0cf0b0c]
2021-10-12 15:13:28 -04:00
pghafari b6ab3bbc80 SWDEV-245531 - GLInterop: exposing api for linux
Change-Id: I9aa12bf5b6463619d3d6cdaea85ffc18f50bb1ba


[ROCm/clr commit: a525605e5c]
2021-10-11 12:21:14 -04:00
Sourabh Betigeri ce4329aca7 SWDEV-292525 - Add more parentheses to fix debug build failures
Change-Id: I91bb7e1f0f40b85dd908a532a77b11c9e7406019


[ROCm/clr commit: 641b1d3968]
2021-10-09 00:04:01 +00:00