mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-03-14 20:27:24 +00:00
Fix warning.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user