Commit graph

4811 Commits

Autor SHA1 Nachricht Datum
Chauncey Hui 5b19eb7210 SWDEV-2 - Change OpenCL version number from 3535 to 3536 2022-12-01 03:00:07 -05:00
Jason Tang c825d06454 SWDEV-1 - Fix a build warning.
Change-Id: I085fcc68ef3aaebf85515ea45fca99d7ec845721
2022-11-30 11:07:15 -05:00
Chauncey Hui e12c3bd819 SWDEV-2 - Change OpenCL version number from 3534 to 3535 2022-11-30 03:00:07 -05:00
Ioannis Assiouras b445717f72 SWDEV-369547 - Ensure that ipc_mem_detach is not called for non-ipcShared MemObj.
Change-Id: Ia73b60b9f08d593301879e0f72c395edbc215112
2022-11-30 02:16:13 -05:00
Chauncey Hui e74835795a SWDEV-2 - Change OpenCL version number from 3533 to 3534 2022-11-29 03:00:07 -05:00
kjayapra-amd 61b6a94627 SWDEV-358915 - Wait for 10 micro secs, if the next engine is SDMA.
Change-Id: Ib3ed91510e62090f47d4f55be8de635caaee083d
2022-11-28 12:14:16 -05:00
Anusha GodavarthySurya 446a3fc688 SWDEV-354074 - cache hsa queue and delete when device is destroyed
Change-Id: I26365521d785f0bc612e32bdcdb6caacb3af9a11
2022-11-23 07:17:45 +00:00
Chauncey Hui dd810ecfbc SWDEV-2 - Change OpenCL version number from 3532 to 3533 2022-11-22 03:00:19 -05:00
Tao Sang 3b2a8f3c8b SWDEV-306410 - Remove program lock
Remove global program lock in order to fix too
long kernel launch overhead with multi-threads
on MGPUs.
This patch depends on a compiler patch that makes
LC thread safe.
Change-Id: Ic8a7374d19112764d6de5d483ec5d07a56661d1b
2022-11-20 14:42:24 -05:00
Chauncey Hui c6c10d0127 SWDEV-2 - Change OpenCL version number from 3531 to 3532 2022-11-20 03:00:08 -05:00
Alex Xie 9e00c674c8 SWDEV-363271 - Add some performance counter logs
Change-Id: I368ba4afe47357eb6051b2a06f762b8050e5a560
2022-11-19 16:27:14 -05:00
Chauncey Hui 686ad01a24 SWDEV-2 - Change OpenCL version number from 3530 to 3531 2022-11-19 03:00:08 -05:00
German e5a36ab1ad SWDEV-368308 - Remove HW debug extension
Change-Id: If0c68023c09f0dac9111d52ecc0ad63719aa4e70
2022-11-18 10:29:44 -05:00
Chauncey Hui 80d444b2f1 SWDEV-2 - Change OpenCL version number from 3529 to 3530 2022-11-18 03:00:08 -05:00
German 79d12df147 SWDEV-363074 - Adjust staging copy limits in Windows
Pinned copy can cause big performance drops, because slow pinning under Windows.
Use up to 128MB for staging transfers. Change staging buffer size to 4MB.
Linux path should still have the old defaults.

Change-Id: I954edceb3ec89e8e670be116aa2d0a9564c8b11c
2022-11-17 14:48:16 -05:00
kjayapra-amd 0d9e1de4e3 SWDEV-241902 - Using COMGR APIs for extracing code object.
Change-Id: I96f1cee9c28f89f0b0fa5af0c2ae7966beb3207d
2022-11-17 11:09:59 -05:00
German b40823ccc1 SWDEV-328670 - Enable ROCr interop
Change-Id: I932afa2a0e75b1f1771c4be1e984b32966636afb
2022-11-17 09:40:34 -05:00
Juan Manuel MARTINEZ CAAMAÑO bab23480d3 SWDEV-286150 - [NFC] Avoid copying the entire devicePrograms map
Change-Id: I059f979d9bcdf6604aa3630b40fd47475b75fc30
2022-11-17 03:15:55 -05:00
Juan Manuel MARTINEZ CAAMAÑO 9b8005d758 SWDEV-287018 - Generate tempraries for _optimized.bc and _linked.bc if -save-temp-all is passed.
Change-Id: Ie8a7af66f0764f0a94948d45d7deed786f799c96
2022-11-15 07:49:07 -05:00
Chauncey Hui 8246c73e3a SWDEV-2 - Change OpenCL version number from 3528 to 3529 2022-11-12 03:00:08 -05:00
kjayapra-amd 7f1fb925ff SWDEV-361374 - Adding support for hipPointerSetAttributes
Change-Id: I3ec9627f43b3cbe0aa299c8aa9cd96f8fbd74925
2022-11-11 12:07:26 -05:00
Chauncey Hui 820d90c6c0 SWDEV-2 - Change OpenCL version number from 3527 to 3528 2022-11-11 03:00:06 -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
Chauncey Hui 0b69480326 SWDEV-2 - Change OpenCL version number from 3526 to 3527 2022-11-10 03:00:07 -05:00
Satyanvesh Dittakavi b5799c4dbe SWDEV-363536 - HIP_VISIBLE_DEVICES= should disable the device
Setting HIP_VISIBLE_DEVICES= should be treated as invalid device
which makes all the devices invisible to the app. This matches
the CUDA behavior

Change-Id: I937ac4c0b7dacff776cdbe692d4576c81b86ee2d
2022-11-10 01:25:46 -05:00
Maneesh Gupta a52f5bda8f SWDEV-299940 - Query global memory available on device with HSA attribute HSA_AMD_AGENT_INFO_MEMORY_AVAIL
This reverts commit 4afca0647e.

