Skip to content
This repository has been archived by the owner on Feb 9, 2020. It is now read-only.
/ docker-action Public archive

Docker-based GitHub Action for Rust with CUDA

Notifications You must be signed in to change notification settings

rust-accel/docker-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-cuda docker action

Runs cargo test on CUDA installed systems WITHOUT GPU. This action is suitable for

  • PTX validation (using nvcc)
  • CUDA API testing on host-side

Supported platforms

CUDA Ubuntu 18.04 Ubuntu 16.04 RedHat UBI8 RedHat UBI7 CentOS 7 CentOS 6
10.2 ✔️ ✔️ ✔️ ✔️
10.1 ✔️ ✔️ ✔️ ✔️
10.0 ✔️ ✔️ - - ✔️ ✔️
9.2 ✔️ ✔️ - - ✔️ ✔️
9.1 - ✔️ - - ✔️ ✔️
9.0 - ✔️ - - ✔️ ✔️
8.0 - ✔️ - - ✔️ ✔️

Usage

For exmaple the following YAML add a test on Ubuntu 18.04 with CUDA 10.2

on: [push]

jobs:
  ubuntu1804-cuda10_2:
    runs-on: ubuntu-latest
    name: cargo test on ubuntu18.04 with CUDA 10.2
    steps:
    - uses: actions/checkout@v1
    - name: cargo test
      id: test
      uses: termoshtt/rust-cuda-docker-action@v1.0/ubuntu1804-cuda10_2
      with:
        path: rust-cuda-test
    - name: show versions
      run: |
        echo "rustc-version = ${{ steps.test.outputs.rustc-version }}"
        echo "nvcc-version  = ${{ steps.test.outputs.nvcc-version }}"

Inputs

  • with.path
    • Path to crate directory
    • optional, default = $PWD

Outputs

  • rustc-version
    • Output of rustc --version
  • nvcc-version
    • Output of nvcc --version

About

Docker-based GitHub Action for Rust with CUDA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published