diff --git a/src/init.cpp b/src/init.cpp index ad63e78885..8c04754dd1 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -89,6 +89,9 @@ void initializeGpuPool(int device, std::size_t num_np_streams, std::size_t num_h ); #if PIKA_VERSION_FULL < 0x001D00 // < 0.29.0 dlaf::internal::silenceUnusedWarningFor(num_blas_handles, num_lapack_handles); + static_assert(false, "using pika < 0.29.0"); +#else + static_assert(false, "using pika >= 0.29.0"); #endif }