dksbase use Algoruthms base class for fft, colimator physics and greens function
This commit is contained in:
@ -1,24 +1,36 @@
|
||||
SET (_SRCS
|
||||
OpenCLBase.cpp
|
||||
OpenCLFFT.cpp
|
||||
OpenCLChiSquare.cpp
|
||||
OpenCLCollimatorPhysics.cpp
|
||||
OpenCLChiSquareRuntime.cpp
|
||||
OpenCLGreensFunction.cpp
|
||||
)
|
||||
#dont include FFT, GreensFunction and CollimatorPhysics if clFFT and clRNG not found
|
||||
|
||||
SET (_HDRS
|
||||
OpenCLBase.h
|
||||
OpenCLFFT.h
|
||||
OpenCLChiSquare.h
|
||||
OpenCLCollimatorPhysics.h
|
||||
OpenCLChiSquareRuntime.h
|
||||
OpenCLGreensFunction.h
|
||||
)
|
||||
IF (ENABLE_AMD)
|
||||
SET (_SRCS
|
||||
OpenCLBase.cpp
|
||||
OpenCLFFT.cpp
|
||||
OpenCLChiSquare.cpp
|
||||
OpenCLCollimatorPhysics.cpp
|
||||
OpenCLChiSquareRuntime.cpp
|
||||
OpenCLGreensFunction.cpp
|
||||
)
|
||||
|
||||
#INCLUDE_DIRECTORIES (
|
||||
# ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
#)
|
||||
SET (_HDRS
|
||||
OpenCLBase.h
|
||||
OpenCLFFT.h
|
||||
OpenCLChiSquare.h
|
||||
OpenCLCollimatorPhysics.h
|
||||
OpenCLChiSquareRuntime.h
|
||||
OpenCLGreensFunction.h
|
||||
)
|
||||
ELSE (ENABLE_AMD)
|
||||
SET (_SRCS
|
||||
OpenCLBase.cpp
|
||||
OpenCLChiSquare.cpp
|
||||
OpenCLChiSquareRuntime.cpp
|
||||
)
|
||||
|
||||
SET (_HDRS
|
||||
OpenCLBase.h
|
||||
OpenCLChiSquare.h
|
||||
OpenCLChiSquareRuntime.h
|
||||
)
|
||||
ENDIF (ENABLE_AMD)
|
||||
|
||||
SET (_KERNELS
|
||||
OpenCLKernels/OpenCLChiSquare.cl
|
||||
|
Reference in New Issue
Block a user