kjayapra-amd
6f5277c701
SWDEV-408473 - Add wait time of 10 us if the waiting signal copy was < 24K.
...
Change-Id: I438ec9eb07e5034042a4a9a5e6e51d74daba2c83
2023-08-23 10:46:33 -04:00
Ioannis Assiouras
63af50b6e0
SWDEV-415160 - Added fix in kernel argument logging
...
Change-Id: Ic54d51264602c7bf0c91b5273f9519da3fbb1062
2023-08-03 21:39:41 +01:00
Anusha GodavarthySurya
0711320cb4
SWDEV-392732 - CP processes until doorbell ring
...
Change-Id: I3a0974435d3f95a40cea6ed326f744bcab5b4c0f
2023-07-25 13:10:31 -04:00
Saleel Kudchadker
5447cf8872
SWDEV-301667 - Disable HostBlit copy for HIP
...
Change-Id: I46333ff42e8c1d402ece97e3ead7b539a27c3f82
2023-07-17 17:49:11 -04:00
Anusha GodavarthySurya
b0e6f99ad7
SWDEV-392732 - Initial commit for graph doorbell optimization(AQL Buffering)
...
Change-Id: I451725006c54c249dc530c55d2af2a31594bf49b
2023-07-16 07:56:00 -04:00
Saleel Kudchadker
bceec9d9a2
SWDEV-301667 - Enable SDMA profiling only when queue profiling
...
Change-Id: I9a62a2fbaefd54638c35f4b8fce2e9ea2da7af19
2023-06-26 16:10:34 -04:00
Sourabh Betigeri
0330801846
SWDEV-406750 - Fix to avoid a warning when compiling HIP runtime
...
Change-Id: If1d848d334bc0121a96655781fc60b0321213398
2023-06-20 12:16:16 -04:00
Saleel Kudchadker
5436d362b1
SWDEV-301667 - Add a flag for gpuvm kernargs
...
HIP_FORCE_DEV_KERNARG=1 will create a device allocation for kernel arg
segment. Flag is 0 by default.
Change-Id: Iaaf5a149f3be8596568878d5d272268baf067c60
2023-05-22 11:23:48 -04:00
Alex Voicu
06df9e2efd
SWDEV-301667 - Kernelarg gpuvm
...
Add aligned, nontemporal `memcpy` for kernarg.
Change-Id: I5d8ac76904feaf793b45ec2ea5fbd1069be20068
2023-05-22 11:21:14 -04:00
Sourabh Betigeri
afa28cdf44
SWDEV-393362 - Move setData() from profilingEnd() to profilingBegin() to eliminate a possible data race
...
- Introduce a state variable to indicate if HwProfiling is enabled to
eliminate a possible data race of vector<> signals_.
Change-Id: Id504cc76d7fa9f7e6455587dd232b60ccbbb735b
2023-05-04 17:19:25 -04:00
Jatin Chaudhary
c585aefdb7
SWDEV-376453 - Changes to fix crash seen with HIP and recent compiler change with -O0
...
Change-Id: I37de83b7449461ce2378741e97ff8fb8da736523
2023-05-02 17:46:38 -04:00
Saleel Kudchadker
9775c38725
SWDEV-392427 - Invalidate Barrier Value AQL header
...
Change-Id: Id8e04ffe44da58641361468957d397af128443bb
2023-05-01 14:06:05 -04:00
Saleel Kudchadker
20ca8b8116
SWDEV-384557 - Leverage SDMA engine status query
...
Change-Id: I5f386f2965de24a229ea43b6c4da82099692f91f
2023-04-05 07:50:53 +00:00
Saleel Kudchadker
3e603d986a
SWDEV-364604 - Add ROCclr support for hipEventDisableSystemFence
...
Change-Id: I6127b432a8759359359a1890fda85bc401be6a56
2023-02-21 19:07:35 -05:00
Saleel Kudchadker
695f169ed0
SWDEV-301667 - Refactor code
...
Change-Id: I8f20d994d88acb14f392eaa9d5cd14620667d7f6
2023-02-13 14:58:17 -08: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 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
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
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
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
Saleel Kudchadker
6651aab28d
SWDEV-371123 - Fix typo for log print
...
Change-Id: I18297a032d6fc9a030863eac7c525e86e9fdcd29
2023-01-05 17:46:22 -05: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
Ioannis Assiouras
72b45e2a1f
SWDEV-369581 - Convey copy API metadata to ROCclr
...
Change-Id: I569462d6d268700d419510255e201bf7d80d6714
2022-12-09 00:27:15 -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
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
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
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
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
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
Sourabh Betigeri
b2665ccc4b
SWDEV-361730 - Fix to match the kernel arg allocation sizes between gpu visible mem and host/runtime mem
...
Change-Id: I6495aa57e97b46373c1d90cc230435780fdcf3ef
2022-10-20 14:20:37 -04:00
Saleel Kudchadker
6405b6cdba
SWDEV-359548 - Detect fence optimization
...
- Use a dirty flag to determine fence optimization
- If fence is dirty submit a marker at top level to sync.
Change-Id: I53fb19b5bb05b7c7b37c41637a6c7aaf870b639a
2022-10-10 14:15:16 -04:00
Saleel Kudchadker
9b5cbd37a2
SWDEV-352001 - Store last scopes for dispatch
...
- Store last fence scopes and use the last value to determine if we need a cache flush again. This helps cases where hipExtLaunchKernel API is
used.
- Purge code for ROC_EVENT_NO_FLUSH
Change-Id: I531cf9c9c60d5e2b3a9e265d0f52f79ed2fa8a8c
2022-09-22 11:34:10 -04:00
Laurent Morichetti
52eb28930a
SWDEV-351980 - Consolidate registration tables in the roctracer library
...
Remove the activity_prof::CallbacksTable. The table was redundant with
the information already stored in the roctracer library. Instead use a
single callback into the roctracer library to query whether the activity
is enabled, and to report it.
Change-Id: I2e05b0881bb4a1953c14361d00ea310d02eb6e0c
2022-09-21 05:54:09 -04:00
Rakesh Roy
f097cda948
SWDEV-353941 - Fix hipMemset latency issue for hipMallocManaged
...
- In case of HMM, use blit kernel instead of CPU memcpy for hipMemset
Change-Id: I89bfc96ff01a2375ed8df1b1c6bc05357dea84f7
2022-09-07 03:20:58 -04:00
German
24f5362296
SWDEV-349794 - Fix time accumulation
...
If the execution command had a split into multiple HW operations, then runtime has to accumulate time for all operations
Change-Id: Iaba31e96250918d8190bf63adb4c07730fdfefbf
2022-08-24 09:53:54 -04:00
Maneesh Gupta
289062682a
SWDEV-350289 - Fix build warnings due to file re-org
...
Change-Id: I0066fa163b9f25fdde4c5b3baed1ef0654390c06
2022-08-10 03:05:56 -04:00
Sarbojit Sarkar
27a08a132f
SWDEV-343921 - added Max stack size
...
Change-Id: I5c1a088e05215ca951afc9d92f8d298c5e3a65f1
2022-08-02 07:13:18 -04:00
German Andryeyev
6844b8c7e0
SWDEV-340703 - Use different status value for the callback event
...
Change-Id: Ida725df53abfbf348b18e24c19edf011dc9192dd
2022-06-30 11:03:02 -04:00
Saleel Kudchadker
5df34a2f7a
SWDEV-335780 - Indicate if handler is queued
...
Maintain status of handler callback. For event records we no longer
submit callbacks to reduce the load on the async handler thread. However
without a callback we leak command memory/decrement refcounts. Indicate
status of the handler which we can use to queue a callback when
finish is called.
Change-Id: I89fd02f3d047a0e8162664ee17581a14795f1928
2022-06-14 20:55:06 -04: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
Sarbojit Sarkar
51a00aeefe
SWDEV-331066 - support for LimitStackSize
...
Change-Id: Ie6ae74f008b4f72de83663194aafb0ebdddfc8b6
2022-05-19 00:24:06 -04:00
kjayapra-amd
643ee46f28
SWDEV-331355 - Fixing the surface object on fillMemory function call.
...
Change-Id: Ieaa359ea8f31b0251d54b720469cdefde202579f
2022-05-04 14:24:03 -04:00
Saleel Kudchadker
02566677cf
SWDEV-334152 - Set release as systemscope
...
Set release scope as system for dispatch AQL when events are passed to
hip*LaunchKernelGGL*
Change-Id: I93b91591e0ab023f1ecc5247f7905eca26147358
2022-04-29 13:19:29 -04:00
German Andryeyev
934149ff0a
SWDEV-307184 - Fix a regression from 15f1632d
...
Disable hostcall buffer in OCL for now. COv5 can add hostcallbuffer
metadata for unknown reason. OCL may fail the buffer allocation
and kernel launch.
Change-Id: I34a6a45bac86c57422b764c0d69760c96920d6c5
2022-04-28 11:57:48 -04:00
Ajay
d2f837d25f
SWDEV-332522 - streamOpsWrite & streamOpsWait to accept memory offset
...
Change-Id: I4b6ecb4d80c093d038d86616a637c4bb465ae24e
2022-04-25 14:59:36 -04:00
Jason Tang
ed7737564e
SWDEV-324411 - Use blit kernel for copyBufferRect if atomic is not supported
...
Change-Id: I2e110fd3418117ee9c7ede379244d2c6c4f248b7
2022-04-24 11:41:16 -04:00