Sourabh Betigeri
2388f61705
SWDEV-340649 - Removes calls to commitMemory in hmm path
...
Change-Id: I8d381b4c3f5cf95628487e0d10ae643443c9709d
2023-01-27 13:15:23 -05:00
Jiabao Xie
3e88081961
SWDEV-366886 - Revert "SWDEV-366886 - force svm alloc for rocm"
...
This reverts commit 8278e86918 .
Reason for revert: performance drop in Quicksilver app
Change-Id: I2bdf42ad0a235a74e2bb4d38f86471e9affbd7a6
2023-01-25 15:54:53 -05:00
German Andryeyev
b23c759746
SWDEV-372790 - Copy AQL packet from runtime setup
...
Scheduler in device queue requires relaunching itself. Make sure
scheduler uses exactly the same AQL packet as the host launch.
Change-Id: I4eb03c4c91bf2408a6d4607731f081a2e2c2c8ae
2023-01-24 10:25:45 -05:00
Jaydeep Patel
1e4a4162ff
SWDEV-378157 - Correct log message
...
Change-Id: I6297693f67ae78a8874b976ac03353a81b728b1d
2023-01-23 12:06:18 -05:00
German
6dad2fc306
SWDEV-377991 - Remove liquidflash support
...
Remove amdgpu-pro interface for persistent memory,
used in Liquidflash
Change-Id: I7d1720ad0875a62ebb2d7f96cba39601d560a5df
2023-01-23 10:40:57 -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
Jacob Lambert
0969056f66
SWDEV-376413 - Replace deprecated Comgr device-lib action
...
The Comgr ADD_DEVICE_LIBRARIES action has been deprecated. In place
of the previous two-action approach:
AMD_COMGR_COMPILE_SOURCE_TO_BC
AMD_COMGR_ADD_DEVICE_LIBRARIES
We can now use a single combined action:
AMD_COMGR_COMPILE_SOURCE_WITH_DEVICE_LIBS_TO_BC
This new action more closely alings with how device library
management is done by the clang driver.
Change-Id: Id844e9031a1896dedeacec453440b9babc4b111a
2023-01-20 15:52:00 -05:00
German
53a10c9039
SWDEV-377991 - Remove liquidflash support
...
Change-Id: Iba6455e5c0210c3223a06fec332404cd9f489154
2023-01-20 09:57:06 -05:00
Anusha GodavarthySurya
89e9f9db58
SWDEV-371123 - Fix seg fault when running hashcat app
...
Change-Id: I0c66d881b8dfae322f58a644860ecce4fb18debd
2023-01-19 15:50:03 -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
jiabaxie
8278e86918
SWDEV-366886 - force svm alloc for rocm
...
Change-Id: If85a6aaeb5861ff1550a0bc3f0a25073ff8145e7
2023-01-18 16:26:34 -05:00
German
c8927cd84e
SWDEV-377991 - Remove Liquidflash extension
...
Initial check-in to untie dependencies with HIP and OCL repos
Change-Id: I363b63954c3f118f40a6ed893545d6a4ac44144c
2023-01-18 13:16:20 -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
Tao Sang
cb30ce4e06
SWDEV-377423 - Fix kernel attribute missing
...
Fix missing issue of kernel attributes including vec_type_hint,
work_group_size_hint and reqd_work_group_size.
Make WorkGroupInfo's meta attributes initialized before other parameters
are initialized.
This way workGroupInfo_'s compileSizeHint_, compileSize_ and
compileVecTypeHint_ will be valid when they are used to create kernel
signature in Kernel::createSignature().
Fix a typo of ".workgorup_size_hint".
Change-Id: I4a1ede2210a25596ad7a935cd4debb896e0147f8
2023-01-17 14:50:35 -05:00
Jiabao Xie
6c44353107
SWDEV-366886 - force alloc from svm
...
Change-Id: I6a89aa46d944832e59491bb96ba3669e5031b636
2023-01-17 12:12:27 -05:00
Anusha GodavarthySurya
0bd0c29b7d
SWDEV-373173 - Add kernel metadata for WGP mode
...
Change-Id: Ic270e90c46938b975513ff2bc19b7bb6b9485f9d
2023-01-17 10:51:22 -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
Saleel Kudchadker
033d4c0463
SWDEV-345213 - Fix staged line-by-line copy path
...
- Address an old bug in offset calculation that was causing out of bound
access.
- Improve logging
Change-Id: Iebdf34dddaa5e987cc72184a2152918adc6a96e0
2023-01-16 11:04:30 -05:00
Juan Manuel MARTINEZ CAAMAÑO
8ab3fd58cf
SWDEV-287018 - Remove requiredDump argument from Program::linkLLVMBitcode
...
Weirdly, the `requiredDump` argument to linkLLVMBitcode was used to enable/disable
the keeping temporary bytecode files (those generated by -save-temps=all) after linking.
This patch removes this argument as there is no obvious benefit from keepeing it
(the user would only rely on -save-temps=all to control this).
Change-Id: I0c00486f95eb1d4e296b5247c488407c47f0b2d9
2023-01-16 03:34:21 -05:00
Anusha GodavarthySurya
710749c291
SWDEV-374778 - Select SDMA path when HSA_XNACK is enabled
...
Change-Id: I052675186238eb24b910a0a558d6b8ede36d1413
2023-01-12 23:34:21 -05:00
Ioannis Assiouras
4d49204fb9
SWDEV-374401 - Surface the ammount of used constant memory by kernel
...
Change-Id: I6de0e46482f27b9068582fdaee0e562f9f71f9f0
2023-01-12 05:22:37 -05:00
Saleel Kudchadker
77ceb7e9ad
SWDEV-371123 - Fix barrier value packet header
...
- Use correct header for vendor packet
- Pass one dependent signal when submitting a marker if there is one
Change-Id: I4efc70dd5204b559de26f899d0637f50421c8834
2023-01-12 04:06:03 -05:00
jatang
6647882773
SWDEV-287018 - Only generate _optimized.bc when both requiredDump and DUMP_BC_LINKED are true
...
The current code generates a _optimized.bc regardlessly, so put back the original logic.
Change-Id: I3f84d10934b3e983f5f828af8d0943449a6e1d94
2023-01-11 17:51:35 -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
Saleel Kudchadker
6651aab28d
SWDEV-371123 - Fix typo for log print
...
Change-Id: I18297a032d6fc9a030863eac7c525e86e9fdcd29
2023-01-05 17:46:22 -05:00
jatang
05a8eaaf0f
SWDEV-372791 - Default UniformWorkGroupSize to true for CL1.x
...
Change-Id: If03396b5a7a3a69e05fdb4c43791a0d84d9f4127
2022-12-28 12:59:08 -05:00
Jaydeep Patel
070ae4e6d4
SWDEV-374370 - Propogate element size to blit kernel.
...
Change-Id: I06d1ae6feebd238e9a63c617eb4c4dcf485d9ee0
2022-12-26 09:33:50 +00:00
Jaydeep Patel
9076d9a518
SWDEV-366087 - Pass pitch and slice pitch to blit kernel from rect struct.
...
Change-Id: I1ffe54929db59a40e2a1ae19c125f8d8e81b07ec
2022-12-20 16:43:49 +00:00
Saleel Kudchadker
e0384f9f6b
SWDEV-373334 - Use copyMetadata for blit decisions
...
- Check isAsync flag for small host copies on large bar as it synchronizes
- Use CopyEngine Preference hint if HMM is enabled.
Change-Id: I1ffc4b2604ed03cf5979cdc454178648c5ae5cba
2022-12-15 17:09:02 -05:00
Jacob Lambert
50d77d17fd
SWDEV-356171 - Adding new Comgr mangled name fetching APIs
...
amd::Comgr::populate_mangled_names()
amd::Comgr::get_mangled_name()
Change-Id: Ie6ebf3aae76632f7e7cfef3c90642b2e3cd10b48
2022-12-14 12:40:18 -05:00
jatang
a4fadb191a
SWDEV-1 - Fix another build warning.
...
Change-Id: Ifed33732752e9d9ec74a244a0104bf571a9fc6c5
2022-12-14 10:14:49 -05:00
jatang
e8cd1e93e8
SWDEV-1 - Not to truncate size_t in print when it's 64bit
...
Change-Id: Iab8b7eb128c767b6808b19cbeac5169b7a97f1ad
2022-12-13 09:13:33 -05:00
kjayapra-amd
e56a611b92
SWDEV-371904 - Adding pseudo fine grain flag to hsa memory allocation for device fine grained memory.
...
Change-Id: I8cada90f0e3880dfbc5bf5a3fac4554e7a0cb08e
2022-12-11 08:15:17 -05:00
Todd tiantuo Li
9168415ca2
SWDEV-354868 - Queue::Create() for RT queue should fail when number of reserved CU's for RT queue is zero (most likely due to being aligned down by dedicatedCuGranularity).
...
Change-Id: I234e7ff83cb312bf44f5ad4b1a897c079f5106a9
2022-12-09 16:45:10 -05:00
Ioannis Assiouras
72b45e2a1f
SWDEV-369581 - Convey copy API metadata to ROCclr
...
Change-Id: I569462d6d268700d419510255e201bf7d80d6714
2022-12-09 00:27:15 -05:00
pghafari
402504f548
SWDEV-366279 - updating p2p error msg
...
Change-Id: I294e7770efd11f511dd5817eb28bd3c97d9d4926
2022-12-09 00:05:04 -05:00
Jaydeep Patel
cd7034c9bb
SWDEV-370537 - PAL does 64kb alignment so no need to do it in runtime. Reverting alignment to 4kb.
...
Change-Id: If3eaac65bf63bb9b8b73a3cad1bb34d357f1adeb
2022-12-08 14:54:46 -05: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
Saleel Kudchadker
4f64d89026
SWDEV-371123 - Use barrier value packet for event records
...
Change-Id: I5e5e5e89e0d96a2430b4682d168b76848fa5b94e
2022-12-07 17:57:36 -05:00
Tao Sang
8c582a02ef
SWDEV-347733 - Remove luxmark workaround for gfx11
...
Make gfx11 always use LC by default.
Fix switch order of Navi3x.
Change-Id: I5774563edf4d1aed29a4e92723630adbfb75c48c
2022-12-05 18:38:08 -05:00
Sourabh Betigeri
5d7f3f9f3c
SWDEV-305894 - Cooperative groups grid and multi grid sync support for gfx940+
...
Change-Id: I35d72f1cb50c3a96eee56a612b72d641852b145f
2022-12-05 16:30:30 -05:00
Saleel Kudchadker
10ecf8f159
SWDEV-371123 - Refactor dispatchBarrierValuePacket
...
Change-Id: I846bd3f60dd8db125e2ca5475e9d25fdd567922b
2022-12-02 12:22:31 -05:00
Jason Tang
56fe793134
SWDEV-1 - Fix a build error.
...
Change-Id: I5f14cdca04ee9867f0ae63fff197a0f21ee5f1d2
2022-12-01 10:31:34 -05:00
Jason Tang
c825d06454
SWDEV-1 - Fix a build warning.
...
Change-Id: I085fcc68ef3aaebf85515ea45fca99d7ec845721
2022-11-30 11:07:15 -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
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
Alex Xie
9e00c674c8
SWDEV-363271 - Add some performance counter logs
...
Change-Id: I368ba4afe47357eb6051b2a06f762b8050e5a560
2022-11-19 16:27:14 -05:00
German
e5a36ab1ad
SWDEV-368308 - Remove HW debug extension
...
Change-Id: If0c68023c09f0dac9111d52ecc0ad63719aa4e70
2022-11-18 10:29:44 -05:00