Skip to content

Commit

Permalink
ブロックのy方向反復数を減らしてブロック数を増やすことでSMの多いGPUでも高速化。
Browse files Browse the repository at this point in the history
  • Loading branch information
rigaya committed Mar 20, 2024
1 parent eaacd59 commit 2bfc0a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NVEncCore/NVEncFilterAfsAnalyze.cu
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

#define BLOCK_INT_X (32) //blockDim(x) = スレッド数/ブロック
#define BLOCK_Y (8) //blockDim(y) = スレッド数/ブロック
#define BLOCK_LOOP_Y (16) //ブロックのy方向反復数
#define BLOCK_LOOP_Y (4) //ブロックのy方向反復数

#define SHARED_INT_X (BLOCK_INT_X) //sharedメモリの幅
#define SHARED_Y (16) //sharedメモリの縦
Expand Down

0 comments on commit 2bfc0a4

Please sign in to comment.