Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 79e6d57

Browse filesBrowse files
committed
Lint formaating issues
1 parent b6d6029 commit 79e6d57
Copy full SHA for 79e6d57

File tree

Expand file treeCollapse file tree

4 files changed

+553
-561
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+553
-561
lines changed

‎src/backend/cuda/threadsMgt.hpp

Copy file name to clipboardExpand all lines: src/backend/cuda/threadsMgt.hpp
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ inline dim3 threadsMgt<T>::genBlocks(const dim3& threads,
241241
if (totalSize * 2 > L2CacheSize * 3) {
242242
// General formula to calculate best #loops
243243
// Dedicated GPUs:
244-
// 32/sizeof(T)²/#outBuffers*(3/4)**(#inBuffers-1)
244+
// 32/sizeof(T)**2/#outBuffers*(3/4)**(#inBuffers-1)
245245
// Integrated GPUs:
246246
// 4/sizeof(T)/#outBuffers*(3/4)**(#inBuffers-1)
247247
unsigned largeVolDivider{cacheLine == 64
@@ -286,7 +286,7 @@ inline dim3 threadsMgt<T>::genBlocks(const dim3& threads,
286286
(totalSize * 2 > L2CacheSize * 3)) {
287287
// General formula to calculate best #loops
288288
// Dedicated GPUs:
289-
// 32/sizeof(T)²/#outBuffers*(3/4)**(#inBuffers-1)
289+
// 32/sizeof(T)**2/#outBuffers*(3/4)**(#inBuffers-1)
290290
// Integrated GPUs:
291291
// 4/sizeof(T)/#outBuffers*(3/4)**(#inBuffers-1)
292292
unsigned largeVolDivider{

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.