Skip to content
Merged
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
6 changes: 6 additions & 0 deletions .github/actions/workflow-run-job-windows/action.yml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The way CCCL uses docker can only get more insane, not less! 😂

Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ runs:
with:
path: ${{github.event.repository.name}}
persist-credentials: false
fetch-depth: 0
fetch-tags: true

- name: Define and log job details
shell: bash --noprofile --norc -euo pipefail {0}
Expand Down Expand Up @@ -188,6 +190,7 @@ runs:
docker_exit=0
set +e
docker run \
-v //./pipe/docker_engine://./pipe/docker_engine \
--mount type=bind,source="${{steps.paths.outputs.HOST_REPO}}",target="${{steps.paths.outputs.MOUNT_REPO}}" \
--mount type=bind,source="${{ env.ARTIFACT_UPLOAD_STAGE_WIN }}",target="${{ env.ARTIFACT_UPLOAD_STAGE_WIN }}" \
--mount type=bind,source="${{ env.ARTIFACT_ARCHIVES_WIN }}",target="${{ env.ARTIFACT_ARCHIVES_WIN }}" \
Expand All @@ -203,8 +206,11 @@ runs:
--env "AWS_ACCESS_KEY_ID=${{env.AWS_ACCESS_KEY_ID}}" \
--env "AWS_SECRET_ACCESS_KEY=${{env.AWS_SECRET_ACCESS_KEY}}" \
--env "AWS_SESSION_TOKEN=${{env.AWS_SESSION_TOKEN}}" \
--env "CONTAINER_WORKSPACE=${{steps.paths.outputs.MOUNT_REPO}}" \
--env "CI=true" \
--env "DEVCONTAINER_NAME=cuda${{inputs.cuda}}-${{inputs.host}}" \
--env "DOCKER_HOST=npipe:////./pipe/docker_engine" \
--env "HOST_WORKSPACE=${{steps.paths.outputs.HOST_REPO}}" \
--env "GH_TOKEN=$GH_TOKEN" \
--env "GITHUB_ACTIONS=$GITHUB_ACTIONS" \
--env "GITHUB_REF_NAME=$GITHUB_REF_NAME" \
Expand Down
4 changes: 2 additions & 2 deletions c/parallel/src/three_way_partition.cu
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@ std::string get_three_way_partition_kernel_name(
std::string_view select_second_part_op_name)
{
std::string chained_policy_t;
check(nvrtcGetTypeName<device_three_way_partition_policy>(&chained_policy_t));
check(cccl_type_name_from_nvrtc<device_three_way_partition_policy>(&chained_policy_t));

constexpr std::string_view scan_tile_state_t = "cub::detail::three_way_partition::ScanTileStateT";

std::string offset_t;
check(nvrtcGetTypeName<OffsetT>(&offset_t));
check(cccl_type_name_from_nvrtc<OffsetT>(&offset_t));

const std::string streaming_context_t =
std::format("cub::detail::three_way_partition::streaming_context_t<{0}>", offset_t);
Expand Down
26 changes: 13 additions & 13 deletions ci/matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ workflows:
# c.experimental.stf-- pinned to gcc13 to match python
- {jobs: ['test'], project: 'cccl_c_stf', ctk: '12.X', cxx: 'gcc13', gpu: ['rtx2080']}
- {jobs: ['test'], project: 'cccl_c_stf', ctk: '13.X', cxx: 'gcc13', gpu: ['rtx2080', 'l4', 'h100']}
# Python -- pinned to gcc13 for consistency across CTK images
- {jobs: ['test'], project: 'python', ctk: ['12.0', '12.X', '13.0', '13.X'], py_version: ['3.13'], gpu: 'l4', cxx: 'gcc13'}
- {jobs: ['test'], project: 'python', ctk: ['12.0', '13.X'], py_version: ['3.10'], gpu: 'l4', cxx: 'gcc13'}
# Python -- pinned to gcc13 on Linux for consistency across CTK images
- {jobs: ['test'], project: 'python', ctk: ['12.0', '13.X'], py_version: ['3.10'], gpu: 'l4', cxx: ['gcc13', 'msvc']}
- {jobs: ['test'], project: 'python', ctk: ['12.0', '12.X', '13.0', '13.X'], py_version: ['3.13'], gpu: 'l4', cxx: ['gcc13', 'msvc']}
- {jobs: ['test'], project: 'python', py_version: '3.13', gpu: 'h100', cxx: 'gcc13'}
# CCCL packaging:
- {jobs: ['test'], project: 'packaging', ctk: '12.0', cxx: ['gcc10', 'clang14'], gpu: 'rtx2080'}
Expand Down Expand Up @@ -106,9 +106,9 @@ workflows:
# stdpar
- {project: 'stdpar', jobs: ['build'], std: 'max', ctk: 'nvhpc', cxx: 'nvhpc'}
# Python + support
- {project: 'python', jobs: ['test'], ctk: '13.X', py_version: '3.13', gpu: 'l4', cxx: 'gcc13'}
- {project: 'cccl_c_parallel', jobs: ['test'], ctk: '13.X', cxx: 'gcc13', gpu: ['rtx2080'], sm: 'gpu'}
- {project: 'cccl_c_stf', jobs: ['test'], ctk: '13.X', cxx: 'gcc13', gpu: ['rtx2080'], sm: 'gpu'}
- {project: 'cccl_c_parallel', jobs: ['test'], ctk: '13.X', cxx: 'gcc13', gpu: 'rtx2080', sm: 'gpu'}
- {project: 'cccl_c_stf', jobs: ['test'], ctk: '13.X', cxx: 'gcc13', gpu: 'rtx2080', sm: 'gpu'}
- {project: 'python', jobs: ['test'], ctk: '13.X', py_version: '3.13', gpu: 'l4', cxx: ['gcc13', 'msvc']}
# Packaging / install
- {project: 'packaging', jobs: ['test'], ctk: '13.X', cxx: ['gcc', 'clang'], gpu: 'rtx2080', sm: 'gpu'}
- {project: 'packaging', jobs: ['install']}
Expand Down Expand Up @@ -175,8 +175,8 @@ workflows:
# c.experimental.stf -- pinned to gcc13 to match python
- {jobs: ['test'], project: ['cccl_c_stf'], ctk: '12.X', cxx: 'gcc13', gpu: ['rtx2080']}
- {jobs: ['test'], project: ['cccl_c_stf'], ctk: '13.X', cxx: 'gcc13', gpu: ['rtx2080', 'l4', 'h100']}
# Python -- pinned to gcc13 for consistency across CTK images
- {jobs: ['test'], project: 'python', ctk: ['12.0', '12.X', '13.0', '13.X'], py_version: ['3.10', '3.11', '3.12', '3.13'], gpu: 'l4', cxx: 'gcc13'}
# Python -- pinned to gcc13 on Linux for consistency across CTK images
- {jobs: ['test'], project: 'python', ctk: ['12.0', '12.X', '13.0', '13.X'], py_version: ['3.10', '3.11', '3.12', '3.13'], gpu: 'l4', cxx: ['gcc13', 'msvc']}
- {jobs: ['test'], project: 'python', ctk: ['12.X', '13.X'], py_version: '3.13', gpu: 'h100', cxx: 'gcc13'}
# CCCL packaging:
- {jobs: ['test'], project: 'packaging', ctk: '12.0', cxx: ['gcc10', 'clang14'], gpu: 'rtx2080'}
Expand Down Expand Up @@ -253,8 +253,8 @@ workflows:
- {jobs: ['test'], project: ['cccl_c_stf'], ctk: '12.X', cxx: 'gcc13', gpu: ['rtx2080']}
- {jobs: ['test'], project: ['cccl_c_stf'], ctk: '13.X', cxx: 'gcc13', gpu: ['rtx2080', 'l4', 'h100']}
# Python -- pinned to gcc13 for consistency across CTK images
- {jobs: ['test'], project: 'python', ctk: ['12.0', '12.X', '13.0', '13.X'], py_version: ['3.10', '3.11', '3.12', '3.13'], gpu: 'l4', cxx: 'gcc13'}
- {jobs: ['test'], project: 'python', ctk: ['12.X', '13.X'], py_version: '3.13', gpu: 'h100', cxx: 'gcc13'}
- {jobs: ['test'], project: 'python', ctk: ['12.0', '12.X', '13.0', '13.X'], py_version: ['3.10', '3.11', '3.12', '3.13'], gpu: 'l4', cxx: ['gcc13', 'msvc']}
- {jobs: ['test'], project: 'python', ctk: ['12.X', '13.X'], py_version: '3.13', gpu: 'h100', cxx: ['gcc13', 'msvc']}
# CCCL packaging:
- {jobs: ['test'], project: 'packaging', ctk: '12.0', cxx: ['gcc10', 'clang14'], gpu: 'rtx2080'}
- {jobs: ['test'], project: 'packaging', ctk: '12.X', cxx: ['gcc10', 'clang14'], gpu: 'rtx2080'}
Expand All @@ -270,8 +270,8 @@ workflows:
- {jobs: ['compute_sanitizer'], project: 'cub', std: 'max', gpu: 'rtxa6000', sm: 'gpu', cmake_options: '-DCMAKE_CUDA_FLAGS=-lineinfo'}

python-wheels:
- {jobs: ['test'], project: 'python', ctk: ['12.0', '12.X', '13.0', '13.X'], py_version: ['3.10', '3.11', '3.12', '3.13'], gpu: 'l4', cxx: 'gcc13'}
- {jobs: ['test'], project: 'python', ctk: ['12.X', '13.X'], py_version: '3.13', gpu: 'h100', cxx: 'gcc13'}
- {jobs: ['test'], project: 'python', ctk: ['12.0', '12.X', '13.0', '13.X'], py_version: ['3.10', '3.11', '3.12', '3.13'], gpu: 'l4', cxx: ['gcc13', 'msvc']}
- {jobs: ['test'], project: 'python', ctk: ['12.X', '13.X'], py_version: '3.13', gpu: 'h100', cxx: ['gcc13', 'msvc']}
- {jobs: ['test'], project: 'python', cpu: 'arm64', ctk: ['12.X', '13.X'], py_version: ['3.10', '3.11', '3.12', '3.13'], gpu: 'l4', cxx: 'gcc13'}


Expand Down Expand Up @@ -500,7 +500,7 @@ projects:
name: "Python"
job_map:
build: ['build_py_wheel']
test: ['test_py_headers', 'test_py_coop', 'test_py_par', test_py_examples]
test: ['test_py_headers', 'test_py_coop', 'test_py_par', 'test_py_examples']
cccl_c_parallel:
name: 'CCCL C Parallel'
stds: [20]
Expand Down
7 changes: 7 additions & 0 deletions ci/windows/build_common.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ $ErrorActionPreference = "Stop"
$script:HOST_COMPILER = (Get-Command "cl").source -replace '\\','/'
$script:PARALLEL_LEVEL = $env:NUMBER_OF_PROCESSORS

Write-Host "=== Docker Container Resource Info ==="
Write-Host "Number of Processors: $script:PARALLEL_LEVEL"
Get-WmiObject Win32_OperatingSystem | ForEach-Object {
Write-Host ("Memory: total={0:N1} GB, free={1:N1} GB" -f ($_.TotalVisibleMemorySize / 1MB), ($_.FreePhysicalMemory / 1MB))
}
Write-Host "======================================"

# Extract the CL version for export to build scripts:
$script:CL_VERSION_STRING = & cl.exe /?
if ($script:CL_VERSION_STRING -match "Version (\d+\.\d+)\.\d+") {
Expand Down
Loading