• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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/test/opencl
17    : requirements
18      <toolset>gcc:<cxxflags>-Wno-ignored-attributes
19      [ ac.check-library /clblas//clblas : <library>/clblas//clblas <library>/opencl//opencl : <build>no ]
20    ;
21
22test-suite ocl
23    : [ run prod_test.cpp ]
24      [ run elementwise_operations_test.cpp ]
25      [ run inner_prod_test.cpp ]
26      [ run outer_prod_test.cpp ]
27      [ run transposition_test.cpp ]
28      [ run norm_test.cpp ]
29      [ run norm2_test.cpp ]
30      [ run elementwise_operations_with_constants_test.cpp ]
31    ;
32