Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jp7677/dxvk-nvapi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Peters <jp7677@gmail.com>2022-06-27 19:53:17 +0300
committerJens Peters <jp7677@gmail.com>2022-06-27 19:59:14 +0300
commitc02e792f9739e6064743d5acb2c33f6d6456b6ad (patch)
treef00551ff454b82ae7e36aa90ebd82a266bb38ff7
parent51447fd52a740c45b2f843028a8cd01e23ba2325 (diff)
nvapi-gpu: Fix typos in commentslint-code
-rw-r--r--src/nvapi_gpu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvapi_gpu.cpp b/src/nvapi_gpu.cpp
index 888826f..39034a1 100644
--- a/src/nvapi_gpu.cpp
+++ b/src/nvapi_gpu.cpp
@@ -399,7 +399,7 @@ extern "C" {
// nvmlGpuDynamicPstatesInfo_t also has `flags` but they are reserved for future use
pDynamicPstatesInfoEx->flags = 0;
// order of the first four utilization domains in NVML matches NVAPI
- // to consider: should be avoid blindly copying domains 4-7 in case they don't match once introduced?
+ // to consider: should we avoid blindly copying domains 4-7 in case they don't match once introduced?
static_assert(NVML_MAX_GPU_UTILIZATIONS == NVAPI_MAX_GPU_UTILIZATIONS);
for (auto i = 0U; i < NVAPI_MAX_GPU_UTILIZATIONS; i++) {
pDynamicPstatesInfoEx->utilization[i].bIsPresent = gpuDynamicPstatesInfo.utilization[i].bIsPresent ? 1 : 0;
@@ -663,7 +663,7 @@ extern "C" {
if (pClkFreqs->version != NV_GPU_CLOCK_FREQUENCIES_VER_1 && pClkFreqs->version != NV_GPU_CLOCK_FREQUENCIES_VER_2 && pClkFreqs->version != NV_GPU_CLOCK_FREQUENCIES_VER_3)
return IncompatibleStructVersion(n);
- // Only check for CURRENT_FREQ, and not for the other types ie. BOOST or DEFAULT for now
+ // Only check for CURRENT_FREQ, and not for the other types i.e. BOOST or DEFAULT for now
if ((pClkFreqs->version == NV_GPU_CLOCK_FREQUENCIES_VER_2 || pClkFreqs->version == NV_GPU_CLOCK_FREQUENCIES_VER_3)
&& pClkFreqs->ClockType != static_cast<NvU32>(NV_GPU_CLOCK_FREQUENCIES_CURRENT_FREQ))
return NotSupported(n, alreadyLoggedNotSupported);