Граф коммитов

757 Коммитов

Автор SHA1 Сообщение Дата
Jaydeep Patel 82e4859e03 SWDEV-392870 - Enable p2p support for image using PAL.
Change-Id: I3acbbc01ee11e488e93204814361b8c3431bca4f
2023-05-03 00:34:08 -04:00
Jatin Chaudhary c585aefdb7 SWDEV-376453 - Changes to fix crash seen with HIP and recent compiler change with -O0
Change-Id: I37de83b7449461ce2378741e97ff8fb8da736523
2023-05-02 17:46:38 -04:00
Saleel Kudchadker 538d453b86 SWDEV-301667 - Cleanup log
Change-Id: I9719ec8b19406a062727937471e7a845a522a0be
2023-05-01 11:07:55 -07:00
Saleel Kudchadker 9775c38725 SWDEV-392427 - Invalidate Barrier Value AQL header
Change-Id: Id8e04ffe44da58641361468957d397af128443bb
2023-05-01 14:06:05 -04:00
victzhan d9c00767dc SWDEV-345751 - fix misinitialize arraySlice in partialMemCopyTo()
Change-Id: I622c368957b1bd39e973f9afa4ee01593dd9e8ac
2023-05-01 13:07:44 -04:00
German 7ef2da5aba SWDEV-353281 - Move VirtualMem map update to memobj
- The implementation in mempool graphs requires refcounting VA object.
That requires release() to update the map only on the actual destruction.
- Add GPU event tracking for paging operation. Otherwise, runtime
may not always flush IB.

Change-Id: Idf99ffb894321a38e04b490116a7ca435635918d
2023-04-28 17:22:11 -04:00
German Andryeyev 3e5803c4c0 SWDEV-381627 - Move cl_vk_amd.hpp into rocclr
Rename VK interop to ExternalMemory object, since it should handle
DX interops also

Change-Id: I536ec46d3e53ece35234a2e29030393ad411b96d
2023-04-26 15:25:01 -04:00
Jacob Lambert 2a9d8b5862 SWDEV-1 - Add missing newlines to debug log output
Change-Id: I6c98d482079c34931cdc0615075eba34f87241f3
2023-04-25 13:10:57 -04:00
pghafari afa15ddb89 SWDEV-367145 - adding support for timeline semaphore
Change-Id: I654359b48abe8bbaac2def5118d3ad0bb05d9492
2023-04-25 10:02:43 -04:00
Saleel Kudchadker 5865c642d4 SWDEV-384557 - Fix engine status query
- Maintain a map of SDMA engine# to stream allocated following a greedy
approach
- Anything past that will query SDMA engine status always and go with a
SDMA or Blit copy path

Change-Id: Ibfaed7f951ab84d80cb0430596a4d11b5aec9202
2023-04-21 00:57:26 -04:00
pghafari 78de2ae692 SWDEV-366992 - adding handle type for vk interop
Change-Id: I79ee0d89b948c21b96709e9e607abe7901621a97
2023-04-18 16:59:25 -04:00
German Andryeyev e82eecf33e SWDEV-231145 - Add a validation for uniform launch
Change-Id: I68d61690c50060d9dcca117b248dddf69204a23f
2023-04-18 12:56:09 -04:00
German Andryeyev 1cd99b5056 SWDEV-1 - Enable PAL interface 792
Change-Id: I4b77ecc8e4c129c5e1e62ec84ac4a5381f97a823
2023-04-17 09:44:29 -04:00
Konstantin Zhuravlyov 667f048d18 SWDEV-383199 - Use SC for luxmark for gfx10+
Change-Id: I693b00fd9fe8e48b7602c8c5a87b59cfae69d891
2023-04-14 13:20:00 -04:00
Saleel Kudchadker 20ca8b8116 SWDEV-384557 - Leverage SDMA engine status query
Change-Id: I5f386f2965de24a229ea43b6c4da82099692f91f
2023-04-05 07:50:53 +00:00
Shadi Dashmiz 471ff60a90 SWDEV-387508 - construct uuid from pal props
This reverts commit e83c7a0510195fda6640c22d7ad98f056cf95dcd.

Reason for revert: it is a test issue to consider uuid a string it is array of values 

Change-Id: Ifb2ae05a99cdaa80e689b83693fc553dd974a249
2023-04-05 07:50:45 +00:00
jatang d897082a6c SWDEV-383606 - Find the correct LocalWorkSize
when uniformWorkGroupSize_ is true

