Skip to content

Commit b50da1e

Browse files
authored
[SYCL][NATIVECPU] native_cpu plugin enable fix (#10760)
Fixed the native_cpu plugin only being built if level_zero was enabled as well
1 parent 25c3666 commit b50da1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,10 @@ if ("opencl" IN_LIST SYCL_ENABLE_PLUGINS)
167167
endif()
168168
if ("level_zero" IN_LIST SYCL_ENABLE_PLUGINS)
169169
set(SYCL_BUILD_PI_LEVEL_ZERO ON)
170+
endif()
170171
if ("native_cpu" IN_LIST SYCL_ENABLE_PLUGINS)
171172
set(SYCL_BUILD_NATIVE_CPU ON)
172173
endif()
173-
endif()
174174

175175
# Configure SYCL version macro
176176
set(sycl_inc_dir ${CMAKE_CURRENT_SOURCE_DIR}/include)

0 commit comments

Comments
 (0)