Alex Xie
f8c56f6bac
SWDEV-489468 - make resource cache bigger for APU
...
Change-Id: I065c712acd06c273a0b194fe792ec4f876fa9c46
2024-10-31 09:55:01 -04:00
Tao Sang
82dff9a67d
SWDEV-492563 - Fix Ocl issues
...
1. Fix LDSSize type to be uint32_t.
2. Prevent clWaitForEvents running on complete events whose
HostQueue have been destructed.
Change-Id: I829e915f56b37db2ba76bb876c9656166534f154
2024-10-30 19:15:59 -04:00
Anusha GodavarthySurya
b498103f9b
SWDEV-485904 - propagate hsa_amd_vmem_address_free error to hip API
...
Unit_hipMemSetAccess_GrowVMM test fails with
HSA_STATUS_ERROR_RESOURCE_FREE silently
Change-Id: I7a78410e432de4a2e877062782abf8761645f392
2024-10-21 10:12:32 -04:00
German Andryeyev
364dfb0ed1
SWDEV-486602 - Optimize HSA callback performance
...
- Don't generate callbacks for HIP events
- Don't process profiling info in the callback for HIP events
- Wait for CPU status update of the submitted commands
every 50 calls. That will allow to drain the commands and
destroy HSA signals.
Change-Id: Ib601a350e7e7c2b6c6209a172385389baccf73a9
2024-10-11 14:50:25 -04:00
Todd tiantuo Li
41dc4545fc
SWDEV-472357 - support Rect copy with staging buffer for 2D & 3D memcpy in PAL
...
Change-Id: Ie32f3e5a6fa077f6b2db20fc1ab1e2e0da8344cb
2024-10-10 18:00:19 -04:00
Jaydeep Patel
292842ad28
SWDEV-471422 - Free memory being double deducted on APUs due to system_total_alloced var holds local memory.
...
Change-Id: I3fbbc8f8aaa156881ff95cad6a4f82fd3df651d1
2024-10-04 04:49:20 -04:00
Rahul Manocha
9da90fe848
SWDEV-487903 - Fix for Empty Kernel Segfault in PAL
...
Change-Id: Ia1c19cf4ea24188cdb2d374b07f975f794e02dba
2024-09-30 13:00:15 -04:00
Ajay
7a288ea8bf
SWDEV-486816 - RenderOpDispatch usage in pal client
...
Change-Id: I11cae3e625b287b998c9500c547efdacf1034a2b
2024-09-24 14:28:16 -04:00
German Andryeyev
29cc678d8d
SWDEV-483586 - Unblock staging H2D transfers
...
Although unpinned copies require synchronizations
in HIP, runtime can avoid syncs for H2D copies with
a staging buffer
Change-Id: If2203c6bc0cbd89742823688dc8e89e9acd873b2
2024-09-21 10:25:27 -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
Daniel Livingston
e550032d25
SWDEV-77148 - Add UberTrace support to PAL device
...
This PR adds UberTrace-based tracing support to ROCclr's PAL device class.
Legacy RGP-based tracing is still available and is the default.
If UberTrace support is enabled tool-side, this new code path will activate.
Change-Id: I268b2dcef70e850a50e2caef8355f38bf51d4641
2024-09-17 16:06:37 -04:00
Ajay
c9955a1cea
SWDEV-465215 - hipFuncSetAttribute hipFuncGetAttributes fixes
...
Change-Id: I2151e4470d63918ff6b809a8fdeaae5bea5cc899
2024-09-13 14:05:25 -04:00
Ajay
5a810f789a
SWDEV-471863 - avoid copy of invisibleHeap
...
Change-Id: Ieb0aa22ac6d0d01cb9ca7fbf1305df03a1ab3cdf
2024-09-11 13:24:31 -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
kjayapra-amd
6211037f63
SWDEV-439234 - Access check before memcpy and kernel operations.
...
Change-Id: I7057125c03460db205409e19980145298c190fe2
2024-09-06 14:30:00 -04:00
kjayapra-amd
2a9cb89228
SWDEV-478099 - Fix multiple mapping case on PAL/Windows backend.
...
Change-Id: Id1fe7939fbf90649cda1848890b3b4ca9a1fcd00
2024-08-27 11:19:39 -04:00
Rahul Manocha
432bdd7bf2
SWDEV-474617 SWDEV-464679 - Fix segfault in palvirtual due to peer memory access
...
Change-Id: Ib8b641712d78acf8bc073ca5705dea97af6f944a
2024-08-21 11:34:15 -04:00
Ajay
ec0971dd08
SWDEV-471863 - APU: device allocation greater than invisible memory
...
Change-Id: I37f1769873ac7dcbb3cfa51fd815ee1e2123aeae
2024-08-09 14:29:18 -04:00
German Andryeyev
1bac09ea20
SWDEV-469602 - Focre unaligned memory mode with RDP
...
Change-Id: I770f3dc8dde49d8e4ecdf5c38819e44df3960bce
2024-07-23 18:31:52 -04:00
German Andryeyev
4c763e45a1
SWDEV-470585 - Disable double copy in HIP
...
- HIP path doesn't support resource tracking. Thus, double copy can't be enabled,
because it requires resource tracking.
Change-Id: I0f9c4e185b5b2d2b1abde041fca21bb099db9ccd
2024-07-19 18:32:34 -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
kjayapra-amd
e7a7feb273
SWDEV-464828 - Initial implementation of VMM IPC on PAL/Windows.
...
Change-Id: I3d5e148fad9105704db6724b00df06bef4fc9d2f
2024-07-16 10:38:35 -04:00
pghafari
ff96b23dda
SWDEV-462999 - updating the asm code for gfx12
...
Change-Id: Icd0fb85b99771280c18ee189dc1e1e481a4f5927
2024-07-09 18:16:57 -04:00
Jimbo Xie
e6a25aef08
SWDEV-464015 - add gfx1150 to perf counter support to follow gfx11 behaviour
...
Change-Id: I4297166f902a71112f4a8945d903060ba9afdc32
2024-06-21 16:02:25 -04:00
taosang2
1566ff7639
SWDEV-465162 - Fix some issue with image support
...
Fix some small issues regarding image and mipmap support
Change-Id: I8e64223d44f37c2dbb115cbb343441a48021ba7b
2024-06-18 16:38:24 -04:00
Anusha GodavarthySurya
57156c524d
SWDEV-467102 - Hidden heap init for graph capture
...
If the graph has kernels that does device side allocation, during packet capture, heap is
allocated because heap pointer has to be added to the AQL packet, and initialized during
graph launch.
Handle race with wait when 2 kernels with device heap are enqueued on multiple streams.
Change-Id: I45933b77fcaf7bc8fdf1bc906462e32b5d8d3688
2024-06-17 02:07:25 -04:00
Jaydeep Patel
c03ccdb9b9
SWDEV-461702 - Disable interprocess for >3GBs local memory due to PAL failure.
...
Change-Id: I211d4de2e04a45148b92d256378516d2f79e210a
2024-06-14 00:12:21 -04:00
Ioannis Assiouras
d44f44a5b1
SWDEV-467069 - Added safety check in activity prof for accumulate command
...
Adding a safety check prevents an invalid memory access
if timestamps and kernelNames vectors are of different size.
The patch also moves the addKernelNames for the accumulate command
into dispatchAqlPacket function.
Change-Id: Iea0927e1253800403a1ae3f3d72de1e7d96476c3
2024-06-12 21:53:03 +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
Ioannis Assiouras
b8c2ac4de4
SWDEV-463865 - symbol renamings to prevent conflicts in static build
...
Change-Id: Id7fbb638c1088c23df52fee877cd790d637b1ffb
2024-06-06 04:05:55 -04:00
kjayapra-amd
4fb06f94d1
SWDEV-463872 - Request the same va_addr on the second device, if not fail.
...
Change-Id: I791625b6434a3980b35b8d6d6d3b6070fa159614
2024-06-01 12:53:09 -04:00
German Andryeyev
6c812634e4
SWDEV-1 - Switch PAL to the interface version 872
...
Change-Id: I71ef232ec7080b36dbffefb201429ab839645ac4
2024-05-28 06:31:10 +00:00
kjayapra-amd
adcacec0dd
SWDEV-459254 - Make the memory alignment as 256 from 128.
...
Change-Id: I349486d315d948d750fdc28bd783e7010154ac3f
2024-05-28 06:31:10 +00:00
Payam Ghafari
f268b48a2d
SWDEV-447691 - added error reporting on semaphore
...
Change-Id: Id903806d122c0594d6549d5e8b7201512eff9850
2024-05-28 06:31:10 +00:00
kjayapra-amd
931431fc38
SWDEV-417091 - Disable GWS Init for PAL/Windows side.
...
Change-Id: Ib6295f063daa835c1f33f21f50c083241a9026ff
2024-05-28 06:31:10 +00:00
German Andryeyev
5c1804aa14
SWDEV-353281 - Corret VA unmap
...
Make sure graph mempool unmaps VA on release
Change-Id: Id3f1bd8d0115b533ae60aa5ba3676b8bf7e5b961
2024-04-26 09:37:01 -04:00
German Andryeyev
9fdddb7c5d
SWDEV-447691 - Correct handle type for DX12 semaphore
...
Change-Id: Id23882286cb2a0d0472964ffc501ab27b7dc7f00
2024-04-25 11:24:56 -04:00
Konstantin Zhuravlyov
5a715ed160
Switch luxmark to lightning compiler for all ASICs
...
Change-Id: Idcd37628a2167f0bd2db2a83132a1862cbd051b0
2024-04-23 10:00:39 -04:00
German Andryeyev
7448113cfc
SWDEV-440746 - Remove obsolete code
...
The "optimized" version of memcpy is outdated and
was used in win32 only.
Change-Id: I7f2e0e9051e37cec95438266824b5b0025c324c6
2024-04-22 09:56:42 -04:00
Rakesh Roy
fb217fa9e0
SWDEV-453180 - Add UUID support for HIP_VISIBLE_DEVICES on Windows
...
- UUID needs to be specified in the format GPU-<body>, <body> encodes UUID as a 16 chars
- Convert set UUID in HIP_VISIBLE_DEVICES to device index internally
- Then use existing device index logic for HIP_VISIBLE_DEVICES
Change-Id: I654f492a49cd4d7a9b7339360ab558165240caa5
2024-04-20 02:39:19 -04:00
Ioannis Assiouras
bf74ef4025
SWDEV-451594 - Implement Readback and Avoid HDP Flush workaround for device kernel args
...
Change-Id: I6d41a089a17f55306e7ff402588a1e831b20a7a7
2024-04-19 09:29:20 -04:00
German Andryeyev
62559a6e5a
SWDEV-440746 - Fix the hostcall buffer creation
...
Avoid a deadlock on the host call buffer creation. Since the buffer will be
allocated in the queue thread, then use direct device memory allocation
skipping the global context lock.
Change-Id: I09b55ee03bb42ab5d320c152b52a8c842c5fdcc1
2024-04-17 12:37:23 -04:00
pghafari
5ddca5854c
SWDEV-455699 - removing HW_REG_TRAPSTS for gfx12
...
Change-Id: I5f8b030eefdb37d3d51da3e135e5aa0f18ad9018
2024-04-16 19:46:21 -04:00
kjayapra-amd
d52d16c8e6
SWDEV-413997 - Fixing multiple device cases.
...
Change-Id: I10ad3fbfca887e92cd81f68392fa1acf753cbd2b
2024-04-13 06:14:03 -04:00
German Andryeyev
7de7da4016
SWDEV-455254 - Reduce blit kernels signature
...
Remove offset from blit kernels, since it can be applied in setup.
Change-Id: I06b585068d68a0ee8e125ddf46a36fccb372f30d
2024-04-12 14:45:55 -04:00
taosang2
35c80dd482
SWDEV-424956 - Fix half vector printf issue
...
Refactor PrintfDbg::outputArgument() to remove potential risk.
Fix half vector printf issue on all devices.
Fix FEAT-56794 as well.
Change-Id: Iae39359d2128588def2e43d77fe58e868b8e71ff
2024-04-12 14:25:44 -04:00
Jaydeep Patel
d52168b46d
SWDEV-436754 - Use glbctx instead so that ref count increments for multi devices and chunk decommit gets delayed.
...
Change-Id: Ia4b0d5fbfa8f198776e52d14de8b22c6942f740d
2024-04-12 00:04:34 -04:00
Sourabh Betigeri
dbac2976e4
SWDEV-451964 - Limit gpu single allocation percentage for gfx940 only
...
Change-Id: Iadcdadd734e7aeeb23742e426353defa972d3ad5
2024-04-05 09:43:42 -04:00
cadolphe
bc80802c1a
SWDEV-446726 - Disable large bar for 32 bit windows
...
When large bar is enabled, persistent memory leads to overallocation for 32 bit architecture.
Change-Id: Iae39359d8128588de02e42d77fe58e868b8e71fd
2024-04-03 15:36:41 -04:00