Skip to content

Add Lazy alloc flag, set to lazy alloc flag when lazy wrapper #883

Add Lazy alloc flag, set to lazy alloc flag when lazy wrapper

Add Lazy alloc flag, set to lazy alloc flag when lazy wrapper #883

Workflow file for this run

name: GPU
on:
push:
branches: [ '**' ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build-opencl:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- name: Build (OpenCL)
run: cargo build --verbose --no-default-features --features opencl
build-cuda:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- name: Build (CUDA)
run: cargo build --verbose --no-default-features --features cuda
build-both:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- name: Build (CUDA)
run: cargo build --verbose --no-default-features --features cuda,opencl
test-opencl:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- name: Run tests (OpenCL)
run: cargo test --verbose --no-default-features --features opencl
- name: Run tests (OpenCL, realloc)
run: cargo test --verbose --no-default-features --features opencl,realloc
- name: Run tests (OpenCL, opt-cache)
run: cargo test --verbose --no-default-features --features opencl,opt-cache
test-cuda:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- name: Run tests (CUDA)
run: cargo test --verbose --no-default-features --features cuda
- name: Run tests (CUDA, realloc)
run: cargo test --verbose --no-default-features --features cuda,realloc
- name: Run tests (CUDA, opt-cache)
run: cargo test --verbose --no-default-features --features cuda,opt-cache
test-all:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- name: Run tests (CUDA, OpenCL)
run: cargo test --verbose --no-default-features --features cuda,opencl
- name: Run tests (CUDA, OpenCL, opt-cache)
run: cargo test --verbose --no-default-features --features cuda,opencl,opt-cache
- name: Run tests (CUDA, OpenCL, realloc)
run: cargo test --verbose --no-default-features --features cuda,opencl,realloc