]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
OpenCL tracker bug fix
authortbreitne <timo.gunther.breitner@cern.ch>
Tue, 18 Feb 2014 15:47:01 +0000 (16:47 +0100)
committertbreitne <timo.gunther.breitner@cern.ch>
Fri, 21 Feb 2014 08:56:55 +0000 (03:56 -0500)
explicitely link against libamdocl64.so

HLT/TPCLib/tracking-ca/cagpu/CMakelibAliHLTTPCCAGPUOpenCL.pkg

index f0a7c1e0aa01c6cb6a35608e139d3330495c6124..1fd4287b036097264fdbdfc5de6b045bfc281d85 100644 (file)
@@ -52,7 +52,7 @@ set ( CAGPUDIR TPCLib/tracking-ca/cagpu )
 # -- checks the correct vendor implementation (AMD)
 # -- builds binary code (blob) for the found platform(s)
 add_executable ( opencl_compiler ${CAGPUDIR}/makefiles/makefile_opencl_compiler.cpp )
-target_link_libraries ( opencl_compiler -L${AMDAPPSDKROOT}/lib/x86_64 OpenCL )
+target_link_libraries ( opencl_compiler -L${AMDAPPSDKROOT}/lib/x86_64 amdocl64 OpenCL )
 
 #convenience variables
 set (CL_SRC ${CMAKE_CURRENT_SOURCE_DIR}/${CAGPUDIR}/AliHLTTPCCAGPUTrackerOpenCL.cl )
@@ -98,7 +98,7 @@ set ( MODULE_DHDR )
 
 set ( EINCLUDE ${AMDAPPSDKROOT}/include HLT/${CAGPUDIR} HLT/${CAGPUDIR}/makefiles HLT/TPCLib/tracking-ca HLT/BASE )
 
-set ( ELIBS -L$(AMDAPPSDKROOT)/lib/x86_64 -lOpenCL )
+set ( ELIBS -L${AMDAPPSDKROOT}/lib/x86_64 -lamdocl64 -lOpenCL )
 
 include ("CMakehlt.conf")