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
ae8b2cbd
Commit
ae8b2cbd
authored
Nov 20, 2013
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bug with cl_long size on Win32 (thanks to Aaron Kunze)
parent
677c7f27
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
ocl.cpp
modules/core/src/ocl.cpp
+7
-2
No files found.
modules/core/src/ocl.cpp
View file @
ae8b2cbd
...
...
@@ -114,8 +114,13 @@ typedef struct _cl_sampler * cl_sampler;
typedef
int
cl_int
;
typedef
unsigned
cl_uint
;
typedef
long
cl_long
;
typedef
unsigned
long
cl_ulong
;
#if defined (_WIN32) && defined(_MSC_VER)
typedef
__int64
cl_long
;
typedef
unsigned
__int64
cl_ulong
;
#else
typedef
long
cl_long
;
typedef
unsigned
long
cl_ulong
;
#endif
typedef
cl_uint
cl_bool
;
/* WARNING! Unlike cl_ types in cl_platform.h, cl_bool is not guaranteed to be the same size as the bool in kernels. */
typedef
cl_ulong
cl_bitfield
;
...
...
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