DirectCompute 真的可以在 DX10.1 GPU 上使用吗?

发布于 2024-09-11 05:38:12 字数 481 浏览 0 评论 0原文

在 DX10.1 GPU 上使用 DirectCompute 是否有任何限制?我将在 DX11 台式机上进行大部分开发,但我想在 DX10.1 笔记本电脑上演示代码。它将是一台在 Bootcamp 中运行 Win7 的 Macbook Pro。 GPU 是 Nvidia 330M。我会受到哪些限制?

编辑:我找到了一个关于 在 DX10 上使用计算着色器,但我并不完全清楚这些是否是严重的限制。

编辑 2:我的目标是了解一些有关定量金融和解决偏微分方程的知识。

Are there any limitations with using DirectCompute on DX10.1 GPUs? I will do most of my development on a DX11 desktop, but I'd like to demo code on a DX10.1 laptop. It'll be a Macbook Pro running Win7 in Bootcamp. The GPU is an Nvidia 330M. What limitations can I expect?

Edit: I found a page about using Compute Shaders on DX10, but it's not entirely clear to me if these are serious limitations or not.

Edit 2: My goal is to learn a bit about quantitative finance and solving PDEs.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

不醒的梦 2024-09-18 05:38:12

坦率地说,我认为 CS 4.x 相当有限,因为缺乏原子、双精度、访问组共享内存的限制以及 16KB 的限制。并且您只能拥有一架可以绑定的无人机。

我相信大多数 DirectCompute 开发人员都会在游戏等中使用 CS 4.x 进行后处理(可能同时使用 CS 4.x 和 CS 5.0 代码路径)。想要完成繁重 GPGPU 工作的人将学习 CS 4.x,然后再转向 CS 5.0。

现在您说您不了解 CS 4.x 的限制。我建议使用 CS 4.x 并暂时坚持使用。

但实际上,这一切都取决于您正在开发什么、如何开发以及您的目标受众(专业开发人员与业余编码员、现在发布应用程序与两年后发布应用程序、主流受众与专业市场等)。

Frankly I think CS 4.x is rather limitating because of the lack of atomics, double precision, restrictions for accessing groupshared memory, as well as the 16KB limit. Also you can have only one UAV that can be bound.

I believe most of DirectCompute developers will use CS 4.x for post-processing in games or so (probably with both CS 4.x and CS 5.0 code path). People that want to do heavy GPGPU work will learn with CS 4.x then later move on CS 5.0.

Now you're saying you haven't a clue of the CS 4.x limitations. I suggest to go with CS 4.x and stick to it for now.

But really it all depends what you are developing, how and your target audience (professional developer vs hobby coder, shipping your application now vs in two years, mainstream audience vs pro market etc).

夏日浅笑〃 2024-09-18 05:38:12

我无法告诉您这些限制是否严重,因为 1)这取决于您想要实现的目标,2)我只是对计算着色器了解不够。

但是,您可以运行 DirectX Caps Viewer 来查看您的设备将支持哪些功能(或者您可以预期哪些限制)。另外,据我所知,除了您发布的链接中突出显示的限制之外,您将只能使用 CS 4.0,而不能使用 CS 5.0 中的新功能。

I can't tell you if the limitations are serious or not, as 1) it depends on what you're trying to achieve, and 2) I simply don't know enough about the compute shader.

However, you can run the DirectX Caps Viewer to see what features your device will support (or what limitations you can expect). Also, AFAIK other than the limitations highlighted in the link you posted, you will only be able to use CS 4.0, not the new features in CS 5.0.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文