【24h】

SEAMLESS MULTICORE PARALLELISM IN MATLAB

机译:MATLAB中的无缝多核并行

获取原文
获取原文并翻译 | 示例

摘要

MATLAB is a popular mathematical framework composed of a built-in library implementing a significant set of commonly needed routines. It also provides a language which allows the user to script macro calculations or to write complete programs, hence called "the language of technical computing". So far, a noticeable effort is maintained in order to keep MATLAB being able to cooperate with other standard programming languages or tools. However, this interoperability, which is essential in many circumstances including performance and portability, is not always easy to implement for ordinary scientists. The case of parallel computing is illustrative and needs to be addressed as mul-ticore machines are now standard. In this work, we report our efforts to provide a framework that allow to intuitively express and launch parallel executions within a classical MATLAB code. We study two alternatives, one which is a pure MATLAB solution based on the MATLAB parallel computing toolbox, and another one which implies a sym-metric cooperation between MATLAB and C, based on the Pthread library. The later solution does not requires the MATLAB parallel toolbox, thus clearly brings a portability benefit and makes the move to parallel computing within MATLAB less costly to standard users. Experimental results are provided and commented in order to illustrate the use and the efficiency of our solution.
机译:MATLAB是一种流行的数学框架,由内置的库组成,该库实现了大量常用的例程。它还提供了一种语言,该语言允许用户编写宏计算脚本或编写完整的程序,因此被称为“技术计算语言”。到目前为止,为了使MATLAB能够与其他标准编程语言或工具配合而付出了巨大的努力。但是,这种互操作性在许多情况下(包括性能和可移植性)在许多情况下都是必不可少的,但对于普通科学家而言并不总是容易实现的。并行计算的情况是说明性的,由于多机现在已成为标准,因此需要解决。在这项工作中,我们报告了我们的努力,以提供一个框架来允许直观地表达和启动经典MATLAB代码中的并行执行。我们研究了两种选择,一种是基于MATLAB并行计算工具箱的纯MATLAB解决方案,另一种意味着基于Pthread库的MATLAB与C之间的对称合作。后面的解决方案不需要MATLAB并行工具箱,因此显然带来了可移植性,并使标准用户在MATLAB内进行并行计算的成本降低了。提供了实验结果并进行了评论,以说明我们解决方案的使用和效率。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号