Skip to content

Commit 5f6f8f8

Browse files
miaobytepeng.li24
andauthored
op-cuda:重命名 (#110)
Co-authored-by: peng.li24 <peng.li24@nio.com>
1 parent cfff471 commit 5f6f8f8

62 files changed

Lines changed: 8 additions & 8 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/executor-op-cuda-linux.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: Excuter/cuda-linux Build
22
on:
33
push:
44
paths:
5-
- 'executor/op-mem-cuda/**'
5+
- 'executor/op-cuda/**'
66
pull_request:
77
paths:
8-
- 'executor/op-mem-cuda/**'
8+
- 'executor/op-cuda/**'
99
env:
1010
CUDA_VERSION: "12.6.0"
1111
CUDA_MAJOR_VERSION: "12"
@@ -34,7 +34,7 @@ jobs:
3434
run: |
3535
docker run --rm -v ${{ github.workspace }}:/workspace \
3636
-w /workspace \
37-
nvidia/cuda:12.6.0-devel-ubuntu22.04 \
37+
nvidia/cuda:${CUDA_VERSION}-devel-ubuntu22.04 \
3838
/bin/bash -c "
3939
# 安装系统依赖
4040
apt-get update && \
@@ -68,7 +68,7 @@ jobs:
6868
ninja && \
6969
7070
# 构建 CUDA 执行器
71-
cd ../../op-mem-cuda && \
71+
cd ../../op-cuda && \
7272
mkdir -p build && cd build && \
7373
cmake -DCMAKE_BUILD_TYPE=Release \
7474
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \

executor/op-cuda/build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
mkdir -p build && cd build
2+
rm -rf build/*
3+
cmake ..
4+
make -j$(nproc)

0 commit comments

Comments
 (0)