58 for (
unsigned int i = 0; i < 10; ++i)
83 NodeContainerType expression_nodes(2);
93 expression_nodes[0].lhs.vector_float = &vcl_vec3;
101 expression_nodes[0].rhs.node_index = 1;
111 expression_nodes[1].lhs.vector_float = &vcl_vec1;
121 expression_nodes[1].rhs.vector_float = &vcl_vec2;
132 std::cout << vec_addition << std::endl;
142 std::cout <<
"vcl_vec1: " << vcl_vec1 << std::endl;
143 std::cout <<
"vcl_vec2: " << vcl_vec2 << std::endl;
144 std::cout <<
"vcl_vec3: " << vcl_vec3 << std::endl;
149 std::cout <<
"!!!! TUTORIAL COMPLETED SUCCESSFULLY !!!!" << std::endl;
Implementation of the dense matrix class.
Some helper routines for reading/writing/printing scheduler expressions.
void execute(statement const &s)
std::vector< value_type > container_type
The vector type with operator-overloads and proxy classes is defined here. Linear algebra operations ...
Provides the datastructures for dealing with a single statement such as 'x = y + z;'.
The main class for representing a statement such as x = inner_prod(y,z); at runtime.
Implementation of the ViennaCL scalar class.