是否可以将CPU和GPU计算与ArrayFire混合?
我必须解决一个数学问题,对于不同的时间值可能是密集或稀疏的数学问题。我想将GPU用于第一个和第二个CPU(假设开关不太频繁以使过程效率低下)。
Afaik,Arrayfire可以配置为同时使用CPU和GPU,但这有局限性,例如,我无法定义两种配置中要使用的矩阵。
有没有办法实现这种方法?
可以在CPU和GPU之间共享矩阵,并且一次由其中一个处理?
可以通过CPU和GPU处理两个具有不同特征的矩阵吗?
I have to solve a mathematical problem which can be either dense or sparse for different time values. I would like to use the GPU for the first and the CPU for the second (assuming the switch does not occur too often to make the process inefficient).
AFAIK, ArrayFire can be configured to use both the CPU and the GPU, but this has limitations, e.g. I cannot define a matrix to be used in both configurations.
Is there a way to achieve this approach?
Can a matrix be shared among CPU and GPU, and be processed by one of them at a time?
Can two matrices, with different characteristics, be processed one by the CPU and one by the GPU?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论