Skip to content

Welcome to MkDocs

For full documentation visit mkdocs.org.

Commands

  • mkdocs new [dir-name] - Create a new project.
  • mkdocs serve - Start the live-reloading docs server.
  • mkdocs build - Build the documentation site.
  • mkdocs -h - Print help message and exit.

Project layout

mkdocs.yml    # The configuration file.
docs/
    index.md  # The documentation homepage.
    ...       # Other markdown pages, images and other files.
for (int dev_id=0; dev_id<num_devices; dev_id++)
{
    cudaSetDevice(dev_id);
    int canAccessPeer=0;
    cudaDeviceCanAccessPeer(&canAccessPeer,dev_id,rank );
    if(canAccessPeer)
        cudaDeviceEnablePeerAccess(rank,0);
}