Graphe des révisions

4811 Révisions

Auteur SHA1 Message Date
haoyuan2 0a43f6bff3 SWDEV-343162 - fix OCL test regression
For OCL, keep original control logic
FOr HIP, keep the fix for SWDEV-338781

Change-Id: I89de8d1e73cd103b3b4f62206eed72d45695dd6e
2022-06-24 13:23:10 -04:00
Chauncey Hui 9504e95184 SWDEV-2 - Change OpenCL version number from 3475 to 3476 2022-06-24 03:00:07 -04:00
Ajay 236178d0d4 SWDEV-337331 - command queue logs for debugging option
Change-Id: I198aecc5fd12369d87d4acc9910acc9435c1967a
2022-06-22 19:41:38 +00:00
Chauncey Hui 4fe8038b7c SWDEV-2 - Change OpenCL version number from 3474 to 3475 2022-06-18 03:00:06 -04:00
Jaydeep ea0590d1fe SWDEV-332607 - If pitch returned from hipMallocPitch is equal to pitch passed to hipMemset2D then height passed to hipMemset2D must be less than or equal to height passed to hipMallocPitch.
Change-Id: I8d9b0938fb592170008aaec9cedd519bf40c6201
2022-06-17 10:35:22 -04:00
Rakesh Roy 42da508815 SWDEV-330455 - Avoid creating different HSA signals for ROCr
- In ROCr, there is supposed to be exactly one HSA signal ever whose pointer is stored in every hostcall buffer so that device code can find it
- But, hostcallListener->initDevice creates a new HSA signal everytime enableHostcalls() gets called

Change-Id: I100595ec37442bcdb73da5991062f0a474de2935
2022-06-17 05:30:57 -04:00
Chauncey Hui 3223c1b56a SWDEV-2 - Change OpenCL version number from 3473 to 3474 2022-06-17 03:00:08 -04:00
Sarbojit Sarkar 356e22f910 SWDEV-325379 - Fix for remote copy crash
Change-Id: I22152c0b3538cf7cfc80f82505bc255c01d98f7b
2022-06-16 23:59:11 -04:00
German Andryeyev 73ec7bada6 SWDEV-341316 - Copy image SRD only if it's valid
Change-Id: I971a21fe99fd07b21cfd3dbe4e7ed33c0ea322f4
2022-06-16 09:18:04 -04:00
kjayapra-amd 3a78a1edcd SWDEV-339913 - Move SingleFPDenorm under ASIC Revision from GFXIP switch case.
Change-Id: I7826f81bdf7cf1479882f261d495c2c287725b3c
2022-06-16 08:31:37 -04:00
Chauncey Hui 0cd8e18cb3 SWDEV-2 - Change OpenCL version number from 3472 to 3473 2022-06-16 03:00:06 -04:00
haoyuan2 6937fcae3a SWDEV-338781 - fix blender crash issue on Navi1x
remove incorrect control logic which caused seg fault on Navi1x

Change-Id: Ic56e8a73c53062bd86adcf57d0b66e00e21734ec
2022-06-15 10:54:57 -04:00
Chauncey Hui f897a01278 SWDEV-2 - Change OpenCL version number from 3471 to 3472 2022-06-15 03:00:08 -04:00
Saleel Kudchadker 5df34a2f7a SWDEV-335780 - Indicate if handler is queued
Maintain status of handler callback. For event records we no longer
submit callbacks to reduce the load on the async handler thread. However
without a callback we leak command memory/decrement refcounts. Indicate
status of the handler which we can use to queue a callback when
finish is called.

Change-Id: I89fd02f3d047a0e8162664ee17581a14795f1928
2022-06-14 20:55:06 -04:00
German Andryeyev 4975f69337 SWDEV-339296 - Delay hidden heap allocation till the usage
Move hidden heap creation to the kernel launch to make sure it's
allocated on the actual first usage.

Change-Id: I1b65a82fc06d9129ed45a69765bf14ea3d945b04
2022-06-14 12:18:34 -04:00
German Andryeyev ecea224bcf SWDEV-259998 - Change the location of RGP init calls
Move StartLateDeviceInit() and FinishDeviceInit() calls in RGP
server to avoid a timeout

