Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
ocladock
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
docking
ocladock
Commits
ca6298da
Commit
ca6298da
authored
Feb 12, 2019
by
Leonardo Solis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#59, corrected messages given by wrapcl calls when full debug mode
parent
810801f0
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
wrapcl/src/CommandQueues.cpp
wrapcl/src/CommandQueues.cpp
+1
-1
wrapcl/src/Contexts.cpp
wrapcl/src/Contexts.cpp
+1
-1
wrapcl/src/Devices.cpp
wrapcl/src/Devices.cpp
+1
-1
wrapcl/src/ImportSource.cpp
wrapcl/src/ImportSource.cpp
+2
-2
wrapcl/src/Platforms.cpp
wrapcl/src/Platforms.cpp
+1
-1
No files found.
wrapcl/src/CommandQueues.cpp
View file @
ca6298da
...
...
@@ -77,7 +77,7 @@ int createCommandQueue(cl_context context,
#ifdef CMD_QUEUE_INFO_DISPLAY
err
=
getCommandQueueInfo
(
local_cmd_queue
);
if
(
err
!=
CL_SUCCESS
){
printf
(
"Error: getCommandQueueInfo()
: %d
\n
"
,
err
);
printf
(
"Error: getCommandQueueInfo()
\n
"
);
fflush
(
stdout
);
return
EXIT_FAILURE
;
}
...
...
wrapcl/src/Contexts.cpp
View file @
ca6298da
...
...
@@ -61,7 +61,7 @@ int createContext(
#ifdef CONTEXT_INFO_DISPLAY
err
=
getContextInfo
(
local_context
);
if
(
err
!=
CL_SUCCESS
){
printf
(
"Error: getContextInfo()
: %d
\n
"
,
err
);
printf
(
"Error: getContextInfo()
\n
"
);
fflush
(
stdout
);
return
EXIT_FAILURE
;
}
...
...
wrapcl/src/Devices.cpp
View file @
ca6298da
...
...
@@ -91,7 +91,7 @@ int getDevices(cl_platform_id platform_id, cl_uint platformCount,
#ifdef DEVICE_ATTRIBUTES_DISPLAY
err
=
getDeviceAttributes
(
local_device_id
,
local_deviceCount
);
if
(
err
!=
CL_SUCCESS
){
printf
(
"Error: getDeviceAttributes()
: %d
\n
"
,
err
);
printf
(
"Error: getDeviceAttributes()
\n
"
);
fflush
(
stdout
);
return
EXIT_FAILURE
;
}
...
...
wrapcl/src/ImportSource.cpp
View file @
ca6298da
...
...
@@ -88,7 +88,7 @@ int ImportSourceToProgram(const char* filename,
#ifdef PROGRAM_INFO_DISPLAY
err
=
getProgramInfo
(
*
program
);
if
(
err
!=
CL_SUCCESS
){
printf
(
"Error: getProgramInfo()
%d
\n
"
,
err
);
printf
(
"Error: getProgramInfo()
\n
"
);
fflush
(
stdout
);
return
EXIT_FAILURE
;
}
...
...
@@ -131,7 +131,7 @@ int ImportSourceToProgram(const char* filename,
#ifdef PROGRAM_BUILD_INFO_DISPLAY
err
=
getprogramBuildInfo
(
*
program
,
device_id
[
0
]);
if
(
err
!=
CL_SUCCESS
){
printf
(
"Error: getprogramBuildInfo()
%d
\n
"
,
err
);
printf
(
"Error: getprogramBuildInfo()
\n
"
);
fflush
(
stdout
);
return
EXIT_FAILURE
;
}
...
...
wrapcl/src/Platforms.cpp
View file @
ca6298da
...
...
@@ -54,7 +54,7 @@ int getPlatforms(cl_platform_id** platform_id, cl_uint* platformCount){
#ifdef PLATFORM_ATTRIBUTES_DISPLAY
err
=
getPlatformAttributes
(
local_platform_id
,
local_platformCount
);
if
(
err
!=
CL_SUCCESS
){
printf
(
"Error: getPlatformAttributes()
: %d
\n
"
,
err
);
printf
(
"Error: getPlatformAttributes()
\n
"
);
fflush
(
stdout
);
return
EXIT_FAILURE
;
}
...
...
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