Skip to content

Commit

Permalink
fix 'array initializer must be an initializer list', clMathLibraries#153
Browse files Browse the repository at this point in the history
  • Loading branch information
hughperkins committed Oct 21, 2015
1 parent 16973bf commit a1aaa65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/library/blas/AutoGemm/KernelOpenCL.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def makeOpenCLKernelString(kernel):
kStr += endLine
kStr += (
" /* allocate registers */" + endLine +
" DATA_TYPE_STR rC[MICRO_TILE_NUM_ROWS][MICRO_TILE_NUM_COLS] = {0};" + endLine +
" DATA_TYPE_STR rC[MICRO_TILE_NUM_ROWS][MICRO_TILE_NUM_COLS] = { {0} };" + endLine +
" DATA_TYPE_STR rA[MICRO_TILE_NUM_ROWS];" + endLine +
" DATA_TYPE_STR rB[MICRO_TILE_NUM_COLS];" + endLine )

Expand Down

0 comments on commit a1aaa65

Please sign in to comment.