Saleel Kudchadker
e23ff0520b
SWDEV-491375 - Improve MemObjMap perf
...
- Create bins each with its own map and lock. This would help cases
where the hash of a VA is differnet than ther one which falls in
different bin, and there is no lock contention
- Use STL shared mutexes, that way we can unique_lock for map updates
vs simple reads which can use shared_lock
Change-Id: I118818be65c6373700f5e511045babb6a398938a
2024-10-30 05:37:33 +00:00
Anusha GodavarthySurya
870842201d
SWDEV-485904 - Fix virtual,physical mem obj leaks
...
Change-Id: Ie0456b5dcfec206ae54a6aabfc2a15a620cac693
2024-09-19 23:04:20 -04:00
kjayapra-amd
12a39fbf22
SWDEV-480772 - Remove name variable from amd::Monitor class.
...
Change-Id: Ie2a4fa44f485786227230f8a892e090e718aa30e
2024-09-19 11:55:01 -04:00
Jaydeep Patel
9c90bc43a5
SWDEV-475938 - Update dynamic stack in submit kernel internal.
...
Change-Id: I816bf9cfe8aaac5486ff3b719dbdc4f4d6134e01
2024-09-11 00:59:45 -04:00
Jimbo Xie
3bdbc1eaf3
SWDEV-403363 - add gfx1152 runtime support
...
Change-Id: I2f59ddb38a98d9f8edec5d1548232d4d826b7d04
(cherry picked from commit 5e94656f744e315ee7ae1285d3e6dd515f9d66a8)
2024-09-03 17:12:24 -04:00
ksankisa
e76bf653fb
[SWDEV-469495] Compile blit kernels with -fsanitize=address when asan is enabled.
...
Change-Id: I96e1abef43317cd58329c4a159f807878bc48cf4
2024-08-27 01:27:31 -04:00
kjayapra-amd
11817b4405
SWDEV-439234 - Implement Set/Get Access APIs in PAL/Windows.
...
Change-Id: I997c330880da70c5128b187e1ef4d9c449218880
2024-07-19 10:42:41 -04:00
Jaydeep Patel
fb2b87db56
SWDEV-471298 - Use same context during child creation as parent's context.
...
Change-Id: I41e534b6194cef9aa8e96b28b8e811906cb362f0
2024-07-11 23:15:41 -04:00
Ioannis Assiouras
aee0b1db39
SWDEV-468151 - Fixed segfault during destruction of arena_mem_obj
...
Change-Id: I1ebfa965bd243890dcb54d9b55992ae68c497bf0
2024-06-17 15:27:08 +01:00
Ioannis Assiouras
8f42ad6aa3
SWDEV-464648 - code and comment cleanups
...
Change-Id: I5ba3f1bff500b3cd5903c2f441017735e688f83f
2024-06-07 22:38:09 +01:00
Ioannis Assiouras
775dc204aa
SWDEV-463865 - changed device,roc and pal namespaces to be nested under amd
...
Change-Id: Icad342843c039c634e249a13a7aa31400730b1dd
2024-06-07 12:23:06 -04:00
kjayapra-amd
931431fc38
SWDEV-417091 - Disable GWS Init for PAL/Windows side.
...
Change-Id: Ib6295f063daa835c1f33f21f50c083241a9026ff
2024-05-28 06:31:10 +00:00
kjayapra-amd
f5d0ee650b
SWDEV-460151 - Enabling gfx12 in HIP runtime.
...
Change-Id: I374ea7c3119b0c61f9846a862c4a448ddb179748
2024-05-28 06:28:07 +00:00
kjayapra-amd
0e1a0572e6
SWDEV-413997 - Changes to use GlobalContext in views.
...
Change-Id: I1f8411eae9ed49632667e244a25f223fed92c720
2024-04-29 16:41:39 -04:00
kjayapra-amd
49b4aef8c9
SWDEV-413997 - Handling cases where multiple phys_mem is mapped into a single virtual address.
...
Change-Id: Ie678e607a64f2e5c35a10b9083185f041c5527ac
2024-04-28 08:28:12 -04:00
kjayapra-amd
d52d16c8e6
SWDEV-413997 - Fixing multiple device cases.
...
Change-Id: I10ad3fbfca887e92cd81f68392fa1acf753cbd2b
2024-04-13 06:14:03 -04:00
German Andryeyev
f0c7ecf617
SWDEV-455254 - Add kernel arg optimization
...
Add kernel arguments optimization into blit path.
Enabled by default on MI300.
Change-Id: I2694a81b90d48ad07d86dfe4c0c64fe187bada8e
2024-04-10 18:08:37 -04:00
Ioannis Assiouras
b5fadf9cd1
SWDEV-442421 - Fixed case where hipIpcGetMemHandle erroneously returns hipSuccess
...
Change-Id: Ie322a1a0165111d2ca129e68f49b54fe93aa088e
2024-02-05 05:08:11 +00:00
German
eaa61fc740
SWDEV-301667 - Fix HSAIL compilation path for Blit
...
Recently some unused compiler options for HSAIL path were removed,
but it affected blit kernels compilation. Hence, remove those options.
Also delete assert for device to device copy in SDMA path for now.
Change-Id: Ib5d7f063af2ab4a3fc5d73d426e39c391b1011ac
2024-01-09 17:51:30 -05:00
German
077311153a
SWDEV-407533 - [ABI Break]Purge unused env vars
...
Change-Id: I627950e8ebb6299affc602754a20d442dbe42b14
2023-08-24 14:11:40 -04:00
Lang Yu
c674d94a12
SWDEV-396372 - Add support for gfx1150 and gfx1151
...
Change-Id: If97710f18fbb61bead5cfe92ce11e11b4895b029
Signed-off-by: Lang Yu <Lang.Yu@amd.com >
2023-07-24 20:11:03 -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
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
Jaydeep Patel
ec75a3e60e
SWDEV-403766 - Release mem obj while device reset.
...
Change-Id: I8a93061c9c4ed692bf7ba1b872af370f79a13a5d
2023-06-15 09:52:50 -04:00
kjayapra-amd
f14e8a2dba
SWDEV-393910 - Port gfx94x changes to mainline.
...
Change-Id: Ibf727223bbe5230b132b47c39e0fc1d87cbd3b9c
2023-05-05 15:16:23 -04:00
Rahul Garg
7b419f42eb
SWDEV-389676 - Update stack size limit
...
Change-Id: Id0cf66820e76e1bbd7f6c17ceb110782cdb5f978
2023-04-05 07:50:06 +00: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
7b50c935f8
SWDEV-368235 - Remove obsolete env variables
...
Change-Id: I7e14d53297e79e2f68b3a6cc40251ad7db9eb5ab
2023-02-03 13:44:24 -05:00
kjayapra-amd
b968394b4e
SWDEV-378006 - Adding a new guarantee macro to support printing args.
...
Change-Id: I9c838644e31a84d96a44b2bd10525a08d805a047
2023-01-21 06:26:50 -05:00
German Andryeyev
5d83345c20
SWDEV-355281 - Add offset calculation
...
Calculate memory location offset for requested memory
Change-Id: I7919523df1790d9eaad5827ee5bd98e4263a7554
2023-01-16 14:19:40 -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
e5a36ab1ad
SWDEV-368308 - Remove HW debug extension
...
Change-Id: If0c68023c09f0dac9111d52ecc0ad63719aa4e70
2022-11-18 10:29:44 -05:00
Saleel Kudchadker
eef2f99513
SWDEV-356482 - Improve logging
...
Change-Id: I0c6286fcdb9d94398ed66262e95e8837898ff9fe
2022-10-06 11:13:24 -04:00
Yifan Zhang
d6c35273e3
SWDEV-354850 - Enable gfx1103 on ROCm backend.
...
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com >
Change-Id: Ia420444fd0cb703fcdca1ed7e3d2e262ffd7f4db
2022-09-01 18:58:00 +08:00
Sarbojit Sarkar
c72a396c1f
SWDEV-343921 - Updating default stack size for OpenCl tasks
...
Change-Id: I37cdd8808dddaa7ac0544b76d18de64b27e443bd
2022-08-26 04:57:00 -04:00
jie1zhan
2aa7e5819f
SWDEV-352127 - Fix clinfo issue, add new asic id
...
Change-Id: Idc6ff6fe647878f32f8dbb0613cbb879ea21ecdf
2022-08-25 08:23:21 +08:00
Satyanvesh Dittakavi
64c1c4757f
SWDEV-336448 - Support loading comgr versioned dll
...
Change-Id: I03283fc2a200d778c5efa43e509624bba9ce0541
2022-08-19 00:38:19 -04:00
Alex Xie
aafa057c9a
SWDEV-351337 - Add new asic id
...
Change-Id: Ie07f7a6b9a4bb797124e6644c91fb62ba014cf6b
2022-08-12 13:14:06 -04:00
Sarbojit Sarkar
27a08a132f
SWDEV-343921 - added Max stack size
...
Change-Id: I5c1a088e05215ca951afc9d92f8d298c5e3a65f1
2022-08-02 07:13:18 -04: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
kjayapra-amd
e2b49690f2
SWDEV-344950 - Enable gfx1100 and gfx1102 on ROCm backend.
...
Change-Id: Ic559a804e6d504b73a7cea4aba086790956ee018
2022-07-05 20:25:42 -07: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
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
Sarbojit Sarkar
51a00aeefe
SWDEV-331066 - support for LimitStackSize
...
Change-Id: Ie6ae74f008b4f72de83663194aafb0ebdddfc8b6
2022-05-19 00:24:06 -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
Maxime Chambonnet
d45794e985
SWDEV-1 - ROC CLR typos
...
This is cherry-picked from this github issue:
https://github.com/ROCm-Developer-Tools/ROCclr/issues/28
Change-Id: I236f4f25a2dabe05883159af0fab0bad06ab0fd0
2022-04-11 14:24:39 -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
Saleel Kudchadker
3bf1d5ac97
SWDEV-301667 - Remove guarantee
...
Remove guarantee from AddMemObj as one can call it multiple times for
different devices
Change-Id: I49dd76068b3c4c709f17541159052302dcdb374d
2022-03-08 16:20:10 -08: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
German Andryeyev
525a1bbf1a
SWDEV-286150 - Remove GSL backend
...
Change-Id: Iba9a997ee7d5ff6ac00d5888ff189a4514958fe9
2022-02-09 17:16:39 -05:00