File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CUDA compile
2+
3+ on :
4+ push :
5+ branches : [main]
6+ paths :
7+ - " .github/workflows/cuda-compile.yml"
8+ - " CMakeLists.txt"
9+ - " cmake/**"
10+ - " include/**"
11+ - " src/**"
12+ - " benchmarks/**"
13+ - " tests/**"
14+ pull_request :
15+ paths :
16+ - " .github/workflows/cuda-compile.yml"
17+ - " CMakeLists.txt"
18+ - " cmake/**"
19+ - " include/**"
20+ - " src/**"
21+ - " benchmarks/**"
22+ - " tests/**"
23+ workflow_dispatch :
24+
25+ permissions :
26+ contents : read
27+
28+ jobs :
29+ sm100a-compile :
30+ runs-on : ubuntu-24.04
31+ container :
32+ image : nvidia/cuda:13.0.1-devel-ubuntu24.04
33+ timeout-minutes : 45
34+
35+ steps :
36+ - name : Install build tools
37+ env :
38+ DEBIAN_FRONTEND : noninteractive
39+ run : |
40+ apt-get update
41+ apt-get install --yes --no-install-recommends \
42+ build-essential cmake ca-certificates git
43+
44+ - name : Check out repository
45+ uses : actions/checkout@v4
46+
47+ - name : Show toolchain
48+ run : |
49+ cmake --version
50+ nvcc --version
51+ g++ --version
52+
53+ - name : Configure SM100a targets
54+ run : |
55+ cmake -S . -B build-sm100-ci -G "Unix Makefiles" \
56+ -DCMAKE_BUILD_TYPE=Release \
57+ -DBLACKWELL_MOE_ENABLE_CUDA=ON \
58+ -DBLACKWELL_MOE_ENABLE_SM100_NATIVE=ON \
59+ -DBLACKWELL_MOE_CUDA_ARCHITECTURES=100 \
60+ -DBLACKWELL_MOE_BUILD_TESTS=ON
61+
62+ - name : Compile all CPU and CUDA targets
63+ run : cmake --build build-sm100-ci --parallel 2
64+
65+ - name : Run CPU-only tests
66+ run : |
67+ ./build-sm100-ci/test_workload
68+ ./build-sm100-ci/test_scheduler
You can’t perform that action at this time.
0 commit comments