Change-Id: Ifd681859c7dc76259d7296aa8cc15305d563c9b2
2022-06-13 18:05:44 -04:00
Chauncey Hui ad9300b47b SWDEV-2 - Change OpenCL version number from 3470 to 3471 2022-06-11 03:00:05 -04:00
Christophe Paquot 905088e4e7 SWDEV-322620 - Virtual Memory Management
Introducing a VirtualMemObj map as it is needed to differentiate
between virtual address ranges and actual physical memory
This is because a whole VA range can have several physical memories
as chunks.

Change-Id: Ie2a972b4faf3f7d552cfa53e77898f80ad75740a
2022-06-06 11:32:22 -07:00
Chauncey Hui 58aaa8472e SWDEV-2 - Change OpenCL version number from 3469 to 3470 2022-06-01 03:00:07 -04:00
neqochan ebfa343827 SWDEV-1 - Fix illegal atomic initialization
See https://stackoverflow.com/a/21710850 for an extensive discussion.

This is a cherry-pick from a github pull request:
https://github.com/ROCm-Developer-Tools/ROCclr/pull/29

Change-Id: I87a58548d2995ab51a7cd6e684b5442e5b300923
2022-05-31 09:51:44 -04:00
Chauncey Hui 5f0b129e26 SWDEV-2 - Change OpenCL version number from 3468 to 3469 2022-05-21 03:00:05 -04:00
German Andryeyev 830898753d SWDEV-336024 - Clear device heap to 0 in ROCr path
Change-Id: Id100ca6d6d5bd7fb16ca8c98ff0b12c9df1d69ab
2022-05-20 11:51:08 -04:00
Chauncey Hui 4aee5e21fb SWDEV-2 - Change OpenCL version number from 3467 to 3468 2022-05-20 03:00:10 -04:00
German Andryeyev 07c1b9a998 SWDEV-336024 - Clear device heap to 0
This reverts commit 04bfd93569.

Reason for revert: Fix regressions

Change-Id: I7d883e1c3cbd27bb64b581ec800243ad7dfe24fd
2022-05-19 09:10:08 -04:00
Jason Tang c7000b4f6f SWDEV-1 - Remove unused code.
To fix Linux hsail build error.

Change-Id: I4cab060e0e8cefb4215cefa61b840a94d51748a4
2022-05-19 08:54:15 -04:00
Chauncey Hui 0ed1a369fe SWDEV-2 - Change OpenCL version number from 3466 to 3467 2022-05-19 03:00:05 -04:00
Sarbojit Sarkar 51a00aeefe SWDEV-331066 - support for LimitStackSize
Change-Id: Ie6ae74f008b4f72de83663194aafb0ebdddfc8b6
2022-05-19 00:24:06 -04:00
Chauncey Hui ef041e81b1 SWDEV-2 - Change OpenCL version number from 3465 to 3466 2022-05-18 03:00:06 -04:00
German Andryeyev f0309be0de SWDEV-334315 - Correct instruction timing API info
Change-Id: I9d291adac076d36776dc7316b411bd093230ca01
2022-05-17 10:17:07 -04:00
Chauncey Hui 8d8dc60fb9 SWDEV-2 - Change OpenCL version number from 3464 to 3465 2022-05-17 03:00:12 -04:00
German Andryeyev 893b719181 SWDEV-331660 - Switch PAL interface to 734
Update clientApiId field in PlatformCreateInfo

Change-Id: I445b9712a4c0da9f32e86df8b4a1b8dd7365b11b
2022-05-16 22:58:50 -04:00
German Andryeyev 2f04eb90d3 SWDEV-336024 - Add a check for nullptr in HeapBuffer()
Change-Id: Ib8a3f2757c8600c4bd5bed417b230a60d4cf3d42
2022-05-16 09:41:47 -04:00
Chauncey Hui f41f227a33 SWDEV-2 - Change OpenCL version number from 3463 to 3464 2022-05-13 03:00:08 -04:00
German Andryeyev b39dfabb58 SWDEV-334315 - Update PAL version and provide API info for RGP
Change-Id: Ied448aada09deabcf26c402a342bdfbd79f22d7b
2022-05-12 09:30:19 -04:00
German Andryeyev 04bfd93569 SWDEV-336024 - Clear device heap to 0
The heap must be cleared once per device, but ROCclr doesn't
create a queue per device in HIP. Hence, the clear operation will
be performed during the first queue creation.

