Updating CMake infrastructure to use upstream CMakeLists #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GPU Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
container: nvidia/cuda:12.2.2-devel-ubuntu22.04 | |
steps: | |
- name: Get the version info for NVCC | |
run: nvcc --version | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
fetch-depth: 0 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- name: Install Python dependencies | |
run: python -m pip install -U pip | |
- name: Compile the extension | |
run: python -m pip install -v . | |
- name: Check that the GPU extension was built | |
run: python -c "import jax_finufft.jax_finufft_gpu" |