Skip to content

Commit

Permalink
Add workflow to run cuda unit tests (#103)
Browse files Browse the repository at this point in the history
Add a new workflow to build Cutlass for SM90a using cuda and run the unit tests
  • Loading branch information
aacostadiaz authored Aug 2, 2024
1 parent f107968 commit e47bde8
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/cuda_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: "Cuda Test"

on:
push:
branches: [ "sycl-develop" ]
pull_request:
branches: [ "sycl-develop" ]
workflow_dispatch:

permissions: {}

jobs:
run-tests:
name: Run cuda tests
runs-on: cp-nvidia-gpu
timeout-minutes: 120

steps:
- name: Checkout repository
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6

- name: Build
shell: bash
run: |
nvidia-smi
export CUDACXX=/usr/local/cuda/bin/nvcc
cmake -G Ninja -DCUTLASS_NVCC_ARCHS="90a"
cmake --build .
- name: Unit test
shell: bash
run: |
cmake --build . --target test_unit -j

0 comments on commit e47bde8

Please sign in to comment.