• 2025-11

    Ubuntu24.04系统安装CUDA后找不到nvcc的解决方案

    按照Nvidia官网的指南安装了最新版本的cuda13的过程如下:

    wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64/cuda-ubuntu2404.pin
    sudo mv cuda-ubuntu2404.pin /etc/apt/preferences.d/cuda-repository-pin-600
    wget https://developer.download.nvidia.com/compute/cuda/13.0.2/local_installers/cuda-repo-ubuntu2404-13-0-local_13.0.2-580.95.05-1_amd64.deb
    sudo dpkg -i cuda-repo-ubuntu2404-13-0-local_13.0.2-580.95 …
  • 2019-01
  • 2016-10

    MacOS PyCUDA Python Pyenv

    Mac系统下使用Pyenv管理Python多版本,并且给各个版本安装PyCUDA

    本文是针对PyCUDA的新手用户。此处特点是使用了Pyenv构建了多个工作环境,并且指导如何在各个不同的Python环境中安装PyCUDA。

    安装Git和Pyenv

    下载PyCUDA代码需要用Git,管理多版本 …

  • Install PyCUDA to Python managed by Pyenv under MacOS

    Install PyCUDA to Python managed by Pyenv under MacOS

    This post is a guide for newbie users of PyCUDA. We use Pyenv here and that means we can build different versions of working environments.

    Install Git and Pyenv

    In order to download the PyCUDA code, we need to install Git …

  • PyCUDA Tutorial 中文版

    PyCUDA Tutorial 英文原文

    CycleUser 翻译

    开始使用

    在你使用PyCuda之前,要先用import命令来导入并初始化一下。

    import pycuda.driver as cuda
    import pycuda.autoinit
    from pycuda.compiler import SourceModule
    

    这里要注意,你并不是必须使用pycuda.autoinit …

  • Use CUDA 8.0 with macOS Sierra (10.12)

    NOTICE 注意

    The latest version of CUDA8.63 is now working well with macOS Sierra 10.12.3, and there is no need to bother~

    最新版本的CUDA8.63早已经和渣果Sierra10.12.3磨合的不错了,完全能够正常工作不用折腾了。

    IGNORE THESE …