mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 23:33:20 +08:00
initialize local variables
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b380688d26
commit
5d6caa6b79
@@ -12,8 +12,8 @@
|
||||
|
||||
void executeMemoryTransferAndValidate(ze_context_handle_t &context, ze_device_handle_t &device,
|
||||
uint32_t flags, bool useImmediate, bool asyncMode, bool &outputValidationSuccessful) {
|
||||
ze_command_queue_handle_t cmdQueue;
|
||||
ze_command_list_handle_t cmdList;
|
||||
ze_command_queue_handle_t cmdQueue = nullptr;
|
||||
ze_command_list_handle_t cmdList = nullptr;
|
||||
|
||||
ze_command_queue_desc_t cmdQueueDesc = {ZE_STRUCTURE_TYPE_COMMAND_QUEUE_DESC};
|
||||
cmdQueueDesc.ordinal = getCommandQueueOrdinal(device);
|
||||
|
||||
Reference in New Issue
Block a user