mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 00:28:09 -07:00
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44994 Signed-off-by: Sam James <sam@gentoo.org>
30 lines
1.2 KiB
Diff
30 lines
1.2 KiB
Diff
From f14dfe5022870966d0d888651f0d4f5b3af5f25c Mon Sep 17 00:00:00 2001
|
|
From: Paul Zander <negril.nx+gentoo@gmail.com>
|
|
Date: Mon, 22 Dec 2025 17:19:51 +0100
|
|
Subject: Do not show deprecated CUDA device properties for CUDA-13
|
|
|
|
Fixes: 9e5714b93b3a0d7848e72db5fa2b58decaa60297
|
|
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
|
|
|
|
diff --git a/test/gpu_common.h b/test/gpu_common.h
|
|
index 8c7049b17..f47742079 100644
|
|
--- a/test/gpu_common.h
|
|
+++ b/test/gpu_common.h
|
|
@@ -153,7 +153,13 @@ void ei_test_init_gpu() {
|
|
std::cout << " warpSize: " << deviceProp.warpSize << "\n";
|
|
std::cout << " regsPerBlock: " << deviceProp.regsPerBlock << "\n";
|
|
std::cout << " concurrentKernels: " << deviceProp.concurrentKernels << "\n";
|
|
+#if defined(EIGEN_CUDA_SDK_VER) && EIGEN_CUDA_SDK_VER < 130000
|
|
+ std::cout << " clockRate: " << deviceProp.clockRate << "\n";
|
|
+#endif
|
|
std::cout << " canMapHostMemory: " << deviceProp.canMapHostMemory << "\n";
|
|
+#if defined(EIGEN_CUDA_SDK_VER) && EIGEN_CUDA_SDK_VER < 130000
|
|
+ std::cout << " computeMode: " << deviceProp.computeMode << "\n";
|
|
+#endif
|
|
}
|
|
|
|
#endif // EIGEN_TEST_GPU_COMMON_H
|
|
--
|
|
2.53.0
|
|
|