Fix warning.

This commit is contained in:
Vyas Ramasubramani
2022-11-03 13:59:17 -07:00
parent a3b729bca8
commit ae6ede15d6
2 changed files with 3 additions and 3 deletions

View File

@@ -1,9 +1,9 @@
################################################################################
# fmtlib/fmt
rapids_cpm_find(fmt 7.1.3
rapids_cpm_find(fmt 9.1.0
CPM_ARGS
GITHUB_REPOSITORY fmtlib/fmt
GIT_TAG 7.1.3
GIT_TAG 9.1.0
GIT_SHALLOW TRUE
OPTIONS
# Force static to keep fmt internal.

View File

@@ -53,7 +53,7 @@ void nvpw_call(const NVPA_Status status)
{
if (status != NVPA_STATUS_SUCCESS)
{
NVBENCH_THROW(std::runtime_error, "NVPW call returned error: {}", status);
NVBENCH_THROW(std::runtime_error, "NVPW call returned error: {}", static_cast<int>(status));
}
}