Skip to content

Commit c67e2db

Browse files
authored
Fix build error on cuda10.2 platform (#1597)
1 parent 09f1952 commit c67e2db

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

csrc/mmdeploy/codebase/mmaction/cuda/transpose.cu

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
#include <stdint.h>
44
#include <stdio.h>
55

6-
namespace mmdeploy::mmaction::cuda {
6+
namespace mmdeploy {
7+
namespace mmaction {
8+
namespace cuda {
79

810
template <typename T>
911
__global__ void transpose(const T* src, const int* src_strides, T* dst, const int* dst_strides,
@@ -35,4 +37,6 @@ void Transpose(const T* src, const int* src_strides, T* dst, const int* dst_stri
3537
template void Transpose<float>(const float* src, const int* src_strides, float* dst,
3638
const int* dst_strides, int ndim, int total, cudaStream_t stream);
3739

38-
} // namespace mmdeploy::mmaction::cuda
40+
} // namespace cuda
41+
} // namespace mmaction
42+
} // namespace mmdeploy

0 commit comments

Comments
 (0)