Skip to content

Commit c7e5711

Browse files
author
Pavel Chupin
authored
[CI] Enable llvm-test-suite on CUDA Linux target (#6194)
* Update reusable workflow with corresponding config * Add cuda llvm-test-suite run to pre-commit on Linux * Fix option typo [NFC] Failing tests disabled at: intel/llvm-test-suite#1052 Issue: #6285
1 parent f0b65a1 commit c7e5711

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed

.github/workflows/sycl_linux_build_and_test.yml

+4
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ on:
5252
type: string
5353
required: false
5454
default: "ghcr.io/intel/llvm/ubuntu2004_build:latest"
55+
cuda_image:
56+
type: string
57+
required: false
58+
default: "ghcr.io/intel/llvm/ubuntu2004_build:latest"
5559
lts_ref:
5660
type: string
5761
required: false

.github/workflows/sycl_precommit.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ jobs:
4141
build_cache_size: "8G"
4242
build_artifact_suffix: "default"
4343
build_cache_suffix: "default"
44-
lts_config: "hip_amdgpu;ocl_x64;ocl_gen9;l0_gen9;esimd_emu"
44+
lts_config: "hip_amdgpu;ocl_x64;ocl_gen9;l0_gen9;esimd_emu;cuda"

.github/workflows/sycl_windows_build_and_test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
IF NOT EXIST D:\github\_work\cache MKDIR D:\github\_work\cache
3939
IF NOT EXIST D:\github\_work\cache\sycl_${{inputs.build_cache_suffix}} MKDIR D:\github\_work\cache\${{inputs.build_cache_suffix}}
4040
python.exe src/buildbot/configure.py -o build ^
41-
--ci-default ^
41+
--ci-defaults ^
4242
--cmake-opt="-DCMAKE_C_COMPILER=cl" ^
4343
--cmake-opt="-DCMAKE_CXX_COMPILER=cl" ^
4444
--cmake-opt="-DCMAKE_INSTALL_PREFIX=%GITHUB_WORKSPACE%\install" ^

devops/test_configs.json

+12
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,18 @@
5959
"container_options": "--device=/dev/dri --device=/dev/kfd",
6060
"check_sycl_all": "hip:gpu,host",
6161
"cmake_args": "-DHIP_PLATFORM=\"AMD\" -DAMD_ARCH=\"gfx1031\""
62+
},
63+
{
64+
"config": "cuda",
65+
"name": "CUDA LLVM Test Suite",
66+
"runs-on": [
67+
"Linux",
68+
"cuda"
69+
],
70+
"image": "${{ inputs.cuda_image }}",
71+
"container_options": "--gpus all",
72+
"check_sycl_all": "cuda:gpu,host",
73+
"cmake_args": ""
6274
}
6375
]
6476
}

0 commit comments

Comments
 (0)