mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 05:24:02 +08:00
Use internal event object in command lists methods
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5f91fc09a2
commit
f5b1a0e45b
@@ -36,7 +36,7 @@ struct EncodeDispatchKernelArgs {
|
||||
uint64_t eventAddress = 0ull;
|
||||
Device *device = nullptr;
|
||||
DispatchKernelEncoderI *dispatchInterface = nullptr;
|
||||
const void *pThreadGroupDimensions = nullptr;
|
||||
const void *threadGroupDimensions = nullptr;
|
||||
PreemptionMode preemptionMode = PreemptionMode::Initial;
|
||||
uint32_t partitionCount = 0u;
|
||||
bool isIndirect = false;
|
||||
|
||||
@@ -59,7 +59,7 @@ void EncodeDispatchKernel<Family>::encode(CommandContainer &container,
|
||||
|
||||
LinearStream *listCmdBufferStream = container.getCommandStream();
|
||||
|
||||
auto threadDims = static_cast<const uint32_t *>(args.pThreadGroupDimensions);
|
||||
auto threadDims = static_cast<const uint32_t *>(args.threadGroupDimensions);
|
||||
const Vec3<size_t> threadStartVec{0, 0, 0};
|
||||
Vec3<size_t> threadDimsVec{0, 0, 0};
|
||||
if (!args.isIndirect) {
|
||||
|
||||
@@ -58,7 +58,7 @@ void EncodeDispatchKernel<Family>::encode(CommandContainer &container,
|
||||
|
||||
LinearStream *listCmdBufferStream = container.getCommandStream();
|
||||
|
||||
auto threadDims = static_cast<const uint32_t *>(args.pThreadGroupDimensions);
|
||||
auto threadDims = static_cast<const uint32_t *>(args.threadGroupDimensions);
|
||||
const Vec3<size_t> threadStartVec{0, 0, 0};
|
||||
Vec3<size_t> threadDimsVec{0, 0, 0};
|
||||
if (!args.isIndirect) {
|
||||
|
||||
Reference in New Issue
Block a user