Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gitlab CI: enable test for the sycl CPU backend #2142

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft
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
14 changes: 7 additions & 7 deletions script/job_generator/generate_job_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from util import print_warn, exit_error

JOB_COMPILE_ONLY = "compile_only_job"
JOB_RUNTIME = "runtime_job_gpu"
JOB_GPU_RUNTIME = "runtime_job_gpu"
JOB_CPU_RUNTIME = "runtime_job_cpu"
JOB_ROCM_RUNTIME = "rocm_runtime_job"
JOB_NVCC_GCC_RUNTIME = "nvcc_gcc_runtime_job"
Expand All @@ -26,7 +26,7 @@

WAVE_GROUP_NAMES = [
JOB_COMPILE_ONLY,
JOB_RUNTIME,
JOB_GPU_RUNTIME,
JOB_CPU_RUNTIME,
# can be enabled again, if fine granular scheduling is required
# JOB_ROCM_RUNTIME,
Expand Down Expand Up @@ -541,19 +541,19 @@ def distribute_to_waves(
sorted_groups[JOB_CPU_RUNTIME].append(job)
elif job_name.startswith("linux_hipcc"):
# sorted_groups[JOB_ROCM_RUNTIME].append(job)
sorted_groups[JOB_RUNTIME].append(job)
sorted_groups[JOB_GPU_RUNTIME].append(job)
elif job_name.startswith("linux_nvcc") and "gcc" in job_name:
# sorted_groups[JOB_NVCC_GCC_RUNTIME].append(job)
sorted_groups[JOB_RUNTIME].append(job)
sorted_groups[JOB_GPU_RUNTIME].append(job)
elif job_name.startswith("linux_nvcc") and "clang" in job_name:
# sorted_groups[JOB_NVCC_CLANG_RUNTIME].append(job)
sorted_groups[JOB_RUNTIME].append(job)
sorted_groups[JOB_GPU_RUNTIME].append(job)
elif job_name.startswith("linux_clang-cuda"):
# sorted_groups[JOB_CLANG_CUDA_RUNTIME].append(job)
sorted_groups[JOB_RUNTIME].append(job)
sorted_groups[JOB_GPU_RUNTIME].append(job)
elif job_name.startswith("linux_icpx"):
# sorted_groups[JOB_ICPX_RUNTIME].append(job)
sorted_groups[JOB_RUNTIME].append(job)
sorted_groups[JOB_CPU_RUNTIME].append(job)
else:
sorted_groups[JOB_UNKNOWN].append(job)

Expand Down
2 changes: 1 addition & 1 deletion script/job_generator/job_modifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,5 +133,5 @@ def add_job_parameters(job_matrix: List[Dict[str, Tuple[str, str]]]):

# run tests each time if a CPU backend is used
for job in job_matrix:
if job[DEVICE_COMPILER][NAME] in [GCC, CLANG]:
if job[DEVICE_COMPILER][NAME] in [GCC, CLANG, ICPX]:
job[JOB_EXECUTION_TYPE] = (JOB_EXECUTION_TYPE, JOB_EXECUTION_RUNTIME)
Loading