SWDEV-257789 - Initial change to skip kernel arg copy

The optimization is controlled with ROCR_SKIP_KERNEL_ARG_COPY.
This is initial check-in for experiments. Extra changes are
necessary for full support:
- handle graph capture with the original sysmem alloc
- avoid memobject references, otherwise there is a race condition with
reusage of the arg buffer
- Remove arg setup from hip

Change-Id: Ib0af710f93e79834711fa4049a7c66093711e68b
Bu işleme şunda yer alıyor:
German Andryeyev committed 2021-10-28 20:35:35 -04:00
1 ebeveyn 530283e12a
işleme 7e12cf6318
7 files changed
+57 -29

No files matched your search

+2
Dosyayı Görüntüle
@@ -266,6 +266,8 @@ release(bool, ROC_USE_FGS_KERNARG, true, \
"Use fine grain kernel args segment for supported asics") \
release(uint, ROC_AQL_QUEUE_SIZE, 4096, \
"AQL queue size in AQL packets") \
release(bool, ROCR_SKIP_KERNEL_ARG_COPY, false, \
"If true, then runtime can skip kernel arg copy") \
release(bool, GPU_STREAMOPS_CP_WAIT, false, \
"Force the stream wait memory operation to wait on CP.")