Jamfile 746 B

123456789101112131415161718192021222324252627
  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. import ac ;
  8. # work around a bug in Boost.Build
  9. import ../../opencl ;
  10. import ../../clblas ;
  11. using opencl ;
  12. using clblas ;
  13. project boost/ublas/benchmarks/opencl
  14. : requirements
  15. <library>/boost/program_options//boost_program_options
  16. <toolset>gcc:<cxxflags>-Wno-ignored-attributes
  17. [ ac.check-library /clblas//clblas : <library>/clblas//clblas <library>/opencl//opencl : <build>no ]
  18. ;
  19. exe add : add.cpp ;
  20. exe mm_prod : mm_prod.cpp ;
  21. exe mv_prod : mv_prod.cpp ;
  22. exe inner_prod : inner_prod.cpp ;
  23. exe outer_prod : outer_prod.cpp ;