Apple GPU 计算
GPU 计算已广泛应用于众多领域,涵盖从科学计算和机器学习到游戏开发等诸多方面. GPU 提供了一个并行处理模型,不仅能显著提升计算速度,还能高效处理大型数据集,从而实现更快速、更强大的处理能力. 凭借其 GPU 感知的数组框架、高级函数和强大的编译器,Wolfram 语言提供了能充分利用 Apple GPU 性能的前沿功能. 用户可以直接在 GPU 上即时访问和操作数据,并使用高级线性代数、统计和数学函数提高工作效率,而不会影响运算性能.

GPUArray — GPU 可访问的数组
Normal — 转换为普通数组
数组
GPUArrayQ — 测试对象是否是有效的 GPU 阵列
ArrayQ ▪ VectorQ ▪ MatrixQ ▪ ArrayDepth ▪ Dimensions ▪ Length ▪ Part ▪ First ▪ Last ▪ ByteCount
离散傅里叶分析 »
Fourier — 求离散傅里叶变换
InverseFourier — 求离散傅里叶逆变换
随机数生成 »
SeedRandom — 使用 "GPU" 方法生成伪随机数
RandomInteger ▪ RandomReal ▪ RandomComplex
统计量 »
Mean — 描述统计量
Variance ▪ StandardDeviation ▪ Kurtosis
Sort — 顺序统计量
数学函数 »
Subtract ▪ Divide ▪ Total ▪ Mean
Tan ▪ ArcSin ▪ ArcCos ▪ ArcTan
Log2 ▪ Log10 ▪ Power ▪ Sqrt ▪ CubeRoot
Tanh ▪ ArcSinh ▪ ArcCosh ▪ ArcTanh
可视化 »
ArrayPlot, MatrixPlot — 绘制数组的值
ListPlot — 数据可视化
ListLinePlot ▪ ListDensityPlot ▪ ListContourPlot ▪ ListLogPlot ▪ ListPolarPlot ▪ ParallelAxisPlot ▪ RadialAxisPlot
代码编译与生成 »
FunctionCompileExport — 导出适合 GPU 架构的代码
FunctionCompile ▪ FunctionCompileExportLibrary