Code quality: Cleaned directory folder, variable names and mingw compliance
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user