1.2 LLVMĮxecuting an Accelerate program differs from that of regular Haskell programs. Instructions for installing via the Homebrew or MacPorts package managers are also available on that page. The minimal binary distribution contains GHC-8.0 plus build tools such as cabal, and is the generally recommended option over the full install (which additionally includes some pre-installed libraries). Setup Haskell & LLVMĭownload and install GHC. To get started you will need to set up a Haskell environment as well as a few external libraries. A program written in Accelerate is actually a Haskell program that generates, optimises, and compiles code for the GPU or CPU on-the-fly at program runtime. This means that when you write programs with Accelerate, you are writing a Haskell program using operations from the Accelerate library, but the method by which the program runs is different from a conventional Haskell program. More specifically, it is a deeply embedded language. Accelerate is a language for data-parallel array computations embedded within the programming language Haskell.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |