我要评分
获取效率
正确性
完整性
易理解

Compilation and Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Go to the source code directory.
    cd /path/to/thrust/thrust
  3. Create a build directory and go to it.
    mkdir build
    cd build
  4. Perform the compilation and installation.
    cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/thrust
    make -j 64
    make -j install