Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ steps:
if: build.branch != "main"
command: buildkite-agent pipeline upload .buildkite/x86-cpu-debug-tests.yml

# Main-branch publish: build → on-hardware ctest → push to higherordermethods/self
# on Docker Hub. Covers MI210 (gfx90a), V100 (sm70), and x86 CPU. B200/B300
# (sm100) is published from GitHub Actions because we have no Blackwell agent.
- label: ":pipeline: Release & Publish"
if: build.branch == "main"
command: buildkite-agent pipeline upload .buildkite/release-and-publish.yml
# Main-branch release images (MI210/gfx90a, V100/sm70, x86 CPU, and the
# Blackwell sm100/sm103 targets) are built and pushed from GitHub Actions
# (.github/workflows/docker-publish.yml). Buildkite only runs the on-hardware
# GPU coverage tests on pull-request branches above.
152 changes: 0 additions & 152 deletions .buildkite/release-and-publish.yml

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@ jobs:
fail-fast: false
matrix:
include:
- variant: x86-cuda124-sm70
context: docker/x86_sm70
selfish_image: higherordermethods/selfish:latest-x86-cuda124-sm70
tag_suffix: x86-cuda124-sm70
double_precision: "ON"
- variant: x86-cuda124-sm70-sp
context: docker/x86_sm70
selfish_image: higherordermethods/selfish:latest-x86-cuda124-sm70
tag_suffix: x86-cuda124-sm70-sp
double_precision: "OFF"
- variant: x86-cuda130-sm100
context: docker/x86_sm100
selfish_image: higherordermethods/selfish:latest-x86-cuda130-sm100
Expand Down Expand Up @@ -66,6 +76,16 @@ jobs:
selfish_image: higherordermethods/selfish:latest-x86-rocm643-gfx942
tag_suffix: x86-rocm643-gfx942-sp
double_precision: "OFF"
- variant: x86
context: docker/x86
selfish_image: higherordermethods/selfish:latest-x86-none
tag_suffix: x86
double_precision: "ON"
- variant: x86-sp
context: docker/x86
selfish_image: higherordermethods/selfish:latest-x86-none
tag_suffix: x86-sp
double_precision: "OFF"

steps:
- name: Checkout repository
Expand Down
7 changes: 6 additions & 1 deletion docker/x86/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
ARG SELFISH_IMAGE=higherordermethods/selfish:latest-x86
ARG SELFISH_IMAGE=higherordermethods/selfish:latest-x86-none
FROM ${SELFISH_IMAGE}

ARG SELFISH_SHA=""
LABEL org.opencontainers.image.base.name="${SELFISH_IMAGE}"
LABEL org.opencontainers.image.base.digest="${SELFISH_SHA}"

# Floating-point precision of the build. ON -> double precision (default),
# OFF -> single precision. Maps to the SELF_ENABLE_DOUBLE_PRECISION CMake option.
ARG SELF_DOUBLE_PRECISION=ON

COPY . /opt/self/src

RUN source /opt/spack-environment/activate.sh && \
Expand All @@ -15,6 +19,7 @@ RUN source /opt/spack-environment/activate.sh && \
-DCMAKE_BUILD_TYPE=Release \
-DSELF_ENABLE_GPU=OFF \
-DSELF_ENABLE_TESTING=ON \
-DSELF_ENABLE_DOUBLE_PRECISION=${SELF_DOUBLE_PRECISION} \
-DSELF_ENABLE_EXAMPLES=ON \
/opt/self/src && \
make -j$(nproc) && \
Expand Down
5 changes: 5 additions & 0 deletions docker/x86_sm70/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ ARG SELFISH_SHA=""
LABEL org.opencontainers.image.base.name="${SELFISH_IMAGE}"
LABEL org.opencontainers.image.base.digest="${SELFISH_SHA}"

# Floating-point precision of the build. ON -> double precision (default),
# OFF -> single precision. Maps to the SELF_ENABLE_DOUBLE_PRECISION CMake option.
ARG SELF_DOUBLE_PRECISION=ON

COPY . /opt/self/src

RUN source /opt/spack-environment/activate.sh && \
Expand All @@ -16,6 +20,7 @@ RUN source /opt/spack-environment/activate.sh && \
-DSELF_ENABLE_GPU=ON \
-DSELF_GPU_BACKEND=CUDA \
-DSELF_ENABLE_TESTING=ON \
-DSELF_ENABLE_DOUBLE_PRECISION=${SELF_DOUBLE_PRECISION} \
-DCMAKE_CUDA_ARCHITECTURES="70" \
-DSELF_ENABLE_EXAMPLES=ON \
/opt/self/src && \
Expand Down
Loading