| 1 | /* |
| 2 | * pdata.cpp |
| 3 | * |
| 4 | * Created on: Feb 5, 2016 |
| 5 | * Author: Pietro Incardona |
| 6 | */ |
| 7 | #include "pdata.hpp" |
| 8 | #include "SubdomainGraphNodes.hpp" |
| 9 | #include "memory/CudaMemory.cuh" |
| 10 | |
| 11 | template<> const std::string nm_v<10>::attributes::name[] = {"x" ,"migration" ,"computation" ,"global_id" ,"id" ,"sub_id" ,"proc_id" ,"id" ,"fake_v" }; |
| 12 | template<> const std::string nm_v<9>::attributes::name[] = {"x" ,"migration" ,"computation" ,"global_id" ,"id" ,"sub_id" ,"proc_id" ,"id" ,"fake_v" }; |
| 13 | template<> const std::string nm_v<7>::attributes::name[] = {"x" ,"migration" ,"computation" ,"global_id" ,"id" ,"sub_id" ,"proc_id" ,"id" ,"fake_v" }; |
| 14 | template<> const std::string nm_v<6>::attributes::name[] = {"x" ,"migration" ,"computation" ,"global_id" ,"id" ,"sub_id" ,"proc_id" ,"id" ,"fake_v" }; |
| 15 | template<> const std::string nm_v<5>::attributes::name[] = {"x" ,"migration" ,"computation" ,"global_id" ,"id" ,"sub_id" ,"proc_id" ,"id" ,"fake_v" }; |
| 16 | template<> const std::string nm_v<4>::attributes::name[] = {"x" ,"migration" ,"computation" ,"global_id" ,"id" ,"sub_id" ,"proc_id" ,"id" ,"fake_v" }; |
| 17 | template<> const std::string nm_v<3>::attributes::name[] = {"x" ,"migration" ,"computation" ,"global_id" ,"id" ,"sub_id" ,"proc_id" ,"id" ,"fake_v" }; |
| 18 | template<> const std::string nm_v<2>::attributes::name[] = {"x" ,"migration" ,"computation" ,"global_id" ,"id" ,"sub_id" ,"proc_id" ,"id" ,"fake_v" }; |
| 19 | template<> const std::string nm_v<1>::attributes::name[] = {"x" ,"migration" ,"computation" ,"global_id" ,"id" ,"sub_id" ,"proc_id" ,"id" ,"fake_v" }; |
| 20 | |
| 21 | |
| 22 | const std::string nm_e::attributes::name[] = {"communication" ,"srcgid" ,"dstgid" }; |
| 23 | const std::string nm_part_v::attributes::name[] = {"id" ,"sub_id" }; |
| 24 | const std::string nm_part_e::attributes::name[] = {"id" }; |
| 25 | |
| 26 | double tot_merge = 0.0; |
| 27 | double tot_loc_merge = 0.0; |
| 28 | double tot_sendrecv = 0.0; |
| 29 | double tot_pack = 0.0; |
| 30 | |