Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Francesco Brarda
stan-math-petsc
Commits
596a5448
Unverified
Commit
596a5448
authored
7 years ago
by
Steve Bronder
Browse files
Options
Download
Email Patches
Plain Diff
Fix makefile to add OPENCL flags
parent
47fd5d9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
makefile
+3
-1
makefile
with
3 additions
and
1 deletion
+3
-1
makefile
View file @
596a5448
...
...
@@ -21,7 +21,9 @@ include make/libraries
# TODO(Steve): This was in defaults, but make/local is not called till later
# And we need STAN_OPENCL to be known
ifdef
STAN_OPENCL
CXXFLAGS
+=
-isystem
$(OPENCL)
-DSTAN_OPENCL
-DOPENCL_DEVICE
=
$(OPENCL_DEVICE)
CXXFLAGS
+=
-isystem
$(OPENCL)
-DSTAN_OPENCL
-DOPENCL_DEVICE_ID
=
$(OPENCL_DEVICE_ID)
-DOPENCL_PLATFORM_ID
=
$(OPENCL_PLATFORM_ID)
endif
CXX
=
$(CC)
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help