New in Wolfram
Mathematica
8: CUDA and OpenCL Support
◄
previous
|
next
►
Software Development
Integration with Built-in
Mathematica
Functions
Since CUDA functions can be used from within
Mathematica
, the
Mathematica
language helps to ease development and deployment.
In[1]:=
X
Needs["CUDALink`"] ListLinePlot[ Thread[List[CUDAFoldList[Plus, 0, RandomReal[{-1, 1}, 10000]], CUDAFoldList[Plus, 0, RandomReal[{-1, 1}, 10000]]]], ColorFunction -> "Rainbow"]
Out[1]=