1# 2# Copyright (c) 2018 Stefan Seefeld 3# 4# Distributed under the Boost Software License, Version 1.0. 5# (See accompanying file LICENSE_1_0.txt or 6# copy at http://www.boost.org/LICENSE_1_0.txt) 7 8import ac ; 9 10# work around a bug in Boost.Build 11import ../../opencl ; 12import ../../clblas ; 13using opencl ; 14using clblas ; 15 16project boost/ublas/benchmarks/opencl 17 : requirements 18 <library>/boost/program_options//boost_program_options 19 <toolset>gcc:<cxxflags>-Wno-ignored-attributes 20 [ ac.check-library /clblas//clblas : <library>/clblas//clblas <library>/opencl//opencl : <build>no ] 21 ; 22 23exe add : add.cpp ; 24exe mm_prod : mm_prod.cpp ; 25exe mv_prod : mv_prod.cpp ; 26exe inner_prod : inner_prod.cpp ; 27exe outer_prod : outer_prod.cpp ; 28