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: 5 additions & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
branches:
- main # 仅在针对main分支的PR上运行

permissions:
contents: write
pull-requests: write

jobs:
auto-merge:
runs-on: ubuntu-latest
Expand All @@ -24,4 +28,4 @@ jobs:
MERGE_RETRIES: "6"
MERGE_RETRY_SLEEP: "10000"
UPDATE_LABELS: "auto-merge"
UPDATE_METHOD: "merge"
UPDATE_METHOD: "rebase"
2 changes: 1 addition & 1 deletion .github/workflows/excuter-cuda-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
cd /workspace && \

# 构建 common 库
cd excuter/common && \
cd excuter/cpp-common && \
mkdir -p build && cd build && \
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -GNinja .. && \
ninja && \
Expand Down
2 changes: 1 addition & 1 deletion excuter/op-mem-cuda/src/deepx/tensorfunc/init_miaobyte.cu
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ namespace deepx::tensorfunc
int idx = blockIdx.x * blockDim.x + threadIdx.x;
if (idx < size)
{
data[idx] = start + step * static_cast<T>(idx);
data[idx] = start + step * static_cast<T>(static_cast<float>(idx));
}
}
template __global__ void kernel_arange<double>(double *data, const int size, const double start, const double step);
Expand Down