Unverified Commit 596a5448 authored by Steve Bronder's avatar Steve Bronder
Browse files

Fix makefile to add OPENCL flags

parent 47fd5d9b
Showing with 3 additions and 1 deletion
+3 -1
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment