Skip to content

Commit 5e88887

Browse files
committed
Cleanup Windows CI investigations
1 parent a168999 commit 5e88887

File tree

2 files changed

+5
-17
lines changed

2 files changed

+5
-17
lines changed

.github/workflows/test.yml

+4-16
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,8 @@ jobs:
3636
fail-fast: false
3737
matrix:
3838
os: [macos-13, ubuntu-22.04, windows-2022]
39-
# os: [windows-2022]
4039
rust: [stable, 1.71.0]
41-
# rust: [stable]
4240
test: ['std', 'no-std', 'examples']
43-
# test: ['std']
4441
include:
4542
- cache: stable
4643
rust: stable
@@ -54,8 +51,11 @@ jobs:
5451
rust: stable
5552
test: std
5653
- os: windows-2022
54+
# powershell format
5755
wgpu-flags: '$env:DISABLE_WGPU = "1";'
58-
auto-graphics-backend-flags: AUTO_GRAPHICS_BACKEND=dx12
56+
# not used yet, as wgpu tests are disabled on windows for now
57+
# see issue: https://github.com/tracel-ai/burn/issues/1062
58+
# auto-graphics-backend-flags: '$env:AUTO_GRAPHICS_BACKEND = "dx12";'
5959
exclude:
6060
# only need to check this once
6161
- rust: 1.71.0
@@ -172,18 +172,6 @@ jobs:
172172
- name: run checks & tests
173173
run: ${{ matrix.coverage-flags }} ${{ matrix.wgpu-flags }} cargo xtask run-checks ${{ matrix.test }}
174174

175-
- name: (temp) run burn_common tests
176-
shell: bash
177-
run: |
178-
cd burn-common
179-
cargo test
180-
181-
# - name: (temp) run burn_wgpu tests
182-
# shell: bash
183-
# run: |
184-
# cd burn-wgpu
185-
# ${{ matrix.auto-graphics-backend-flags }} cargo test -- --nocapture
186-
187175
- name: Codecov upload
188176
if: runner.os == 'Linux' && matrix.rust == 'stable' && matrix.test == 'std'
189177
uses: codecov/codecov-action@v3

burn-wgpu/src/compute/base.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ fn select_adapter<G: GraphicsApi>(device: &WgpuDevice) -> wgpu::Adapter {
209209
// often a Discrete Gpu.
210210
DeviceType::IntegratedGpu => 3,
211211
DeviceType::VirtualGpu => 2,
212-
DeviceType::Cpu => 6,
212+
DeviceType::Cpu => 1,
213213
};
214214

215215
if score > current_score {

0 commit comments

Comments
 (0)