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
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
Maximillian Bensch
libclfft
Commits
434038db
Commit
434038db
authored
14 years ago
by
Oliver Bock
Browse files
Options
Downloads
Patches
Plain Diff
Added missing pieces for Linux/NVIDIA build
parent
8fe2fe82
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
example/Makefile
+7
-2
7 additions, 2 deletions
example/Makefile
src/Makefile
+4
-2
4 additions, 2 deletions
src/Makefile
with
11 additions
and
4 deletions
example/Makefile
+
7
−
2
View file @
434038db
PWD
=
$(
shell
pwd
)
NVIDIA_SDK_INSTALL_PATH
?=
/usr/local/cuda
TARGET
=
clfft_example
CXXFLAGS
+=
-O3
-Wall
-g
-I
../include
LDFLAGS
+=
../lib/libclfft.a
CXXFLAGS
+=
-O3
-Wall
-g
-I
$(
NVIDIA_SDK_INSTALL_PATH
)
/OpenCL/common/inc
-I
../include
LDFLAGS
+=
$(
PWD
)
/
../lib/libclfft.a
OS
=
$(
shell
uname
-s
)
ifeq
($(OS), Darwin)
LDFLAGS
+=
-framework
OpenCL
else
LDFLAGS
+=
-lOpenCL
endif
...
...
This diff is collapsed.
Click to expand it.
src/Makefile
+
4
−
2
View file @
434038db
NVIDIA_SDK_INSTALL_PATH
?=
/usr/local/cuda
TARGET
=
libclfft.a
CXXFLAGS
+=
-O3
-Wall
-g
-I
../include
CXXFLAGS
+=
-O3
-Wall
-g
-I
$(
NVIDIA_SDK_INSTALL_PATH
)
/OpenCL/common/inc
-I
../include
OS
=
$(
shell
uname
-s
)
ifeq
($(OS), Darwin)
CXXFLAGS
+=
-I
/System/Library/Frameworks
...
...
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