Change-Id: I52ceb06d67d11cde6d019c5ab510059f426a9bfb
2022-05-11 11:03:56 -04:00
Chauncey Hui 6c458c7534 SWDEV-2 - Change OpenCL version number from 3462 to 3463 2022-05-11 03:00:08 -04:00
Christophe Paquot b4645c7d4e SWDEV-322620 - Virtual Memory Management
Add a virtualMemoryManagement_ flag to device.info.

Change-Id: Iabd039010d83fc51b4bcef600c609f5c65e7b1ae
2022-05-09 22:54:42 -07:00
Chauncey Hui 61895fb39b SWDEV-2 - Change OpenCL version number from 3461 to 3462 2022-05-06 03:00:04 -04:00
Rakesh Roy ac2c3b5cad SWDEV-333598 - Add flags field in amd::Memory UserData
Change-Id: Ie4d59fa34486679fde1027dd113573bda3e7c65c
2022-05-05 12:24:53 -04:00
Chauncey Hui 04b860a20e SWDEV-2 - Change OpenCL version number from 3460 to 3461 2022-05-05 03:00:05 -04:00
kjayapra-amd 643ee46f28 SWDEV-331355 - Fixing the surface object on fillMemory function call.
Change-Id: Ieaa359ea8f31b0251d54b720469cdefde202579f
2022-05-04 14:24:03 -04:00
German Andryeyev 8e5205bb3a SWDEV-335142 - Increase max dispatch limit for capture
Change-Id: I929808476a75f4c360cd9368b777e1a0109fdb82
2022-05-02 15:59:25 -04:00
Chauncey Hui fe84b3116c SWDEV-2 - Change OpenCL version number from 3459 to 3460 2022-04-30 03:00:07 -04:00
Saleel Kudchadker 02566677cf SWDEV-334152 - Set release as systemscope
Set release scope as system for dispatch AQL when events are passed to
hip*LaunchKernelGGL*

Change-Id: I93b91591e0ab023f1ecc5247f7905eca26147358
2022-04-29 13:19:29 -04:00
Sarbojit Sarkar 2f973fb38b SWDEV-330649 - Fix for QCD app crash
Change-Id: If85eb06083d2f7dbe69cde6fbd5ac54979d25693
2022-04-29 05:37:33 -04:00
Chauncey Hui 4e225346fa SWDEV-2 - Change OpenCL version number from 3458 to 3459 2022-04-29 03:00:09 -04:00
Saleel Kudchadker fa76f03654 SWDEV-334150 - Force callback to cycle commands
Enqueue a handler callback for hipEventRecords(aka marker_ts_) for every
64 submits, This recycles the memory if we dont end up calling
synchronize for the longest time.

Change-Id: I3d39fe76d52a5d81387927edd85b5663b563682c
2022-04-28 12:30:23 -04:00
German Andryeyev 934149ff0a SWDEV-307184 - Fix a regression from 15f1632d
Disable hostcall buffer in OCL for now. COv5 can add hostcallbuffer
metadata for unknown reason. OCL may fail the buffer allocation
and kernel launch.

Change-Id: I34a6a45bac86c57422b764c0d69760c96920d6c5
2022-04-28 11:57:48 -04:00
Chauncey Hui 75bc2d75a0 SWDEV-2 - Change OpenCL version number from 3457 to 3458 2022-04-28 03:00:03 -04:00
haoyuan2 424c4ce5c4 SWDEV-333187 - Support IPC in HIP runtime on Windows
enable shared memory based IPC

Change-Id: Ic1ad8d426863c2137747a3d468fe02d073f5d248
2022-04-27 23:05:56 -04:00