diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/render-test/cuda/cuda-compute-util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/render-test/cuda/cuda-compute-util.cpp b/tools/render-test/cuda/cuda-compute-util.cpp index e90b4c541..304784518 100644 --- a/tools/render-test/cuda/cuda-compute-util.cpp +++ b/tools/render-test/cuda/cuda-compute-util.cpp @@ -344,7 +344,7 @@ static int _calcSMCountPerMultiProcessor(int major, int minor) const auto& last = infos[SLANG_COUNT_OF(infos) - 1]; // It must be newer presumably - SLANG_ASSERT(sm > last.coreCount ); + SLANG_ASSERT(sm > last.sm); // Default to the last entry return last.coreCount; |
