From af41845efd0c51a48181ad1c845ab3b6ad61ca91 Mon Sep 17 00:00:00 2001 From: Balint Joo Date: Mon, 27 May 2024 18:10:33 +0000 Subject: [PATCH] Added extra error reporting --- core/src/Cuda/Kokkos_CudaSpace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/Cuda/Kokkos_CudaSpace.cpp b/core/src/Cuda/Kokkos_CudaSpace.cpp index f25d1c3e827..3f46866143f 100644 --- a/core/src/Cuda/Kokkos_CudaSpace.cpp +++ b/core/src/Cuda/Kokkos_CudaSpace.cpp @@ -221,7 +221,7 @@ bool initializeMempool(const int device_id, const cudaStream_t stream, case 'M': factor = 1024 * 1024; break; case 'G': factor = 1024 * 1024 * 1024; break; default: - // Not permitted + std::cerr << "Unknown units for requested size " << last_letter << "\n"; return false; break; }