pyCUDA vs C performance differences?

后端 未结 4 1690
天涯浪人
天涯浪人 2021-02-02 13:27

I\'m new to CUDA programming and I was wondering how the performance of pyCUDA is compared to programs implemented in plain C. Will the performance be roughly the same? Are the

4条回答
  •  佛祖请我去吃肉
    2021-02-02 14:19

    If you're wondering about performance differences by using pyCUDA in different ways, see SimpleSpeedTest.py included in the pyCUDA Wiki examples. It benchmarks the same task completed by a CUDA C kernel encapsulated in pyCUDA, and by several abstractions created by pyCUDA's designer. There's a performance difference.

提交回复
热议问题