埃博拉酱 的 并行计算 Parallel Computing 工具箱

埃博拉酱的并行计算工具箱,提供一系列实用的并行计算辅助功能: 自动删除长时间卡死的并行池 为无法一次性全部读入内存的大文件,提供单线程读写、多线程计算的解决方案 替官方修复MATLAB在含有非ASCII字符的主机名的主机上不能启动并行池的bug 将指定的GPU分配到并行进程 ……
136 Downloads
Updated 6 Apr 2024

埃博拉酱的并行计算工具箱,提供一系列实用的并行计算辅助功能。依赖埃博拉酱的MATLAB扩展

View 埃博拉酱 的 并行计算 工具箱 Parallel Computing on File Exchange

目录

本包中所有函数均在ParallelComputing命名空间下,使用前需import。

import ParallelComputing.*

安装工具箱后可查看快速入门文档,可查看代码示例。每个代码文件内都有详细文档,此处只列举公开接口简介。详情可用doc命令查询。

classdef BlockRWStream
	%为无法一次性全部读入内存的大文件,提供单线程读写、多线程计算的解决方案
end
classdef(Abstract)IBlockRWer
	%为BlockRWStream所调用的读写器必须实现的抽象接口类
end
classdef PoolWatchDog
	%并行池看门狗,可以自动删除长时间卡死的并行池
end
classdef RemoteFunctionHandle
	%远程调用句柄。无论在哪个线程上调用,都会在创建对象的线程上执行
end

函数

%将指定的GPU分配到并行进程
function AssignGPUsToWorkers(UseGpu)
%修复含有非ASCII字符的主机名的主机不能启动并行池的问题
function NonAsciiHostnameParpoolFix(RestartMatlab)
%内置parpool函数的增强版,可选保留当前配置不变
function Pool = ParPool(varargin)

Cite As

埃博拉酱 (2024). 埃博拉酱 的 并行计算 Parallel Computing 工具箱 (https://github.com/Silver-Fang/Parallel-Computing/releases/tag/v8.1.0), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2024a
Compatible with R2022b and later releases
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

+ParallelComputing

+ParallelComputing/+internal

+ParallelComputing/@BlockRWStream

Version Published Release Notes
8.1.0

See release notes for this release on GitHub: https://github.com/Silver-Fang/Parallel-Computing/releases/tag/v8.1.0

8.0.2

See release notes for this release on GitHub: https://github.com/Silver-Fang/Parallel-Computing/releases/tag/v8.0.2

8.0.1

See release notes for this release on GitHub: https://github.com/Silver-Fang/Parallel-Computing/releases/tag/v8.0.1

8.0.0

See release notes for this release on GitHub: https://github.com/Silver-Fang/Parallel-Computing/releases/tag/v8.0.0

7.1.2

See release notes for this release on GitHub: https://github.com/Silver-Fang/Parallel-Computing/releases/tag/v7.1.2

7.1.1.0

See release notes for this release on GitHub: https://github.com/Silver-Fang/Parallel-Computing/releases/tag/v7.1.1

7.1.0.0

See release notes for this release on GitHub: https://github.com/Silver-Fang/Parallel-Computing/releases/tag/v7.1.0

7.0.4.0

See release notes for this release on GitHub: https://github.com/Silver-Fang/Parallel-Computing/releases/tag/v7.0.4

7.0.3.0

See release notes for this release on GitHub: https://github.com/Silver-Fang/Parallel-Computing/releases/tag/v7.0.3

7.0.2.0

See release notes for this release on GitHub: https://github.com/Silver-Fang/Parallel-Computing/releases/tag/v7.0.2

7.0.1.0

See release notes for this release on GitHub: https://github.com/Silver-Fang/Parallel-Computing/releases/tag/v7.0.1

7.0.0.0

See release notes for this release on GitHub: https://github.com/Silver-Fang/Parallel-Computing/releases/tag/v7.0.0

6.0.1.0

See release notes for this release on GitHub: https://github.com/Silver-Fang/Parallel-Computing/releases/tag/v6.0.1

6.0.0

See release notes for this release on GitHub: https://github.com/Silver-Fang/Parallel-Computing/releases/tag/v6.0.0

5.0.0

See release notes for this release on GitHub: https://github.com/Silver-Fang/Parallel-Computing/releases/tag/v5.0.0

4.0.0

See release notes for this release on GitHub: https://github.com/Silver-Fang/Parallel-Computing/releases/tag/v4.0.0

3.1.1

See release notes for this release on GitHub: https://github.com/Silver-Fang/Parallel-Computing/releases/tag/v3.1.1

3.1.0

See release notes for this release on GitHub: https://github.com/Silver-Fang/Parallel-Computing/releases/tag/v3.1.0

3.0.0

See release notes for this release on GitHub: https://github.com/Silver-Fang/Parallel-Computing/releases/tag/v3.0.0

2.1.3

See release notes for this release on GitHub: https://github.com/Silver-Fang/Parallel-Computing/releases/tag/v2.1.3

2.1.2

See release notes for this release on GitHub: https://github.com/Silver-Fang/Parallel-Computing/releases/tag/v2.1.2

2.1.1

See release notes for this release on GitHub: https://github.com/Silver-Fang/Parallel-Computing/releases/tag/v2.1.1

2.1.0

See release notes for this release on GitHub: https://github.com/Silver-Fang/Parallel-Computing/releases/tag/v2.1.0

2.0.0

See release notes for this release on GitHub: https://github.com/Silver-Fang/Parallel-Computing/releases/tag/v2.0.0

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.