From 3d62cf917bdad28a06d4553fb75d48cd7deee27d Mon Sep 17 00:00:00 2001 From: Nimish Mishra Date: Tue, 28 May 2024 09:06:39 -0700 Subject: [PATCH] Change portfft backend --- examples/dft/run_time_dispatching/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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()