Segmentation Fault using cblas_sgemm

118 views
Skip to first unread message

liumil...@gmail.com

unread,
Oct 17, 2015, 1:31:09 AM10/17/15
to OpenBLAS-users
In my multiple-thread code,I just call cblas_sgemm fucntion to calculate the output value.When it will core dump sometimes,It report 0x000000000065049f in sgemm_incopy.How can I solve it this issue?Is it thread-safe this function.I am afraid there is some bug using in multiple thread.Who has met the same issue?



Zhang Xianyi

unread,
Oct 17, 2015, 11:49:15 AM10/17/15
to liumil...@gmail.com, OpenBLAS-users
How does you build the library?

Xianyi

2015-10-17 0:31 GMT-05:00 <liumil...@gmail.com>:
In my multiple-thread code,I just call cblas_sgemm fucntion to calculate the output value.When it will core dump sometimes,It report 0x000000000065049f in sgemm_incopy.How can I solve it this issue?Is it thread-safe this function.I am afraid there is some bug using in multiple thread.Who has met the same issue?



--
You received this message because you are subscribed to the Google Groups "OpenBLAS-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openblas-user...@googlegroups.com.
To post to this group, send email to openbla...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

liumil...@gmail.com

unread,
Oct 18, 2015, 5:24:58 AM10/18/15
to OpenBLAS-users, liumil...@gmail.com
I think I fixed this bug.I read the issues yesterday.Now I build it with USE_THREAD=0.And no cores.But I still has one question,is it slower when call cblas_sgemm function if build with USE_THREAD=0?
And it is correct when I build it with USE_THREAD using in multiple-thread code,isn't is ?

在 2015年10月17日星期六 UTC+8下午11:49:15,Zhang Xianyi写道:
Reply all
Reply to author
Forward
0 new messages