From 06dc50b6a550bef7ef8873884b69a50a6882fe46 Mon Sep 17 00:00:00 2001 From: Dr-Noob Date: Sat, 3 Dec 2022 16:39:18 +0000 Subject: [PATCH] [v0.25] Updated cuda_helper to support latest GPUs --- src/cuda/gpufetch_helper_cuda.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/cuda/gpufetch_helper_cuda.hpp b/src/cuda/gpufetch_helper_cuda.hpp index cc18e39..dfc4203 100644 --- a/src/cuda/gpufetch_helper_cuda.hpp +++ b/src/cuda/gpufetch_helper_cuda.hpp @@ -8,7 +8,7 @@ // compilation issues. // // URL: https://github.com/NVIDIA/cuda-samples -// Commit: 2e41896 +// Commit: 8199209 inline int _ConvertSMVer2Cores(int major, int minor) { // Defines for GPU Architecture types (using the SM version to determine @@ -36,6 +36,9 @@ inline int _ConvertSMVer2Cores(int major, int minor) { {0x80, 64}, {0x86, 128}, {0x87, 128}, + // I added this one because it was missing in original cuda-samples... + {0x89, 128}, + {0x90, 128}, {-1, -1}}; int index = 0;