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
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
einsteinathome
libclfft
Commits
647ca4fa
Commit
647ca4fa
authored
14 years ago
by
Oliver Bock
Browse files
Options
Downloads
Patches
Plain Diff
Added support for ATI's Stream SDK
parent
e641c4da
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
+4
-1
4 additions, 1 deletion
example/Makefile
src/Makefile
+2
-1
2 additions, 1 deletion
src/Makefile
with
6 additions
and
2 deletions
example/Makefile
+
4
−
1
View file @
647ca4fa
PWD
=
$(
shell
pwd
)
NVIDIA_SDK_INSTALL_PATH
?=
/usr/local/cuda
ATISTREAMSDKROOT
?=
/usr/local/ati
TARGET
=
clfft_example
CXXFLAGS
+=
-O3
-Wall
-g
-I
$(
NVIDIA_SDK_INSTALL_PATH
)
/OpenCL/common/inc
-I
../include
CXXFLAGS
+=
-O3
-Wall
-g
-I
$(
NVIDIA_SDK_INSTALL_PATH
)
/OpenCL/common/inc
-I
$(
ATISTREAMSDKROOT
)
/include
-I
../include
LDFLAGS
+=
$(
PWD
)
/../lib/libclfft.a
OS
=
$(
shell
uname
-s
)
ARCH
=
$(
shell
uname
-m
)
ifeq
($(OS), Darwin)
LDFLAGS
+=
-framework
OpenCL
else
LDFLAGS
+=
-L
$(
ATISTREAMSDKROOT
)
/lib/
$(
ARCH
)
LDFLAGS
+=
-lOpenCL
endif
...
...
This diff is collapsed.
Click to expand it.
src/Makefile
+
2
−
1
View file @
647ca4fa
NVIDIA_SDK_INSTALL_PATH
?=
/usr/local/cuda
ATISTREAMSDKROOT
?=
/usr/local/ati
TARGET
=
libclfft.a
CXXFLAGS
+=
-O3
-Wall
-g
-I
$(
NVIDIA_SDK_INSTALL_PATH
)
/OpenCL/common/inc
-I
../include
CXXFLAGS
+=
-O3
-Wall
-g
-I
$(
NVIDIA_SDK_INSTALL_PATH
)
/OpenCL/common/inc
-I
$(
ATISTREAMSDKROOT
)
/include
-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