Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
8ade176c
Commit
8ade176c
authored
Sep 01, 2011
by
Mark Friedrichs
Browse files
Added CL_CALLBACK to errorCallback() for Windows compile
parent
e69b1cca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
platforms/opencl/src/OpenCLContext.cpp
platforms/opencl/src/OpenCLContext.cpp
+1
-1
No files found.
platforms/opencl/src/OpenCLContext.cpp
View file @
8ade176c
...
@@ -55,7 +55,7 @@ using namespace std;
...
@@ -55,7 +55,7 @@ using namespace std;
const
int
OpenCLContext
::
ThreadBlockSize
=
64
;
const
int
OpenCLContext
::
ThreadBlockSize
=
64
;
const
int
OpenCLContext
::
TileSize
=
32
;
const
int
OpenCLContext
::
TileSize
=
32
;
static
void
errorCallback
(
const
char
*
errinfo
,
const
void
*
private_info
,
size_t
cb
,
void
*
user_data
)
{
static
void
CL_CALLBACK
errorCallback
(
const
char
*
errinfo
,
const
void
*
private_info
,
size_t
cb
,
void
*
user_data
)
{
std
::
cerr
<<
"OpenCL internal error: "
<<
errinfo
<<
std
::
endl
;
std
::
cerr
<<
"OpenCL internal error: "
<<
errinfo
<<
std
::
endl
;
}
}
...
...
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