diff --git a/examples/dft/run_time_dispatching/CMakeLists.txt b/examples/dft/run_time_dispatching/CMakeLists.txt index 5f0f97446..254fcebcc 100644 --- a/examples/dft/run_time_dispatching/CMakeLists.txt +++ b/examples/dft/run_time_dispatching/CMakeLists.txt @@ -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()