Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
DKS
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Code Review
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Uldis Locans
DKS
Commits
50ecb310
Commit
50ecb310
authored
Jun 06, 2017
by
Uldis Locans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove any OpenCL calls when DKS compiled without OpenCL
parent
3d130aa0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/DKSBase.h
src/DKSBase.h
+5
-2
No files found.
src/DKSBase.h
View file @
50ecb310
...
...
@@ -888,9 +888,10 @@ public:
* TODO: opencl and mic imlementation
*/
int
callMemInfo
()
{
#ifdef DKS_CUDA
if
(
apiCuda
())
return
CUDA_SAFECALL
(
cbase
->
cuda_memInfo
());
#endif
return
DKS_ERROR
;
}
...
...
@@ -899,11 +900,13 @@ public:
* Used for debuging and timing purposes only.
*/
void
oclEventInfo
()
{
#ifdef DKS_OPENCL
if
(
apiOpenCL
())
return
OPENCL_SAFECALL
(
oclbase
->
ocl_eventInfo
());
#endif
}
/**
* Test function to profile opencl kernel calls.
* Used for debuging and timing purposes only.
...
...
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