Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
f010539a
Commit
f010539a
authored
Jun 16, 2011
by
Alexander Shishkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed MacOS GPU Compilation for i386
parent
c5787c52
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
NCV.hpp
modules/gpu/src/nvidia/core/NCV.hpp
+7
-1
main_nvidia.cpp
modules/gpu/test/nvidia/main_nvidia.cpp
+1
-1
No files found.
modules/gpu/src/nvidia/core/NCV.hpp
View file @
f010539a
...
...
@@ -112,7 +112,13 @@ namespace NcvCTprep
typedef
bool
NcvBool
;
typedef
long
long
Ncv64s
;
typedef
unsigned
long
long
Ncv64u
;
#if defined(__APPLE__) && !defined(__CUDACC__)
typedef
uint64_t
Ncv64u
;
#else
typedef
unsigned
long
long
Ncv64u
;
#endif
typedef
int
Ncv32s
;
typedef
unsigned
int
Ncv32u
;
typedef
short
Ncv16s
;
...
...
modules/gpu/test/nvidia/main_nvidia.cpp
View file @
f010539a
...
...
@@ -314,7 +314,7 @@ bool main_nvidia(const std::string& test_data_path)
printf
(
"Initializing data source providers
\n
"
);
NCVTestSourceProvider
<
Ncv32u
>
testSrcRandom_32u
(
2010
,
0
,
0xFFFFFFFF
,
4096
,
4096
);
NCVTestSourceProvider
<
Ncv8u
>
testSrcRandom_8u
(
2010
,
0
,
255
,
4096
,
4096
);
NCVTestSourceProvider
<
Ncv64u
>
testSrcRandom_64u
(
2010
,
0
,
0xFFFFFFFFFFFFFFFF
,
4096
,
4096
);
NCVTestSourceProvider
<
Ncv64u
>
testSrcRandom_64u
(
2010
,
0
,
-
1
,
4096
,
4096
);
NCVTestSourceProvider
<
Ncv8u
>
testSrcFacesVGA_8u
(
path
+
"group_1_640x480_VGA.pgm"
);
NCVTestSourceProvider
<
Ncv32f
>
testSrcRandom_32f
(
2010
,
-
1.0
f
,
1.0
f
,
4096
,
4096
);
...
...
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