Change-Id: Ic7fa25d5fa503e59509d481a492f6519c6e52889
2023-04-05 07:50:34 +00:00
taosang2 82d2213cfa SWDEV-380903 - Add program lock
Create seperate locks for program and HSAIL

Change-Id: I7c826ed9c2f2d839d359e5158f578830655616fd
2023-04-05 07:50:16 +00:00
Rahul Garg 7b419f42eb SWDEV-389676 - Update stack size limit
Change-Id: Id0cf66820e76e1bbd7f6c17ceb110782cdb5f978
2023-04-05 07:50:06 +00:00
Xie.AlexBin 91e2cd5d67 SWDEV-339709 - Device Atomic test failed
Code change for Linux

Change-Id: I002881c188b9de351618a06ee8b5ce2aa5d9fd95
2023-04-05 07:49:47 +00:00
Xie.AlexBin c2b64f8bf5 SWDEV-339709 - Device Atomic test failed
Code change for Windows.

Change-Id: I5ad520b67d1d9ec029cd2c2df7009915caaa8583
2023-04-05 07:49:34 +00:00
Ajay 88736010fb SWDEV-381627 - adding cl interop files to vdi
Change-Id: Ic40363587a2bc56f977a148eba386dfb73d6286e
2023-04-05 07:48:49 +00:00
Juan Manuel MARTINEZ CAAMAÑO 37849a0726 SWDEV-286150 - [NFC] Refactor setLanguage method into a static function called getCOMGRLanguage
* Return the result by value and not through a pointer passed by
parameter

Change-Id: I8f872c95c4a330bebe299d486fb73f36660b469c
2023-04-05 07:47:02 +00:00
sdashmiz dadc4d9439 SWDEV-387508 - construct uuid from pal props
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I6d31d260b297ed5845a2ed5574f8e242ef0d34e2
2023-03-13 09:20:07 -04:00
victzhan 36cb8a995f SWDEV-366419 - Fix incorrect uuid in fillDeviceInfo
Change-Id: I993e0e88b2d050fdadd46193435bb2f17d4874fc
2023-03-07 10:47:10 -05:00
Xiaomeng Hou 35a0855e4e SWDEV-373400 - Lower the threshold of single alloc percent for APUs w/ small VRAM
Change-Id: Ie8e3504a0c468bc44633991cdfde66bcf0b74f06
2023-03-06 10:12:01 -05:00
Jaydeep Patel ad78c5c4a5 SWDEV-382553 - Remove use of useCopyHint.
Change-Id: I82eb5d7569a2a78d7709af9397d4f29c8274d781
2023-03-01 23:20:02 -05:00
Saleel Kudchadker d429314b21 SWDEV-380035 - Do not create Arena Memobj for pinned memory
Change-Id: I4da281f0b7139efb4bb46b47f812358a0212445a
2023-02-24 12:31:25 -08:00
Jaydeep Patel f364ab7680 SWDEV-383397 - Set large bar false for windows.
Change-Id: Iaef70e477afab7ca8694aa55d1f704e769e24ed9
2023-02-21 22:18:58 -05:00
Saleel Kudchadker 3e603d986a SWDEV-364604 - Add ROCclr support for hipEventDisableSystemFence
Change-Id: I6127b432a8759359359a1890fda85bc401be6a56
2023-02-21 19:07:35 -05:00
Jaydeep Patel 4830dd168c SWDEV-382664 - Remove WaveLimiter init
The wavelimiter init was unintentionally added in one change.
It wasn't supposed to perform any logic, since LC doesn't support it and
the number of waves can be overwritten only with an environment variable.

Change-Id: I447bd1ad685800f874b6a6fb7409dc67e43640ff
2023-02-21 18:12:08 -05:00
Xie,AlexBin 97243ff755 SWDEV-378367 - Observed performance drop for Geekbench5
Change-Id: I0beabc6e3bec095574c8168fcf52af1e94105792
2023-02-21 17:18:16 -05:00
Todd tiantuo Li 189ce1ad05 SWDEV-382501 - support new ASIC Revision for Phoenix2
Change-Id: I0225511960c9fbc50ec541511599ef87e509b567
2023-02-21 02:54:35 -08:00
Anusha GodavarthySurya f98dcf9d7f SWDEV-366636 - Fix performance drop in TF-RCCL models
Change-Id: Idc845bb0dab858b94b9d2720cae8308cac2e7328
2023-02-17 00:48:13 -05:00
kjayapra-amd 6b873b8a86 SWDEV-376697 - Use PCIE fine grain memory pool when hipDeviceMallocUncached flag is used.
Change-Id: I7234d456ef2df42b0b9b9e0d2647ee9bded565f9
2023-02-16 14:05:50 -05:00
Maneesh Gupta 5dc104b3ea SWDEV-368235 - Revert "Remove obsolete env variables"
This reverts commit 7b50c935f8.

