Skip to content

Commit

Permalink
Change CUDA DOT thread-blocks to 1024
Browse files Browse the repository at this point in the history
This improves the performance on Ampere (A100) GPUs.

Fixes #137.
  • Loading branch information
tomdeakin committed Jun 12, 2023
1 parent 893af9f commit 092ee67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cuda/CUDAStream.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#endif

#define TBSIZE 1024
#define DOT_NUM_BLOCKS 256
#define DOT_NUM_BLOCKS 1024

template <class T>
class CUDAStream : public Stream<T>
Expand Down

0 comments on commit 092ee67

Please sign in to comment.