fix(ci): select installed CUDA host compiler
KAR CUDA compile (GPU hidden) / kar-cuda-compile (pull_request) Failing after 1m31s
KAR CUDA compile (GPU hidden) / kar-cuda-compile (pull_request) Failing after 1m31s
This commit is contained in:
@@ -78,6 +78,8 @@ jobs:
|
||||
export CUDACXX=/tmp/cuda-toolkit/bin/nvcc
|
||||
export CUDAToolkit_ROOT=/tmp/cuda-toolkit
|
||||
export CC=gcc-13 CXX=g++-13
|
||||
cmake -S gpu/kar -B /tmp/kar-build -DCMAKE_BUILD_TYPE=Release -DCMAKE_CUDA_ARCHITECTURES=120
|
||||
cmake -S gpu/kar -B /tmp/kar-build -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_CUDA_HOST_COMPILER=/usr/bin/g++-13 \
|
||||
-DCMAKE_CUDA_ARCHITECTURES=120
|
||||
cmake --build /tmp/kar-build --parallel 1 --target strata-kar-expert-cache-test strata-kar-expert-test strata-kar-expert-miss-test strata-kar-expert-probe
|
||||
ctest --test-dir /tmp/kar-build --output-on-failure -R "^kar_expert_cache_index$"
|
||||
|
||||
@@ -25,6 +25,7 @@ assert "CUDA_VISIBLE_DEVICES: ''" in workflow
|
||||
assert 'docker run' not in workflow
|
||||
assert 'git fetch --depth=1 origin "$GITHUB_REF"' in workflow
|
||||
assert 'GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}' in workflow
|
||||
assert '-DCMAKE_CUDA_HOST_COMPILER=/usr/bin/g++-13' in workflow
|
||||
assert 'uses: builtin:checkout' not in workflow
|
||||
assert 'actions/checkout@' not in workflow
|
||||
for name,version in lock['apt_packages'].items():
|
||||
|
||||
Reference in New Issue
Block a user