Reason for revert: Deferred to a future release.

Change-Id: Ia66c37f0ab9734dee73c930d10d7469d5fd57254
2023-02-15 07:25:00 +00:00
Anusha GodavarthySurya fa35239b4b SWDEV-380035 - Check for agent and ptr match for hsa LOCKED ptr
Change-Id: I2503aa05512aebc3535963e188ca8d1dbfab08f0
2023-02-15 00:12:42 -05:00
Saleel Kudchadker 695f169ed0 SWDEV-301667 - Refactor code
Change-Id: I8f20d994d88acb14f392eaa9d5cd14620667d7f6
2023-02-13 14:58:17 -08:00
David Yat Sin fa1b7925cf SWDEV-365908 - Do not align mem size for IPC
Remove alignment to granularity for IPC handles as ROCr has a patch that
will internally validate pointer sizes against requested size during
allocation instead of size aligned to page size. This patch is needed
together with this patch from ROCr:
f8a42a3a:Use user requested size for memory fragments

Change-Id: I28b25558ea03c836b44fafdb34b7330cf6887424
2023-02-13 17:32:02 -05:00
Jeremy Newton 70bdb7a597 SWDEV-1 - device: Add missing include
Newer GCC's seem to require this.

Change-Id: I85926d4fa552b772f2eb9f8ede7863a546c47f54
Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
2023-02-09 14:57:14 -05:00
Jacob Lambert 5168485d23 SWDEV-376413 - Revert "SWDEV-376413 - Replace deprecated Comgr device-lib action"
This reverts commit 0969056f66.

Reason for revert: Test failures with Luxmark, blender, and Indigobench. Need to investigate before re-applying

Change-Id: I6b08273a8f9c8bcaa4e7a06cd42d15048e52ca2a
2023-02-09 10:02:47 -05:00
German Andryeyev 67af16bdf3 SWDEV-381633 - Use blit manager on app's queue
Heap initialization used device queue, but it shoudl be used for
cooperative launches only. Heap initialization must use the same queue
as the current dispatch.

Change-Id: I856621bf82bbdeb1c2d0fbc4970e90d09af805cb
2023-02-09 09:43:13 -05:00
Saleel Kudchadker 7619b53e9b SWDEV-381633 - Better log
Change-Id: Ie151d73aa4b1dae7d0d9acd0457e7dbdf35f21ee
2023-02-08 17:54:11 -05:00
jatang b798c85272 SWDEV-380792 - Fix floating point exception when maxEngineClockFrequency_ is 0
Change-Id: Ic443ceae586c4c84995ed2abef9bd7f32f8b60f9
2023-02-07 11:43:10 -05:00
kjayapra-amd 297223a763 SWDEV-378648 - Adding checks in runtime to abort when bad/invalid payload is sent.
Change-Id: Ibaa7927bacef1ba067ded5ccbf3f1111f31200a2
2023-02-06 10:37:29 -05:00
German 7b50c935f8 SWDEV-368235 - Remove obsolete env variables
Change-Id: I7e14d53297e79e2f68b3a6cc40251ad7db9eb5ab
2023-02-03 13:44:24 -05:00
Ranjith Ramakrishnan 689425433f SWDEV-366831 - Correct the include path for new directory layout
Change-Id: I7c826ed9c2f2d839d350e5150f578830655616f0
2023-02-02 03:19:47 -05:00
German 7b4de0df0f SWDEV-352197 - Use static VM ID for capture
Use static VM ID if available for capture.
Add a delay in RGP trace finish to help RGP server to complete
file operations.

Change-Id: Id0dab2fe4398ac2df79f25608fdd06b1f84e7fe0
2023-02-01 11:46:10 -05:00
David Yat Sin 08d72c4f98 SWDEV-380258 - Fix invalid iterator after erase
Fix rare segfault due to invalid iterator after erase

Change-Id: Id5b54d6cf10075deff0d613fec12af249c6c55a3
2023-01-31 17:46:15 +00:00
German ad33a021cb SWDEV-352197 - Destroy virtual device in thread destructor
Windows kills threads on exit without any notification. However,
runtime can still destroy VirtualGPU object from the host thread with
HostQueue destruction.
This change also forces RGP trace transfer on the last capture without
any delays.

Change-Id: I768e87e99e1d23a021e63c12f36e450817743759
2023-01-31 10:53:48 -05:00