Skip to content

Commit 8405af7

Browse files
Streamlined cmake script, set USE_SYCL_FOR_COMPLEX_TYPES on all platforms
1 parent c77344c commit 8405af7

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

dpctl/tensor/CMakeLists.txt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,8 @@ foreach(_src_fn ${_no_fast_math_sources})
187187
PROPERTIES COMPILE_OPTIONS "${_combined_options_prop}"
188188
)
189189
endforeach()
190-
if (UNIX)
191-
set(_compiler_definitions "USE_SYCL_FOR_COMPLEX_TYPES")
192-
else()
193-
set(_compiler_definitions "USE_SYCL_FOR_COMPLEX_TYPES")
194-
endif()
190+
191+
set(_compiler_definitions "USE_SYCL_FOR_COMPLEX_TYPES")
195192

196193
foreach(_src_fn ${_elementwise_sources})
197194
get_source_file_property(_cmpl_options_defs ${_src_fn} COMPILE_DEFINITIONS)

0 commit comments

Comments
 (0)