Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
964e7a8e
Commit
964e7a8e
authored
12 years ago
by
Jan David Mol
Browse files
Options
Downloads
Patches
Plain Diff
Task #3696: Added missing FindOpenCL.cmake
parent
f3bf2ea4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitattributes
+1
-0
1 addition, 0 deletions
.gitattributes
CMake/FindOpenCL.cmake
+48
-0
48 additions, 0 deletions
CMake/FindOpenCL.cmake
with
49 additions
and
0 deletions
.gitattributes
+
1
−
0
View file @
964e7a8e
...
...
@@ -1971,6 +1971,7 @@ CEP/PyBDSM/test/tbdsm_process_image.py -text
CMake/FindCasarest.cmake -text
CMake/FindJNI.cmake -text
CMake/FindLibssh2.cmake -text
CMake/FindOpenCL.cmake -text
CMake/FindValgrind.cmake -text
CMake/TODO -text
CMake/testscripts/assay -text
...
...
This diff is collapsed.
Click to expand it.
CMake/FindOpenCL.cmake
0 → 100644
+
48
−
0
View file @
964e7a8e
# - Try to find OpenCL.
# Variables used by this module:
# OPENCL_ROOT_DIR - OPENCL root directory
# Variables defined by this module:
# OPENCL_FOUND - system has OPENCL
# OPENCL_INCLUDE_DIR - the OPENCL include directory (cached)
# OPENCL_INCLUDE_DIRS - the OPENCL include directories
# (identical to OPENCL_INCLUDE_DIR)
# OPENCL_LIBRARY - the OPENCL library (cached)
# OPENCL_LIBRARIES - the OPENCL libraries
# (identical to OPENCL_LIBRARY)
# Copyright (C) 2009
# ASTRON (Netherlands Institute for Radio Astronomy)
# P.O.Box 2, 7990 AA Dwingeloo, The Netherlands
#
# This file is part of the LOFAR software suite.
# The LOFAR software suite is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# The LOFAR software suite is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with the LOFAR software suite. If not, see <http://www.gnu.org/licenses/>.
#
# $Id: FindOpenCL.cmake 17486 2011-03-01 13:08:26Z mol $
if
(
NOT OPENCL_FOUND
)
find_path
(
OPENCL_INCLUDE_DIR
"CL/cl.h"
HINTS /usr/local/cuda/include /cm/shared/apps/cuda50/toolkit/5.0.35/include
)
#FIXME
find_library
(
OPENCL_LIBRARY OpenCL
HINTS
${
OPENCL_ROOT_DIR
}
PATH_SUFFIXES lib
)
mark_as_advanced
(
OPENCL_INCLUDE_DIR OPENCL_LIBRARY
)
include
(
FindPackageHandleStandardArgs
)
find_package_handle_standard_args
(
OPENCL DEFAULT_MSG
OPENCL_LIBRARY OPENCL_INCLUDE_DIR
)
set
(
OPENCL_INCLUDE_DIRS
${
OPENCL_INCLUDE_DIR
}
)
set
(
OPENCL_LIBRARIES
${
OPENCL_LIBRARY
}
)
endif
(
NOT OPENCL_FOUND
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment