mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-25 00:09:02 +00:00
Add conformance tests for cl_khr_extended_versioning (#548)
Tests that the new queries work, and that what they return is consistent with the information returned by the string-based queries. Signed-off-by: Einar Hov <einar.hov@arm.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
//
|
||||
// Copyright (c) 2017 The Khronos Group Inc.
|
||||
//
|
||||
// Copyright (c) 2017-2019 The Khronos Group Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
@@ -876,8 +876,11 @@ int test_computeinfo( cl_device_id deviceID, cl_context context, cl_command_queu
|
||||
return total_errors;
|
||||
}
|
||||
|
||||
extern int test_extended_versioning(cl_device_id, cl_context, cl_command_queue, int);
|
||||
|
||||
test_definition test_list[] = {
|
||||
ADD_TEST( computeinfo ),
|
||||
ADD_TEST( extended_versioning ),
|
||||
};
|
||||
|
||||
const int test_num = ARRAY_SIZE( test_list );
|
||||
|
||||
Reference in New Issue
Block a user