mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-25 08:19:02 +00:00
Add host/host test for clEnqueueSVMMemcpy (#460)
This was the only combination that was not exercised. Fixes #419 Signed-off-by: Kevin Petit <kevin.petit@arm.com>
This commit is contained in:
@@ -126,6 +126,7 @@ int test_svm_enqueue_api(cl_device_id deviceID, cl_context c, cl_command_queue q
|
|||||||
|
|
||||||
std::vector<TestType> testTypes;
|
std::vector<TestType> testTypes;
|
||||||
|
|
||||||
|
testTypes.push_back(TestType(host, host));
|
||||||
testTypes.push_back(TestType(host, svm));
|
testTypes.push_back(TestType(host, svm));
|
||||||
testTypes.push_back(TestType(svm, host));
|
testTypes.push_back(TestType(svm, host));
|
||||||
testTypes.push_back(TestType(svm, svm));
|
testTypes.push_back(TestType(svm, svm));
|
||||||
@@ -298,4 +299,4 @@ int test_svm_enqueue_api(cl_device_id deviceID, cl_context c, cl_command_queue q
|
|||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user