WIP add sycl port of stencil2d

This commit is contained in:
Bryce Allen
2022-10-25 22:14:57 +00:00
parent e5e3ca178a
commit 55bb0d26d1
2 changed files with 411 additions and 0 deletions

View File

@@ -50,3 +50,9 @@ else()
TARGET_DIRECTORY mpi_stencil_gt
PROPERTIES LANGUAGE CXX)
endif()
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)
endif()