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 a9ac8f5 commit c6ba860Copy full SHA for c6ba860
src/gpuarray_reduction.c
@@ -1772,9 +1772,9 @@ static int reduxCompile (redux_ctx* ctx){
1772
*/
1773
1774
static int reduxSchedule (redux_ctx* ctx){
1775
- int i, priNdims, auxNdims;
1776
- uint64_t maxLgRdx, maxLgPre, maxLgPost;
1777
- uint64_t maxLgPri, maxLgAux;
+ int i, priNdims = 0, auxNdims = 0;
+ uint64_t maxLgRdx = 0, maxLgPre = 0, maxLgPost = 0;
+ uint64_t maxLgPri = 0, maxLgAux = 0;
1778
uint64_t maxLs [MAX_HW_DIMS];
1779
uint64_t maxGg;
1780
uint64_t maxGs [MAX_HW_DIMS];
0 commit comments