任何关于并行架构设计模式的好资源? [英] Any good resources on design patterns for parallel architectures?

查看:29
本文介绍了任何关于并行架构设计模式的好资源?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一点背景:

我开始使用 GPGPU (OpenCL),我使用的是 Java 包装器 (jogamp.jocl) 希望它能为我提供一种抽象低级细节并在更高级别使用标准 OOP 的方法.我已经从各种 Hello World 示例中看到,我必须自己管理队列.

I am getting started with GPGPU (OpenCL), I am using a java wrapper (jogamp.jocl) hoping that it will provide me with a way to abstract the low level nitty gritty and use standard OOP at higher levels. I can see already from the various Hello World examples that I'll have to manage the queues myself.

我的问题:

是否有任何已知的 GPGPU 模式或关于一般大规模并行架构的设计模式的良好资源(如书中)?

我的重点是生物模拟,但真的不应该有什么不同.

My focus is on biological simulations, but really shouldn't make a difference.

推荐答案

我想说类似的模式适用于分布式计算的更高级别抽象.不需要并发模式,但所有这些都有助于将任务拆分为并行和独立执行.例如映射/减少.CLCommandQueue 将像工作线程一样使用.它基本上只是一个抽象设备(硬件)的接口.

i would say that similar patterns apply as for distributed computing for higher level abstractions. Not necessary the concurrency patters but all which help splitting tasks for parallel and independent execution. For example map/reduce. A CLCommandQueue would be used like a worker thread. Its basically just an interface to a abstract device (piece of hardware).

这篇关于任何关于并行架构设计模式的好资源?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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