clMathLibraries / clBLAS

a software library containing BLAS functions written in OpenCL
Apache License 2.0
839 stars 240 forks source link

AutoGemm kernels sometimes produce nans when beta is 0, C is not initialized #201

Closed pavanky closed 8 years ago

pavanky commented 8 years ago

The code to reproduce the problem can be seen here:

https://gist.github.com/shehzan10/df2a318d309776a2200d

TimmyLiu commented 8 years ago

@pavanky Is this a cgemm only issue? When merging PR #199 I built the code with python 2.7 on hawaii and fiji on both windows and linux and did not see any test fails.

pavanky commented 8 years ago

@TimmyLiu This is only a We have only noticed the problem with cgemm and zgemm.

TimmyLiu commented 8 years ago

@pavanky can we close this issue with pr #202 being merged?

pavanky commented 8 years ago

Oops, I thought it'd be closed automatically.