#4412: Produce CUDA code
-----------------------------+----------------------------------------------
 Reporter:  victorusu        |          Owner:                  
     Type:  feature request  |         Status:  closed          
 Priority:  normal           |      Component:  Compiler        
  Version:                   |     Resolution:  invalid         
 Keywords:  CUDA, parallel   |       Testcase:                  
Blockedby:                   |             Os:  Unknown/Multiple
 Blocking:                   |   Architecture:  Unknown/Multiple
  Failure:  None/Unknown     |  
-----------------------------+----------------------------------------------
Changes (by chak):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 Unfortunately, compiling Haskell to CUDA is impossible as GPUs do not
 support recursive functions and general function pointers.  You may want
 to have a look at the following paper to see how a ''very restricted
 subset'' of Haskell can be compiled to CUDA:

   http://www.cse.unsw.edu.au/~chak/papers/acc-cuda.pdf

 The library is available on Hackage if you want to try for yourself.  (No
 extension to GHC is required as it is an embedded language in a library.)

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4412#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to