使用 flash 3d api 进行快速算术?

发布于 2024-11-11 16:48:50 字数 176 浏览 4 评论 0原文

一些计算密集型软件现在使用 GPU 来解决数学问题。现在闪存有了 GPU 支持,是否可以使用闪存来解决数学问题?该怎么办呢。

换句话说,闪存是否公开了足够的低级 API 来充分控制 GPU 的行为来执行此类任务?

问题示例;查找具有以下哈希值的消息:2987432847298374298374982374

Some computationally intensive software are now using the GPU to solve mathematical problems. Now that flash has GPU support, is it possible to use flash to crunch math problems? How would it be done.

In other words, does flash expose sufficient low level API to control the behavior of the GPU sufficiently to perform such a task?

Example of problems; Find a message with the following hash: 2987432847298374298374982374

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

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

发布评论

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

评论(2

倾听心声的旋律 2024-11-18 16:48:50

Yes, since you can provide textures for random access input (if they provide constant buffers that would be nicer) and render to BitmapData for output, which are the minimum operations you need for GPGPU.没有太多关于 API 或 AGAL 指令集的完整程度的信息 - 我还没有看到任何整数寄存器或按位操作的示例,这对于您的示例问题非常有用,因此潜在的性能可能比DirectX 或 OpenGL 实现可以实现,但它仍然比 ActionScript 好得多!

不过,我应该指出,这将是老式 GPGPU,这比目前使用新的 OpenCL 和 DirectCompute API 更难。

Yes, since you can provide textures for random access input (if they provide constant buffers that would be nicer) and render to BitmapData for output, which are the minimum operations you need for GPGPU. There's not too much information on how complete the API, or AGAL's instruction set, is - I haven't seen any examples of integer registers or bitwise operations which would be incredibly useful for your example problem, so the potential performance might be far worse than a DirectX or OpenGL implementation could get, but it should still be far better than ActionScript!

I should note, however, that this would be old-school GPGPU, which is even harder to do than it currently is with the new OpenCL and DirectCompute APIs.

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