Expression Templates Library (ETL)
binary_op.hpp
Go to the documentation of this file.
1 //=======================================================================
2 // Copyright (c) 2014-2023 Baptiste Wicht
3 // Distributed under the terms of the MIT License.
4 // (See accompanying file LICENSE or copy at
5 // http://opensource.org/licenses/MIT)
6 //=======================================================================
7 
13 #pragma once
14 
15 #include <functional>
16 
17 #include "etl/math.hpp"
18 #include "etl/temporary.hpp"
19 
20 #ifdef ETL_CUBLAS_MODE
21 #include "etl/impl/cublas/cuda.hpp"
23 #include "etl/impl/cublas/axpy.hpp"
24 #include "etl/impl/cublas/scal.hpp"
25 #endif
26 
33 #include "etl/impl/egblas/axdy.hpp"
35 #include "etl/impl/egblas/axmy.hpp"
39 #include "etl/impl/egblas/axpy.hpp"
41 
45 
46 #include "etl/op/binary/plus.hpp"
47 #include "etl/op/binary/minus.hpp"
48 #include "etl/op/binary/mul.hpp"
49 #include "etl/op/binary/div.hpp"
50 #include "etl/op/binary/mod.hpp"
51 #include "etl/op/binary/equal.hpp"
52 #include "etl/op/binary/not_equal.hpp"
53 #include "etl/op/binary/less.hpp"
54 #include "etl/op/binary/less_equal.hpp"
55 #include "etl/op/binary/greater.hpp"
56 #include "etl/op/binary/greater_equal.hpp"
57 #include "etl/op/binary/logical_and.hpp"
58 #include "etl/op/binary/logical_or.hpp"
59 #include "etl/op/binary/logical_xor.hpp"
60 #include "etl/op/binary/min.hpp"
61 #include "etl/op/binary/max.hpp"
62 #include "etl/op/binary/one_if.hpp"
63 #include "etl/op/binary/ranged_noise.hpp"
64 #include "etl/op/binary/sigmoid_derivative.hpp"
65 #include "etl/op/binary/relu_derivative.hpp"
66 #include "etl/op/binary/pow.hpp"
EGBLAS wrappers for the scalar_mul operation.
EGBLAS wrappers for the apxdby operation.
EGBLAS wrappers for the axpby operation.
EGBLAS wrappers for the apxdbpy operation.
EGBLAS wrappers for the scalar_div operation.
CUBLAS wrappers for the axpy operation.
EGBLAS wrappers for the axdbpy operation.
EGBLAS wrappers for the scalar_add operation.
Utility functions for cublas.
EGBLAS wrappers for the axdy_3 operation.
EGBLAS wrappers for the apxdbpy operation.
EGBLAS wrappers for the axdy operation.
EGBLAS wrappers for the apxdby operation.
EGBLAS wrappers for the axpy operation.
EGBLAS wrappers for the axmy_3 operation.
EGBLAS wrappers for the axpby_3 operation.
EGBLAS wrappers for the axpy_3 operation.
EGBLAS wrappers for the axmy operation.
CUBLAS wrappers for the scal operation.
EGBLAS wrappers for the axdbpy operation.