GPULib, PyStream, PyCUDA, and PyOpenCL. These four packages let you use graphics processing units (GPUs) to
accelerate your code. They don’t provide the kind of drop-in acceleration that a JIT compiler such as Psyco would, but
if you have a powerful GPU, why not use it? Of the projects, PyStream is older, and the efforts of Tech-X Corporation
have shifted to the newer GPULib project. It gives you a high-level interface for various forms of numeric computation
using GPUs. If you want to use GPUs to speed up your code, you might also want to try PyCUDA or PyOpenCL.
Do'stlaringiz bilan baham: |