fix: fix uninitialized variables in test

Related-To: LOCI-4171

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
This commit is contained in:
Joshua Santosh Ranjan
2023-06-26 13:12:54 +00:00
committed by Compute-Runtime-Automation
parent 68d81c82a7
commit d2b935b300

View File

@@ -595,10 +595,10 @@ bool testKernelMappedTimestampMap(int argc, char *argv[],
ze_driver_handle_t &driver,
ze_device_handle_t &device) {
ze_command_queue_handle_t cmdQueue;
ze_command_list_handle_t cmdList;
ze_module_handle_t module;
ze_kernel_handle_t kernel;
ze_command_queue_handle_t cmdQueue = nullptr;
ze_command_list_handle_t cmdList = nullptr;
ze_module_handle_t module = nullptr;
ze_kernel_handle_t kernel = nullptr;
void *srcBuffer = nullptr;
void *dstBuffer = nullptr;
void *timestampBuffer = nullptr;