Forge Home

cuda

Puppet module to manage Nvidia's CUDA installation and configuration

8,841 downloads

8,841 latest version

3.1 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.1.0 (latest)
released May 16th 2015
This version is compatible with:

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'wilrnh-cuda', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add wilrnh-cuda
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install wilrnh-cuda --version 0.1.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

wilrnh/cuda — version 0.1.0 May 16th 2015

cuda

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with cuda
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

Overview

Puppet module to manage Nvidia's CUDA installation and configuration.

Module Description

The Compute Unified Device Architecture (CUDA) enables NVIDIA graphics processing units (GPUs) to be used for massively parallel general purpose computation.

This module manages CUDA's installation and configuration, including toolkits, runtime libraries, and drivers.

NOTE This module does NOT manage the CUDA package repositories. You many need to set this up before using this module to make the required packages available.

NOTE This module reboots your system.

Setup

What cuda affects

  • Linux kernel modification - reboots your system
  • Nvidia's GPU driver installation and configuration
  • CUDA toolkit installation
  • CUDA runtime libraries
  • Nvidia's OpenCL implementation and ICD

Beginning with cuda

To get started using CUDA with default configurations, simply include the module in your manifest:

include ::cuda

Usage

Reference

Public Classes

cuda: Accepts and validates parameters; initializes module and manages both the CUDA toolkits and runtime libraries and drivers.

Private Classes

cuda::toolkit: Manages the CUDA toolkit installation and configuration.

cuda::runtime: Manages the CUDA runtime libraries and drivers installation and configuration.

Parameters

::cuda

ensure: Whether to install or remove CUDA from the system. Can be present or absent. Defaults to present.

release: The CUDA release to manage. Defaults to '7-0'.

version: The version of the CUDA release to manage. Default's to latest.

Limitations

This module currenly only supports Ubuntu Trusty.

Development

Pull requests are always awesome.