NVIDIA CUDA
PyCUDA
Caffe
leven87
V2EX  ›  CUDA

如果实现 openmpi 和 cuda 编程的结合

  •  
  •   leven87 · Mar 3, 2022 · 4474 views
    This topic created in 1545 days ago, the information mentioned may be changed or developed.

    各位 V 友好,我刚接触 cuda 编程。现在可以实现利用单 cpu 和 gpu 来加速运算。 现在需要实现多 cpu 和 gpu 来进一步加速运算, 看网上例子,需要用到 openmpi, 还要开启它的 cuda 支持。 请问: 这条道路是否正确? 还有哪些需要注意的地方,cuda 代码的修改,或者配置啥的?

    2 replies    2023-05-03 13:41:57 +08:00
    ClarkeDLH
        1
    ClarkeDLH  
       Apr 28, 2023
    的确,需要开启 CUDA aware
    alqaz
        2
    alqaz  
       May 3, 2023
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5351 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 08:59 · PVG 16:59 · LAX 01:59 · JFK 04:59
    ♥ Do have faith in what you're doing.