Todd tiantuo Li
04b9ab49eb
SWDEV-333557 - add PAL_HIP_IPC_FLAG for PAL HIP device allocations
...
Change-Id: I9017f4e3b03d4817bf233c788e30775fb2297589
2023-07-17 08:10:25 -04:00
Todd tiantuo Li
8434feed16
SWDEV-333557 - 1.Add support for IPC memory to enable hipIpcGetMemHandle() and hipIpcOpenMemHandle() in PAL path. Set interprocess flag for device allocations in HIP PAL. 2.Fix PAL IPC path with ResourceCache and SubAllocation 3.Minor fixes for IpcBuffer constructor and IpcAttach 4.Remove redundant checks that may go wrong
...
Change-Id: Ie9d99847c7c2c7b3b2aaefaaf60d23bf71b68635
2023-07-12 17:49:32 -04:00
Alex Xie
7912f3af89
SWDEV-409299 - Vega clinfo is not working
...
Change-Id: Ia48bc6f130bd102dff210b105de6f9c02ebbe012
2023-07-10 09:53:50 -04:00
German
ad2c1e899a
SWDEV-408650 - Report CL_DEVICE_HALF_FP_CONFIG query
...
If cl_khr_fp16 extension is enabled, then OCL runtime should report CL_DEVICE_HALF_FP_CONFIG.
Change-Id: I7c4ac48387f80bc704a475c57e5b52a462090d1b
2023-07-06 11:58:16 -04:00
ajay
d6946ffcbc
SWDEV-406687 - combining rocblitcl and palblitcl blit kernel defs
...
Change-Id: Ia312d73584a03491e8d574f424295b64df6de174
2023-06-23 18:38:36 -04:00
German
9aa6f25f1c
SWDEV-311270 - Clean-up IPC path in ROCclr
...
- Make IPC interfaces generic between devices and rely on the IPC buffer
for attach/detach logic
Change-Id: Id3c18d122030329b7ee532bbb6317de9dd6a0bbe
2023-06-20 15:18:21 -04:00
German
1a0c3e4dc4
SWDEV-311270 - Add IPC support for memory pools
...
Initial implementation for hipMemPoolExportToShareableHandle,
hipMemPoolImportFromShareableHandle,
hipMemPoolExportPointer and hipMemPoolImportPointer
Change-Id: I0ebdc48e9163b394ded560adca6c38bbc5aee7d1
2023-06-15 11:36:52 -04:00
Jaydeep Patel
82e4859e03
SWDEV-392870 - Enable p2p support for image using PAL.
...
Change-Id: I3acbbc01ee11e488e93204814361b8c3431bca4f
2023-05-03 00:34:08 -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
pghafari
afa15ddb89
SWDEV-367145 - adding support for timeline semaphore
...
Change-Id: I654359b48abe8bbaac2def5118d3ad0bb05d9492
2023-04-25 10:02:43 -04: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
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
Jaydeep Patel
f364ab7680
SWDEV-383397 - Set large bar false for windows.
...
Change-Id: Iaef70e477afab7ca8694aa55d1f704e769e24ed9
2023-02-21 22:18:58 -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
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
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
German
7b50c935f8
SWDEV-368235 - Remove obsolete env variables
...
Change-Id: I7e14d53297e79e2f68b3a6cc40251ad7db9eb5ab
2023-02-03 13:44:24 -05:00
Xie,AlexBin
0703b8380b
SWDEV-365305 - Same time is observed for CU Med-Priority tests
...
OCL runtime uses WGP mode and total CU count reported in WGP.
Realtime values are still in CUs. That can mislead in the test results.
Report realtime in WGP values and convert to CUs for KMD.
Change-Id: I90b82615640734dd655be2b613ccac3cb8483239
2023-01-19 11:36:34 -05:00
Alex Xie
60d413a5b9
SWDEV-374668 - Observed one subtest failure in ocltst32
...
Don't force sysmem allocation
Change-Id: I792f0da231c6e8058f1bfb81ba1f88ecb59b7c8e
2023-01-18 12:02:27 -05:00
Anusha GodavarthySurya
2b50636809
SWDEV-373173 - Correct max VGPRs and VGPR Granularity in Occupancy calculation for different asics
...
Change-Id: I6f595428ed31733cdc04e65e7c3e383f454ab72b
2023-01-18 00:22:02 -05:00
Jiabao Xie
6c44353107
SWDEV-366886 - force alloc from svm
...
Change-Id: I6a89aa46d944832e59491bb96ba3669e5031b636
2023-01-17 12:12:27 -05:00
Anusha GodavarthySurya
274f2de391
SWDEV-364576 - initialize device malloc heap state using blit kernel
...
Change-Id: I5d0172aff7d2c04b322a4d828b8a2b438158b80f
2023-01-07 06:53:53 +00:00
German
8cf53e7dff
SWDEV-370901 - Force sysmem allocation
...
Adobe AE allocates/destroys system memory per each frame
in some effects, which is a very expensive operation.
Disable pinning and force sysmem allocation in VidMM.
That allows to trigger resource cache in runtime and
avoid paging operations, caused by pinning.
The actual benchmark doesn't have significant improvement
from the change, but GPU view traces are much cleaner.
Change-Id: I92cdd87d37c64611788f05250f71d6fe489b4d7e
2022-12-08 13:06:51 -05:00
German
e5a36ab1ad
SWDEV-368308 - Remove HW debug extension
...
Change-Id: If0c68023c09f0dac9111d52ecc0ad63719aa4e70
2022-11-18 10:29:44 -05:00
Jason Tang
2c09557d60
SWDEV-1 - Add LOG_ERROR output for Pal::CreatePlatform failure
...
Change-Id: Id5c3fdcd8f822bfa67ae570c09ede7ddc8a936ef
2022-11-10 09:30:10 -05:00
German
c1b22840fa
SWDEV-286150 - Switch PAL to 775 version
...
Change-Id: I8e64cbe0fea273d4bd6f7d3ebd66feb628fac6b9
2022-11-07 09:54:22 -05:00
Todd tiantuo Li
246429bd68
SWDEV-302996 - add gfx1103 Phoenix support - OCL runtime
...
Change-Id: Ib6b7efa085b734bda6b5b50c720fe9d93e6dbf95
2022-11-04 12:07:22 -04:00
kjayapra-amd
ea0ce45ad3
SWDEV-329423 - Enable NV3x target ID related changes on mainline.
...
Change-Id: I54fafb371976aaa16a452ec65b0c340c5682c264
2022-11-03 21:11:24 +00:00
Ajay
373a7d1195
SWDEV-347670 - GPU StreamWait and StreamWrite support in Windows PAL backend
...
Change-Id: Ic4881305b6332e217f3d3127dce7e9d9d0a7df11
2022-09-15 13:57:40 -04:00
jie1zhan
2aa7e5819f
SWDEV-352127 - Fix clinfo issue, add new asic id
...
Change-Id: Idc6ff6fe647878f32f8dbb0613cbb879ea21ecdf
2022-08-25 08:23:21 +08:00
Sarbojit Sarkar
a28b22d9b4
SWDEV-344210 - Fixed page fault when mempool accessed from remote device
...
Change-Id: Ie41b0c0499f7733d4541ccd50b3d0d976c6431c9
2022-08-09 23:26:27 -04:00
Ajay
8b89c05e2f
SWDEV-317716 - Win: hipDeviceGetUuid return default uuid for pal device
...
Change-Id: Id102b54c78f031a8e7cc5ab5223cef9a0914d4fd
2022-07-21 00:03:33 +00:00
sdashmiz
e176e27bf7
SWDEV-334233 - add support for p2p in windows
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: I9109120b5444c400e65cfff869cb36e876ffd1fc
2022-07-14 15:07:33 -04:00
Tao Sang
1e26165cd0
SWDEV-286739 - Support hipDeviceAttributeWallClockRate
...
Part 1: Query constant frequence of wall clock from RocR
Change-Id: I52cbba6d67d11cde6d019c5ab530059f426a9bf2
2022-07-12 17:53:11 -04:00
Christophe Paquot
4aecc29bf0
SWDEV-322620 - Virtual Memory Management
...
Expose VM granularity
Change-Id: Ia6af99843ca957f1139fd369e46e09a6c346da46
2022-06-27 13:07:43 -07: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
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
German Andryeyev
830898753d
SWDEV-336024 - Clear device heap to 0 in ROCr path
...
Change-Id: Id100ca6d6d5bd7fb16ca8c98ff0b12c9df1d69ab
2022-05-20 11:51:08 -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
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
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
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
Christophe Paquot
67657d6099
SWDEV-322620 - Virtual Memory Management
...
Implement map/unmap for PAL backend
Create commands since PAL uses the IQueue to map/unmap
Change-Id: I97e26a7d28ae5e10774c9ca65307153100945621
2022-04-22 18:09:26 -04:00
Christophe Paquot
4c3a20a16e
SWDEV-322620 - Virtual Memory Management
...
Implement virtualFree for PAL
Change-Id: I4482777fa52c979d42a7c57103862e2e02279024
2022-04-21 14:45:11 -04:00
Christophe Paquot
b5f555f9ec
SWDEV-322620 - Virtual Memory Management
...
Adding virtual memory management APIs to rocclr.
The HIP layer will handle virtual allocs on devices.
Change-Id: Ia978f105c2c3fed3959c77580ba228e845105754
2022-04-15 00:10:02 -04:00
German Andryeyev
3af3fe10de
SWDEV-307185 - Move memory allocation under device layer
...
It can be too early to allocate memory at the begining of
Device::create() under PAL
Change-Id: I4bd76db7be3f6fb246243ea68022d8b0f860471d
2022-03-21 16:17:22 -04:00
German Andryeyev
7b114a2b8b
SWDEV-307185 - Create heap for device memory allocator
...
Pass the allocated heap with the kernel arguments
Change-Id: Icdec09b7f937845c39e21cbca7071dc3ba791af9
2022-03-04 00:44:41 -05:00
Saleel Kudchadker
e888c9e491
SWDEV-301947 - Rename device Info element
...
Rename maxBoostComputeUnits to maxPhysicalComputeUnits_.
Change-Id: I5941515ac4f1f4348b3b10478bf4e01444f0a864
2022-02-25 16:48:15 -08:00