Reason for revert: ROCr query should now be usable in upcoming release.

Change-Id: I2207761ca6af5d585d090bae1af09eb9a8e9bad6
2022-11-09 10:48:47 -05:00
Chauncey Hui 0b4465efdb SWDEV-2 - Change OpenCL version number from 3525 to 3526 2022-11-09 03:00:07 -05:00
Juan Manuel MARTINEZ CAAMAÑO 40f75306d5 SWDEV-286150 - [NFC] Refactor repeated option parsing code into function
Change-Id: I606dc1cd48d880974142e523d16f5d9ac6f3aff1
2022-11-08 10:29:13 -05:00
Juan Manuel MARTINEZ CAAMAÑO f5e982cc07 SWDEV-286150 - [NFC] Avoid copying string when calling HashString
Change-Id: Ic2f4d469ca319f7d31814b3955430dbbfdad5bb2
2022-11-08 07:07:06 -05:00
Chauncey Hui 773d85e3d9 SWDEV-2 - Change OpenCL version number from 3524 to 3525 2022-11-08 03:00:07 -05:00
Julia Jiang 9d616ad0f4 SWDEV-360748 - Update return value for hipExtGetLinkTypeAndHopCount_Positive_Basic test on Windows
Change-Id: I0eb984da6e96c2409e1b1bbda61ae694c8bebe94
2022-11-07 10:00:32 -05:00
German c1b22840fa SWDEV-286150 - Switch PAL to 775 version
Change-Id: I8e64cbe0fea273d4bd6f7d3ebd66feb628fac6b9
2022-11-07 09:54:22 -05:00
Chauncey Hui d0a57e4905 SWDEV-2 - Change OpenCL version number from 3523 to 3524 2022-11-05 03:00:05 -04:00
Saleel Kudchadker feca11d5e3 SWDEV-301667 - Improve logging
Change-Id: Ifa6da876b85cb503967cf09aac6d477b10db8e63
2022-11-04 18:23:18 -04:00
Saleel Kudchadker 3e465c5ff8 SWDEV-364052 - Print free memory on queue callback
Change-Id: I7d15b6f6277326d5f3e9b784a3443f18ec6ba58a
2022-11-04 13:19:33 -04:00
Todd tiantuo Li 246429bd68 SWDEV-302996 - add gfx1103 Phoenix support - OCL runtime
Change-Id: Ib6b7efa085b734bda6b5b50c720fe9d93e6dbf95
2022-11-04 12:07:22 -04:00
Chauncey Hui cfd9ced308 SWDEV-2 - Change OpenCL version number from 3522 to 3523 2022-11-04 03:00:06 -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
German 473621c008 SWDEV-365121 - Use CP DMA for tiny transfers
Sync between compute and SDMA engines can be very expensive under Windows.
Use CP DMA for tiny transfers (< 1KiB) to avoid syncs and improve performance.

Change-Id: I9db39a2199f7b9e337ed08fd36d9cbc150502f1f
2022-11-03 10:04:53 -04:00
Tao Sang 06573ac92f SWDEV-363140 - Support performance counter on gfx11
Change-Id: I2216f71f4d4db6dd3766333b0c821cb3d35d7851
2022-11-03 07:59:24 -04:00
Chauncey Hui 4b3ff92abd SWDEV-2 - Change OpenCL version number from 3521 to 3522 2022-11-03 03:00:09 -04:00
Laurent Morichetti b043b4f5a2 SWDEV-351980 - Store the correlation ID in the dispatch packet
The profiler can retrieve this correlation ID to attribute waves to
specific dispatch locations.

Change-Id: I700e8a91219d612f6a2028c0dda0c92753f3526a
2022-11-02 23:40:10 -04:00
Chauncey Hui b070ba9cc3 SWDEV-2 - Change OpenCL version number from 3520 to 3521 2022-11-01 03:00:05 -04:00
jatang 166ef6b622 SWDEV-293816 - Only dispatch Counter Aql packet when it is created successfully.
Change-Id: Ic8a7374d19012754c6de5d483ec5d07a56661d1b
2022-10-31 15:11:41 -04:00
Saleel Kudchadker cf1fd98074 SWDEV-301667 - Use queue base address for AQL log
Change-Id: Ie525991b341deeb93ab3cb2d77550e8e1d87ee20
2022-10-31 13:54:49 -04:00
German ff6b4db70b SWDEV-363074 - Clean-up sync between SDMA and compute
HIP can't rely on the resource tracking, used in OCL and requires different explicit sync.
Make sure ROCCLR syncs compute only when SDMA is used and vise versa.
The new logic will allow to enable CPDMA without unnecessary waits.

Change-Id: Ib9d1788cfd5afa5ea2fec4c96a37d8b9c4d0059d
2022-10-31 10:02:01 -04:00
Chauncey Hui 3bce4df27d SWDEV-2 - Change OpenCL version number from 3519 to 3520 2022-10-29 03:00:09 -04:00
German dc4ad8c99c SWDEV-363074 - Enable resource cache for SVM
Blender creates and destroys big allocations during the benchmark.
That causes big delays, because vidmm has to page-in/page-out memory.

Change-Id: I2baf4545807127406e3d2870a7581ff9ae7bcdb5
2022-10-27 16:39:29 -04:00
Chauncey Hui cff74ae551 SWDEV-2 - Change OpenCL version number from 3518 to 3519 2022-10-25 03:00:08 -04:00
German e223b0f678 SWDEV-352487 - Don't add notifications as the last command
Change-Id: Ifed34485839ef2c9491e8e8f6bb3569932160b1c
2022-10-24 09:39:03 -04:00