add new sycl version using span2d class
This commit is contained in:
@@ -55,4 +55,12 @@ if ("${GTENSOR_DEVICE}" STREQUAL "sycl")
|
||||
add_executable(mpi_stencil2d_sycl)
|
||||
target_sources(mpi_stencil2d_sycl PRIVATE mpi_stencil2d_sycl.cc)
|
||||
target_link_libraries(mpi_stencil2d_sycl MPI::MPI_CXX)
|
||||
target_compile_options(mpi_stencil2d_sycl PRIVATE -fsycl -x c++)
|
||||
target_link_options(mpi_stencil2d_sycl PRIVATE -fsycl)
|
||||
|
||||
add_executable(mpi_stencil2d_sycl_oo)
|
||||
target_sources(mpi_stencil2d_sycl_oo PRIVATE mpi_stencil2d_sycl_oo.cc)
|
||||
target_link_libraries(mpi_stencil2d_sycl_oo MPI::MPI_CXX)
|
||||
target_compile_options(mpi_stencil2d_sycl_oo PRIVATE -fsycl -x c++)
|
||||
target_link_options(mpi_stencil2d_sycl_oo PRIVATE -fsycl)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user