推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
SlipStupig
V2EX  ›  Python

关于 python 性能加速问题的一些想法

  •  
  •   SlipStupig · Jul 3, 2016 · 3691 views
    This topic created in 3742 days ago, the information mentioned may be changed or developed.
    如果改造 python 的解释器能在 GPU 上执行,那么速度能大幅度提升吗?
    7 replies  •  2016-07-04 18:22:40 +08:00
    slixurd
        1
    slixurd  
       Jul 3, 2016
    说的好像 Python 能用多核一样.....
    powergx
        2
    powergx  
       Jul 3, 2016 via iPhone
    开 1000 个进程 应该能吃满显卡,不过显卡可不是通用计算芯片,你这些指令它看不懂啊
    est
        3
    est  
       Jul 3, 2016
    先说说你对 gpu 计算的理解
    menc
        4
    menc  
       Jul 3, 2016
    浮点运算
    和指令执行
    要区分开
    fcicq
        5
    fcicq  
       Jul 3, 2016
    CPU 是指挥官(但是干不了重活), GPU 每个单元是只会做简单事的民工, 民工多了就不一样了.
    surefire
        6
    surefire  
       Jul 4, 2016   ❤️ 1
    @fcicq 民工多了如果工资不及时到位会引发讨薪上访
    SlipStupig
        7
    SlipStupig  
    OP
       Jul 4, 2016
    @est 我确实对 gpu 运算不理解,我认为是一个更多处理器的 CPU 但是指令级不一致
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   864 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 19:07 · PVG 03:07 · LAX 12:07 · JFK 15:07
    ♥ Do have faith in what you're doing.