mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Add memory_scope_all_devices testing (#999)
* Add memory_scope_all_devices testing This duplicats memory_scope_all_svm_devices testing, but it seems pretty quick so I don't think it hurts. Fixes #990 * Address clang-format failures * Address a further clang-format failure
This commit is contained in:
@@ -1843,7 +1843,11 @@ public:
|
||||
}
|
||||
virtual bool SVMDataBufferAllSVMConsistent()
|
||||
{
|
||||
return MemoryScope() == MEMORY_SCOPE_ALL_SVM_DEVICES;
|
||||
// Although memory_scope_all_devices doesn't mention SVM it is just an
|
||||
// alias for memory_scope_all_svm_devices. So both scopes interact with
|
||||
// SVM allocations, on devices that support those, just the same.
|
||||
return MemoryScope() == MEMORY_SCOPE_ALL_DEVICES
|
||||
|| MemoryScope() == MEMORY_SCOPE_ALL_SVM_DEVICES;
|
||||
}
|
||||
virtual int ExecuteForEachParameterSet(cl_device_id deviceID, cl_context context, cl_command_queue queue)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user