test_basic/enqueue_map: Initialize all the data (#1417)
Some checks failed
Presubmit / Build ubuntu-20.04 (push) Failing after 5m3s
Presubmit / Build ubuntu-20.04 AArch64 (push) Failing after 3s
Presubmit / Build ubuntu-20.04 Arm (push) Failing after 3s
Presubmit / Check code format (push) Failing after 5m1s
Presubmit / Build macos-latest (push) Has been cancelled
Some checks failed
Presubmit / Build ubuntu-20.04 (push) Failing after 5m3s
Presubmit / Build ubuntu-20.04 AArch64 (push) Failing after 3s
Presubmit / Build ubuntu-20.04 Arm (push) Failing after 3s
Presubmit / Check code format (push) Failing after 5m1s
Presubmit / Build macos-latest (push) Has been cancelled
This commit is contained in:
parent
03da14d6a9
commit
13d1b01f65
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ int test_enqueue_map_image(cl_device_id deviceID, cl_context context, cl_command
|
|||
clMemWrapper memObject;
|
||||
log_info("Testing with cl_mem_flags src: %s\n", flag_set_names[src_flag_id]);
|
||||
|
||||
generate_random_data(kUInt, (unsigned int)(imageSize * imageSize), d,
|
||||
generate_random_data(kUInt, (unsigned int)(imageSize * imageSize * 4), d,
|
||||
hostPtrData);
|
||||
memcpy(referenceData, hostPtrData, imageDataSize);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue