Nvidia CUDA& amp; OpenCL的 [英] Differences of Nvidia CUDA & OpenCL

查看:118
本文介绍了Nvidia CUDA& amp; OpenCL的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想区分这两种与其技术方面相关的技术。每种技术的主要差异和用法是什么??优点缺点我们如何使用每个进程通过GPU处理进程?

如何为3D游戏编程实现这些技术?

I want to distinguish of these two technologies relevant to their technological aspects.What are major differences and usage of each one of them?Pros and Cons.How we can handle process through GPU using each one of them?
How those technologies can be implemented for 3D game programming?

推荐答案

基本上,CUDA仅适用于NVIDIA卡,而OpenCL支持所有。理论上。据我所知,OpenCL唯一可用的实现是AMD; NVIDIA还为他们的卡实现了OpenCL,但没有花费太多精力。



CUDA仅比更通用的OpenCL标准更强大。但是,OpenCL在技术上不限于GPU,例如。 G。有一个用于多核ARM CPU的PGI OpenCL编译器(参见 http://en.wikipedia.org/wiki/The_Portland_Group [ ^ ])



我建议您查看两者的维基百科: http://en.wikipedia.org/wiki/OpenCL [ ^ ], http://en.wikipedia.org/wiki/CUDA [ ^ ]



至于在(任何类型)编程中使用它们,我建议你阅读并行编程 - 这是一个太广泛的话题,无法在这里回答。
Basically, CUDA only works for NVIDIA cards, whereas OpenCL supports all. In theory. To my knowledge the only usable implementation for OpenCL is by AMD; NVIDIA also implemented OpenCL for their cards, but didn't put a lot effort into it.

CUDA only is more powerful than the more generalized OpenCL standard. However, OpenCL is technically not limited to GPUs, e. g. there is a PGI OpenCL compiler for multicore ARM CPUs (see http://en.wikipedia.org/wiki/The_Portland_Group[^])

I suggest you check wikipedia on both: http://en.wikipedia.org/wiki/OpenCL[^] , http://en.wikipedia.org/wiki/CUDA[^]

As to using them in (any kind of) programming, I suggest you read up on parallel programming - that is a way too extensive topic to be answered here.


这篇关于Nvidia CUDA& amp; OpenCL的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