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; }