Skip to content

Commit bb031c6

Browse files
authored
fix building deformconv for onnxrubtime on windows(#2432)
1 parent 8478249 commit bb031c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csrc/mmdeploy/backend_ops/onnxruntime/modulated_deform_conv/modulated_deform_conv.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ void parallel_unroll_gemm(const float *A, const float *B, const float *V, const
1414
const int32_t M, const int32_t N, const int32_t K, const float alpha,
1515
const float beta, float *Y, const int32_t start_row,
1616
const int32_t end_row) {
17-
float tmp[N]; // tmp
17+
std::vector<float> tmp(N);
1818
for (int32_t m = start_row; m < end_row; ++m) {
1919
for (int32_t n = 0; n < N; n++) {
2020
tmp[n] = 0;

0 commit comments

Comments
 (0)