开发者

GPU programming in Mathematica

开发者 https://www.devze.com 2023-03-15 10:06 出处:网络
I have an ATI graphics card in my laptop running Ubuntu 10.10. I installed the OpenCL library and tried to run programs in the GPU through Mathematica.

I have an ATI graphics card in my laptop running Ubuntu 10.10. I installed the OpenCL library and tried to run programs in the GPU through Mathematica.

I imported the package "OpenCLLink" and checked OpenCLQ[] and it returned True but when I run the example from the introduction in Mathematica it doesn't work. All the program is supposed to do is double a vector. For example, with doubleFun[{1,2,3},3] the output should be {2,4,6}, but in my case the output is still the same: {1,2,3}.

What might be the cause of this problem? Is i开发者_如何学Pythont a configuration issue or something else?

0

精彩评论

暂无评论...
验证码 换一张
取 消