Code quality: Cleaned directory folder, variable names and mingw compliance

This commit is contained in:
Philippe Tillet
2015-07-21 13:27:48 -04:00
parent 7fdb8c0457
commit cbe930398e
17 changed files with 134 additions and 107 deletions

View File

@@ -5,12 +5,12 @@
#include <memory>
#include "isaac/model/import.hpp"
namespace ad = isaac;
namespace isc = isaac;
int main()
{
viennacl::vector<float> x(10000), y(10000), z(10000);
std::map<std::string, ad::tools::shared_ptr<ad::model> > models = ad::import("geforce_gt_540m.json");
std::map<std::string, isc::tools::shared_ptr<isc::model> > models = isc::import("geforce_gt_540m.json");
models["vector-axpy-float32"]->tune(viennacl::symbolic_expression(z, viennacl::op_assign(), x));
models["vector-axpy-float32"]->execute(viennacl::symbolic_expression(z, viennacl::op_assign(), x));
return EXIT_SUCCESS;