Skip to content

Commit 8523405

Browse files
authored
Merge pull request KhronosGroup#930 from jiezzhang/main-20241209
main 20241209
2 parents f4f24b8 + 7f836c7 commit 8523405

15 files changed

+2991
-2643
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ add_cts_option(SYCL_CTS_ENABLE_EXT_ONEAPI_ENQUEUE_FUNCTIONS_TESTS
106106
"Enable extension oneAPI enqueue_functions tests" OFF
107107
FORCE_ON ${SYCL_CTS_ENABLE_EXT_ONEAPI_TESTS})
108108

109+
add_cts_option(SYCL_CTS_ENABLE_EXT_ONEAPI_LOCAL_MEMORY_TESTS
110+
"Enable extension oneAPI local_memory tests" OFF
111+
FORCE_ON ${SYCL_CTS_ENABLE_EXT_ONEAPI_TESTS})
112+
109113
add_cts_option(SYCL_CTS_ENABLE_KHR_DEFAULT_CONTEXT_TESTS
110114
"Enable extension Khronos default_context tests" OFF
111115
FORCE_ON ${SYCL_CTS_ENABLE_KHR_TESTS})

cmake/AddSYCLExecutable.cmake

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
set (KNOWN_SYCL_IMPLEMENTATIONS "Intel_SYCL;DPCPP;hipSYCL")
2-
if (NOT ${SYCL_IMPLEMENTATION} IN_LIST KNOWN_SYCL_IMPLEMENTATIONS)
1+
set (KNOWN_SYCL_IMPLEMENTATIONS "DPCPP;hipSYCL")
2+
if ("${SYCL_IMPLEMENTATION}" STREQUAL "" OR NOT ${SYCL_IMPLEMENTATION} IN_LIST KNOWN_SYCL_IMPLEMENTATIONS)
33
message(FATAL_ERROR
44
"The SYCL CTS requires specifying a SYCL implementation with "
5-
"-DSYCL_IMPLEMENTATION=[Intel_SYCL,DPCPP;hipSYCL]")
5+
"-DSYCL_IMPLEMENTATION=[DPCPP;hipSYCL]")
66
endif()
77

88
if(NOT TARGET OpenCL_Proxy)
@@ -13,11 +13,7 @@ if(NOT TARGET OpenCL_Proxy)
1313
)
1414
endif()
1515

16-
if(${SYCL_IMPLEMENTATION} STREQUAL "Intel_SYCL")
17-
set(CANONICAL_SYCL_IMPLEMENTATION "DPCPP")
18-
else()
19-
string(TOUPPER ${SYCL_IMPLEMENTATION} CANONICAL_SYCL_IMPLEMENTATION)
20-
endif()
16+
string(TOUPPER ${SYCL_IMPLEMENTATION} CANONICAL_SYCL_IMPLEMENTATION)
2117

2218
find_package(${SYCL_IMPLEMENTATION} REQUIRED)
2319
find_file(SYCL_IMPLEMENTATION_ADAPTER

cmake/FindIntel_SYCL.cmake

Lines changed: 0 additions & 10 deletions
This file was deleted.

intel_test_drivers/case.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -827,6 +827,12 @@
827827
"folder": "buffer",
828828
"source": "buffer_storage_fp64"
829829
},
830+
"constant_evaluation": {
831+
"binary": "test_language",
832+
"catch2": 1,
833+
"folder": "language",
834+
"source": "constant_evaluation"
835+
},
830836
"context_api": {
831837
"binary": "test_context",
832838
"catch2": 0,
@@ -6449,6 +6455,12 @@
64496455
"folder": "extension/oneapi_kernel_compiler_spirv",
64506456
"source": "kernel_compiler_spirv"
64516457
},
6458+
"oneapi_local_memory-local_memory": {
6459+
"binary": "test_oneapi_local_memory",
6460+
"catch2": 1,
6461+
"folder": "extension/oneapi_local_memory",
6462+
"source": "local_memory"
6463+
},
64526464
"oneapi_memcpy2d-memcpy2d_handler_core": {
64536465
"binary": "test_oneapi_memcpy2d",
64546466
"catch2": 1,
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" ?>
2+
<test driverID="sycl_cts" name="TEMPLATE">
3+
<description>WARNING: DON'T UPDATE THIS FILE MANUALLY!!!
4+
This is auto-generated accessors configuration file which affects all tests in ported gcc suites
5+
If you have any issue with this file please contact Compiler QA team</description>
6+
<files>
7+
<file path="tests/language" dst="tests/language"/>
8+
</files>
9+
<rules/>
10+
</test>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" ?>
2+
<test driverID="sycl_cts" name="TEMPLATE">
3+
<description>WARNING: DON'T UPDATE THIS FILE MANUALLY!!!
4+
This is auto-generated accessors configuration file which affects all tests in ported gcc suites
5+
If you have any issue with this file please contact Compiler QA team</description>
6+
<files>
7+
<file path="tests/extension" dst="tests/extension"/>
8+
</files>
9+
<rules/>
10+
</test>

0 commit comments

Comments
 (0)