Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
MMCV
Commits
54f0bf4c
Commit
54f0bf4c
authored
Jun 27, 2025
by
limm
Browse files
fix compilation optimization bugs
parent
321b42b8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mmcv/ops/csrc/common/cuda/convex_iou_cuda_kernel.cuh
mmcv/ops/csrc/common/cuda/convex_iou_cuda_kernel.cuh
+1
-1
mmcv/ops/csrc/common/cuda/min_area_polygons_cuda.cuh
mmcv/ops/csrc/common/cuda/min_area_polygons_cuda.cuh
+1
-1
No files found.
mmcv/ops/csrc/common/cuda/convex_iou_cuda_kernel.cuh
View file @
54f0bf4c
...
...
@@ -395,7 +395,7 @@ __device__ inline double intersectAreaO(Point* ps1, int n1, Point* ps2, int n2,
return
res
;
}
__device__
inline
void
Jarvis
(
Point
*
in_poly
,
int
&
n_poly
)
{
__attribute__
((
optnone
))
__device__
inline
void
Jarvis
(
Point
*
in_poly
,
int
&
n_poly
)
{
Point
p_max
,
p_k
;
int
max_index
,
k_index
;
int
Stack
[
NMAX
]
=
{},
top1
,
top2
;
...
...
mmcv/ops/csrc/common/cuda/min_area_polygons_cuda.cuh
View file @
54f0bf4c
...
...
@@ -158,7 +158,7 @@ __device__ inline void minBoundingRect(Point *ps, int n_points, float *minbox) {
}
// convex_find
__device__
inline
void
Jarvis
(
Point
*
in_poly
,
int
&
n_poly
)
{
__attribute__
((
optnone
))
__device__
inline
void
Jarvis
(
Point
*
in_poly
,
int
&
n_poly
)
{
int
n_input
=
n_poly
;
Point
input_poly
[
20
];
for
(
int
i
=
0
;
i
<
n_input
;
i
++
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment