Jamfile 853 B

12345678910111213141516171819202122232425262728293031
  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/test/opencl
  14. : requirements
  15. <toolset>gcc:<cxxflags>-Wno-ignored-attributes
  16. [ ac.check-library /clblas//clblas : <library>/clblas//clblas <library>/opencl//opencl : <build>no ]
  17. ;
  18. test-suite ocl
  19. : [ run prod_test.cpp ]
  20. [ run elementwise_operations_test.cpp ]
  21. [ run inner_prod_test.cpp ]
  22. [ run outer_prod_test.cpp ]
  23. [ run transposition_test.cpp ]
  24. [ run norm_test.cpp ]
  25. [ run norm2_test.cpp ]
  26. [ run elementwise_operations_with_constants_test.cpp ]
  27. ;