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
ccdc61c0
Unverified
Commit
ccdc61c0
authored
Jan 11, 2022
by
Zaida Zhou
Committed by
GitHub
Jan 11, 2022
Browse files
[Fix] Fix the compilation error on windows (#1657)
parent
b5ec327d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
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
-2
No files found.
mmcv/ops/csrc/common/cuda/convex_iou_cuda_kernel.cuh
View file @
ccdc61c0
...
...
@@ -10,7 +10,7 @@
#define MAXN 100
#define NMAX 512
const
double
EPS
=
1E-8
;
__device__
const
double
EPS
=
1E-8
;
__device__
inline
int
sig
(
double
d
)
{
return
(
d
>
EPS
)
-
(
d
<
-
EPS
);
}
...
...
mmcv/ops/csrc/common/cuda/min_area_polygons_cuda.cuh
View file @
ccdc61c0
...
...
@@ -9,8 +9,7 @@
#endif
#define MAXN 20
const
float
EPS
=
1E-8
;
const
float
PI
=
3.1415926
;
__device__
const
float
PI
=
3.1415926
;
struct
Point
{
float
x
,
y
;
...
...
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