Add tests for entrypoint cl_khr_suggested_local_work_size (#1264)

* Add tests for entrypoint cl_khr_suggested_local_work_size

Tests added within test_conformance/workgroups. The tests cover several
shapes (num dimensions) and sizes of global work size, kernels using
local memory (dynamic and static) and present/non-present global work
offset.

Signed-off-by: Kallia Chronaki <kallia.chronaki@arm.com>

* Fix in comparison for error checking

Signed-off-by: Kallia Chronaki <kallia.chronaki@arm.com>

* 'test_wg_suggested_local_work_size' fixes

* Refactoring of 'test_wg_suggested_local_work_size'

Modifications to reduce code duplication and minimize build time
This commit is contained in:
kalchr01
2021-08-09 11:20:40 +01:00
committed by GitHub
parent 79f692d8e5
commit cc0b46e457
4 changed files with 646 additions and 17 deletions

View File

@@ -14,6 +14,7 @@ set(${MODULE_NAME}_SOURCES
test_wg_scan_inclusive_add.cpp
test_wg_scan_inclusive_min.cpp
test_wg_scan_inclusive_max.cpp
test_wg_suggested_local_work_size.cpp
)
include(../CMakeCommon.txt)