Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial commit of the OpenCL integrators and drivers by CPS. #4

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added SDIRK 4a integrator based upon ROS CL-threaded.
  • Loading branch information
stonecp committed Jun 2, 2017
commit fa880bf1d7266ea10cf27a80417ec9a02a148d81
11 changes: 5 additions & 6 deletions opencl/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
SUNDIALS_ROOT=$(SLASHOPT)/sundials/
SUNDIALS_ROOT=$(HOME)/kaust/sundials/2.5.0
TCHEM_ROOT=$(HOME)/kaust/tchem/TChem_v1.0
#SUNDIALS_ROOT=$(HOME)/sundials/

#CLINCPATH= $(AMDAPPSDKROOT)/include
@@ -16,15 +17,13 @@ endif
endif

CV= 0
#ifeq ($(shell [[ "$(cv)x" -eq "x" ]] && ( ! [[ $(cv) == 0 ]] && echo true) ), true)
ifneq ($(cv),)
ifneq ($(cv),0)
CV= 1
endif
endif

CL= 0
#ifeq ($(shell [[ "$(cv)x" -eq "x" ]] && ( ! [[ $(cv) == 0 ]] && echo true) ), true)
ifneq ($(cl),)
ifneq ($(cl),0)
CL= 1
@@ -97,8 +96,8 @@ ifneq ($(CV),0)
LDFLAGS+= -lsundials_cvodes -lsundials_nvecserial -L${SUNDIALS_ROOT}/lib
endif
ifneq ($(USE_TCHEM),0)
CFLAGS += -I$(SLASHOPT)/tchem/TChem_v0.2/include -D__ENABLE_TCHEM=1
LDFLAGS += -ltchem -L$(SLASHOPT)/tchem/TChem_v0.2/lib
CFLAGS += -I$(TCHEM_ROOT)/include -D__ENABLE_TCHEM=1
LDFLAGS += -ltchem -L$(TCHEM_ROOT)/lib
endif

#LDFLAGS+= -llapack
@@ -141,7 +140,7 @@ endif
AR = ar rv

EXEC = test_ck.exe
OBJS = cklib.o clock.o rk.o ros.o
OBJS = cklib.o clock.o rk.o ros.o sdirk.o
ifneq ($(CL),0)
OBJS += cl_driver.o
endif
Loading