We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ba2d11 commit 5c0d674Copy full SHA for 5c0d674
nvbench/device_info.cuh
@@ -109,7 +109,7 @@ struct device_info
109
/// @return The default clock rate of the SM in Hz.
110
[[nodiscard]] std::size_t get_sm_default_clock_rate() const
111
{ // kHz -> Hz
112
- return static_cast<std::size_t>(m_prop.clockRate * 1000);
+ return static_cast<std::size_t>(m_prop.clockRate) * 1000;
113
}
114
115
/// @return The number of physical streaming multiprocessors on this device.
0 commit comments