File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
examples/cython/sycl_buffer Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ find_package(Python REQUIRED COMPONENTS Development.Module NumPy)
1919find_package (Dpctl REQUIRED)
2020
2121# -w is to set working directory (and correctly set __pyx_f[] array of filenames)
22- set (CYTHON_FLAGS "-w \" ${CMAKE_SOURCE_DIR} \" --module-name _syclbuffer " )
22+ set (CYTHON_FLAGS "-t - w \" ${CMAKE_SOURCE_DIR} \" " )
2323find_package (Cython REQUIRED)
2424
2525set (py_module_name _syclbuffer)
2626
27- set (_cy_source syclbuffer/_buffer_example .pyx)
27+ set (_cy_source syclbuffer/_syclbuffer .pyx)
2828add_cython_target(${py_module_name} ${_cy_source} CXX OUTPUT_VAR _generated_cy_src)
2929Python_add_library(${py_module_name} MODULE WITH_SOABI ${_generated_cy_src} )
3030add_sycl_to_target(TARGET ${py_module_name} SOURCES ${_generated_cy_src} )
File renamed without changes.
You can’t perform that action at this time.
0 commit comments