Skip to content

Commit

Permalink
Change portfft backend
Browse files Browse the repository at this point in the history
  • Loading branch information
nmishra31 committed May 28, 2024
1 parent 1c6b27b commit 3d62cf9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/dft/run_time_dispatching/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,12 @@ if(ENABLE_MKLGPU_BACKEND OR ENABLE_CUFFT_BACKEND OR ENABLE_ROCFFT_BACKEND OR ENA
list(APPEND DFT_RT_SOURCES "real_fwd_usm")
endif()

if(ENABLE_MKLGPU_BACKEND OR ENABLE_PORTFFT_BACKEND)
if(ENABLE_MKLGPU_BACKEND)
list(APPEND DEVICE_FILTERS "level_zero:gpu")
endif()
if(ENABLE_PORTFFT_BACKEND)
list(APPEND_DEVICE_FILTERS "*.gpu")
endif()
if(ENABLE_CUFFT_BACKEND)
list(APPEND DEVICE_FILTERS "cuda:gpu")
endif()
Expand Down

0 comments on commit 3d62cf9

Please sign in to comment.