From 0dd6012be78eed9f3176bfb4b1898466f6c1f53b Mon Sep 17 00:00:00 2001 From: Pieter Ghysels Date: Wed, 19 Jun 2024 19:55:46 -0700 Subject: [PATCH] Fix for compilation without GPU --- src/dense/GPUWrapper.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dense/GPUWrapper.hpp b/src/dense/GPUWrapper.hpp index 1bed6ba5..311e8b5d 100644 --- a/src/dense/GPUWrapper.hpp +++ b/src/dense/GPUWrapper.hpp @@ -31,7 +31,9 @@ #include #include "DenseMatrix.hpp" +#if defined(STRUMPACK_USE_GPU) #include "sparse/fronts/FrontGPUStructs.hpp" +#endif namespace strumpack { namespace gpu {