add basic test for cl_khr_pci_bus_info (#1227)

* add basic test for cl_khr_pci_bus_info

* correctly use TEST_SKIPPED_ITSELF

Co-authored-by: Kévin Petit <kpet@free.fr>

* fix related usage of TEST_SKIPPED_ITSELF

Co-authored-by: Kévin Petit <kpet@free.fr>
This commit is contained in:
Ben Ashbaugh
2021-07-21 00:48:48 -07:00
committed by GitHub
parent 433974fd28
commit b500da5fbc
4 changed files with 57 additions and 2 deletions

View File

@@ -105,7 +105,7 @@ int test_device_uuid(cl_device_id deviceID, cl_context context,
if (!is_extension_available(deviceID, "cl_khr_device_uuid"))
{
log_info("cl_khr_device_uuid not supported. Skipping test...\n");
return 0;
return TEST_SKIPPED_ITSELF;
}
int total_errors = 0;