首页> 外文期刊>Computing in science & engineering >Portable Parallel Programs with Python and OpenCL
【24h】

Portable Parallel Programs with Python and OpenCL

机译:使用Python和OpenCL的可移植并行程序

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

摘要

Two Python modules are presented: pyOpenCL, a library that enables programmers to write Open Common Language (OpenCL) code within Python programs; and ocl, a Python-to-C converter that lets developers write OpenCL kernels using the Python syntax. Like CUDA, OpenCL is designed to run on multicore GPUs. OpenCL code can also run on other architectures, including ordinary CPUs and mobile devices, always taking advantage of their multicore capabilities. Combining Python, numerical Python (numPy), pyOpenCL, and ocl creates a powerful framework for developing efficient parallel programs that work on modern heterogeneous architectures. Open Common Language (OpenCL) runs on multicore GPUs, as well as other architectures including ordinary CPUs and mobile devices. Combining OpenCL with numerical Python (numPy) and a new module--ocl, a Python-to-C converter that lets developers use Python to write OpenCL kernels--creates a powerful framework for developing efficient parallel programs for modern heterogeneous architectures.
机译:提供了两个Python模块:pyOpenCL,一个使程序员能够在Python程序中编写Open Common Language(OpenCL)代码的库;和ocl,一个Python到C的转换器,允许开发人员使用Python语法编写OpenCL内核。与CUDA一样,OpenCL旨在在多核GPU上运行。 OpenCL代码还可以在其他体系结构上运行,包括普通的CPU和移动设备,始终利用其多核功能。将Python,数值Python(numPy),pyOpenCL和ocl结合使用,可以创建强大的框架来开发可在现代异构体系结构上工作的高效并行程序。开放式公共语言(OpenCL)在多核GPU以及其他架构(包括普通CPU和移动设备)上运行。将OpenCL与数字Python(numPy)和一个新模块ocl相结合,ocl是允许开发人员使用Python编写OpenCL内核的Python到C转换器,创建了一个强大的框架,可为现代异构体系结构开发高效的并行程序。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号