Skip to content

Commit 49a3481

Browse files
committed
add change for build mode. add check in pre-commit
1 parent 07d7562 commit 49a3481

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/sycl-linux-precommit.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,11 @@ jobs:
189189
target_devices: level_zero:gpu;opencl:gpu;opencl:cpu
190190
extra_lit_opts: --param test-preview-mode=True
191191
binaries_artifact: e2e_bin_preview
192+
- name: New Offload Model
193+
runner: '[Linux, "gen12"]'
194+
target_devices: opencl:cpu
195+
extra_lit_opts: --param enable_new_offload_model=True
196+
testing_mode: build-only
192197

193198
# We're in an ABI-breaking window, so these don't make sense for now.
194199
- name: ABI compatibility / sycl-rel-6_2
@@ -219,7 +224,7 @@ jobs:
219224
toolchain_artifact_filename: ${{ needs.build.outputs.toolchain_artifact_filename }}
220225
toolchain_decompress_command: ${{ needs.build.outputs.toolchain_decompress_command }}
221226
binaries_artifact: ${{ matrix.binaries_artifact || 'e2e_bin' }}
222-
testing_mode: 'run-only'
227+
testing_mode: ${{ matrix.testing_mode || 'run-only' }}
223228

224229
# Do not install drivers on AMD and CUDA runners.
225230
install_igc_driver: >-

sycl/test-e2e/E2EExpr.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ class E2EExpr(BooleanExpression):
4848
"pdtracker",
4949
"ze_debug",
5050
"device-config-file",
51+
"new-offload-model",
5152
}
5253

5354
def __init__(self, string, variables, build_only_mode, final_unknown_value):

0 commit comments

Comments
 (0)