#1944: round function causes cblas NaNs
---------------------------+------------------------------------------------
 Reporter:  SevenThunders  |          Owner:         
     Type:  bug            |         Status:  new    
 Priority:  normal         |      Milestone:  6.8.3  
Component:  Compiler       |        Version:  6.8.1  
 Severity:  critical       |     Resolution:         
 Keywords:                 |     Difficulty:  Unknown
 Testcase:                 |   Architecture:  x86    
       Os:  Windows        |  
---------------------------+------------------------------------------------
Comment (by SevenThunders):

 I have tested this bug now with an entirely different cblas, namely the
 acml library distributed by AMD.  Although my simplified test case
 compiles and runs correctly for the acml library, when the library is
 linked against my complex numerical application, NaNs proliferate
 everywhere in ghc 6.8.2.  This happens for both the single and multiple
 threaded cblas code.  Hopefully I won't need to generate a test case for
 the acml library.

 If I compile it with ghc 6.6.1 it works fine.  I'd say this is a pretty
 serious bug and I'm surprised that it hasn't appeared in other
 applications and other bug reports.  I simply would not trust any external
 floating point library that has been linked into ghc 6.8.2.  I've
 replicated the bug now on two different windows machines, one AMD and one
 core duo, and with three different cblas libraries.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1944#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to