Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libclfft
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Oliver Behnke
libclfft
Commits
4967ca64
Commit
4967ca64
authored
5 years ago
by
Bernd Machenschalk
Browse files
Options
Downloads
Patches
Plain Diff
example/Makefile: adapt the include path selection from src/Makefile here
parent
06adfda0
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
example/Makefile
+13
-1
13 additions, 1 deletion
example/Makefile
with
13 additions
and
1 deletion
example/Makefile
+
13
−
1
View file @
4967ca64
...
@@ -5,7 +5,19 @@ CXX ?= g++
...
@@ -5,7 +5,19 @@ CXX ?= g++
TARGET
=
clfft_example
TARGET
=
clfft_example
CXXFLAGS
+=
-O3
-Wall
-g
-I
$(
NVIDIA_SDK_INSTALL_PATH
)
/OpenCL/common/inc
-I
$(
AMDAPPSDKROOT
)
/include
-I
../include
ifndef
OPENCL_INCLUDE
ifdef
CUDA_INSTALL_PATH
OPENCL_INCLUDE
=
$(
CUDA_INSTALL_PATH
)
/include
endif
ifdef
OPENCL_INSTALL_PATH
OPENCL_INCLUDE
=
$(
OPENCL_INSTALL_PATH
)
/include
endif
endif
ifndef
OPENCL_INCLUDE
OPENCL_INCLUDE
=
$(
AMDAPPSDKROOT
)
/include
-I
$(
NVIDIA_SDK_INSTALL_PATH
)
/OpenCL/common/inc
endif
CXXFLAGS
+=
-O3
-Wall
-g
-I
$(
OPENCL_INCLUDE
)
-I
../include
-fPIC
LDFLAGS
+=
$(
PWD
)
/../lib/libclfft.a
LDFLAGS
+=
$(
PWD
)
/../lib/libclfft.a
OS
=
$(
shell
uname
-s
)
OS
=
$(
shell
uname
-s
)
...
...
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