Skip to content

Commit

Permalink
Added extra error reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoo committed May 27, 2024
1 parent 7e6b25a commit af41845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/Cuda/Kokkos_CudaSpace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit af41845

Please sign in to comment.